2026-05-02 12:23 ftp://ftp.de.debian.org/debian/pool/main/h/hippomocks/hippomocks_5.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=microsoft_atl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 24 24 elapsed-time: 0.6 0.5 head-timing-info: old-timing-info: head results: hippomocks-5.0/HippoMocksTest/Framework.h:43:22: performance: Function parameter 'name' should be passed by const reference. [passedByValue] hippomocks-5.0/HippoMocksTest/Framework.cpp:14:10: style: Variable 'spinner' can be declared as const array [constVariable] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:7:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:8:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:9:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:15:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:22:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:23:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:32:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:37:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:43:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:49:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/is_virtual.cpp:55:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] hippomocks-5.0/HippoMocksTest/test_constref_params.cpp:14:15: style: The function 'func' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] hippomocks-5.0/HippoMocksTest/test_constref_params.cpp:9:15: note: Virtual function in base class hippomocks-5.0/HippoMocksTest/test_constref_params.cpp:14:15: note: Function in derived class hippomocks-5.0/HippoMocksTest/test_do.cpp:81:3: style: Class 'functorByVal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hippomocks-5.0/HippoMocksTest/test_do.cpp:20:64: performance: Function parameter 'arg' should be passed by const reference. [passedByValue] hippomocks-5.0/HippoMocksTest/test_except.cpp:35:2: style: Class 'SomeException' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] hippomocks-5.0/HippoMocksTest/test_inparam.cpp:61:2: warning:inconclusive: Possible null pointer dereference: teststring [nullPointer] hippomocks-5.0/HippoMocksTest/test_inparam.cpp:55:27: note: Assignment 'teststring=NULL', assigned value is 0 hippomocks-5.0/HippoMocksTest/test_inparam.cpp:61:2: note: Null pointer dereference hippomocks-5.0/HippoMocksTest/test_objectreturn.cpp:8:9: style: class member 'Argument::value' is never used. [unusedStructMember] hippomocks-5.0/HippoMocksTest/test_objectreturn.cpp:26:18: style: Variable 'arg' is assigned a value that is never used. [unreadVariable] hippomocks-5.0/HippoMocksTest/test_outparam.cpp:59:50: style: C-style pointer casting [cstyleCast] hippomocks-5.0/HippoMocksTest/test_zombie.cpp:21:3: error: Dereferencing 'iamock' after it is deallocated / released [deallocuse] hippomocks-5.0/HippoMocksTest/test_autoptr.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'X' [ctuOneDefinitionRuleViolation] hippomocks-5.0/HippoMocksTest/test_exception_quality.cpp:5:1: note: The one definition rule is violated, different classes/structs have the same name 'X' hippomocks-5.0/HippoMocksTest/test_autoptr.cpp:6:1: note: The one definition rule is violated, different classes/structs have the same name 'X' hippomocks-5.0/HippoMocksTest/test_nevercall.cpp:4:1: error: The one definition rule is violated, different classes/structs have the same name 'IR' [ctuOneDefinitionRuleViolation] hippomocks-5.0/HippoMocksTest/test_regression_arg_count.cpp:4:1: note: The one definition rule is violated, different classes/structs have the same name 'IR' hippomocks-5.0/HippoMocksTest/test_nevercall.cpp:4:1: note: The one definition rule is violated, different classes/structs have the same name 'IR' diff: DONE