2026-05-01 06:39 ftp://ftp.de.debian.org/debian/pool/main/b/btas/btas_1.0.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --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: 0fda84e (2026-05-01 02:32:52 +0200) count: 24 24 elapsed-time: 1.3 1.1 head-timing-info: old-timing-info: head results: BTAS-1.0.0/doc/examples/synopsis.cxx:87:10: style: Local variable 'v_uuuu' shadows outer variable [shadowVariable] BTAS-1.0.0/doc/examples/synopsis.cxx:31:8: note: Shadowed declaration BTAS-1.0.0/doc/examples/synopsis.cxx:87:10: note: Shadow variable BTAS-1.0.0/test/test.C:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] BTAS-1.0.0/test/test.C:51:34: style: Redundant initialization for 'r4'. The initialized value is overwritten before it is read. [redundantInitialization] BTAS-1.0.0/test/test.C:51:15: note: r4 is initialized BTAS-1.0.0/test/test.C:51:34: note: r4 is overwritten BTAS-1.0.0/test/test.C:52:34: style: Redundant initialization for 'r5'. The initialized value is overwritten before it is read. [redundantInitialization] BTAS-1.0.0/test/test.C:52:15: note: r5 is initialized BTAS-1.0.0/test/test.C:52:34: note: r5 is overwritten BTAS-1.0.0/test/test.C:53:34: style: Redundant initialization for 'r6'. The initialized value is overwritten before it is read. [redundantInitialization] BTAS-1.0.0/test/test.C:53:15: note: r6 is initialized BTAS-1.0.0/test/test.C:53:34: note: r6 is overwritten BTAS-1.0.0/test/test.C:54:34: style: Redundant initialization for 'r7'. The initialized value is overwritten before it is read. [redundantInitialization] BTAS-1.0.0/test/test.C:54:15: note: r7 is initialized BTAS-1.0.0/test/test.C:54:34: note: r7 is overwritten BTAS-1.0.0/test/test.C:241:26: style: Local variable 'range' shadows outer variable [shadowVariable] BTAS-1.0.0/test/test.C:160:24: note: Shadowed declaration BTAS-1.0.0/test/test.C:241:26: note: Shadow variable BTAS-1.0.0/test/test.C:243:14: style: Local variable 'Q' shadows outer variable [shadowVariable] BTAS-1.0.0/test/test.C:161:12: note: Shadowed declaration BTAS-1.0.0/test/test.C:243:14: note: Shadow variable BTAS-1.0.0/test/test.C:252:14: style: Local variable 'a' shadows outer variable [shadowVariable] BTAS-1.0.0/test/test.C:209:18: note: Shadowed declaration BTAS-1.0.0/test/test.C:252:14: note: Shadow variable BTAS-1.0.0/test/test.C:253:10: style: Local variable 'v' shadows outer variable [shadowVariable] BTAS-1.0.0/test/test.C:227:20: note: Shadowed declaration BTAS-1.0.0/test/test.C:253:10: note: Shadow variable BTAS-1.0.0/test/test.C:437:12: style: Local variable 'x' shadows outer variable [shadowVariable] BTAS-1.0.0/test/test.C:324:10: note: Shadowed declaration BTAS-1.0.0/test/test.C:437:12: note: Shadow variable BTAS-1.0.0/test/test_contract.C:37:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] BTAS-1.0.0/test/test_ta.C:170:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] BTAS-1.0.0/test/test_ta.C:167:10: style: Local variable 'c' shadows outer variable [shadowVariable] BTAS-1.0.0/test/test_ta.C:155:10: note: Shadowed declaration BTAS-1.0.0/test/test_ta.C:167:10: note: Shadow variable BTAS-1.0.0/test/test_ta.C:115:72: style: Parameter 't' can be declared as reference to const [constParameterReference] BTAS-1.0.0/test/test_tarray.C:27:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] BTAS-1.0.0/test/test_tensorfunc.C:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] BTAS-1.0.0/test/test_tensorfunc.C:83:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] BTAS-1.0.0/test/test_tensorfunc.C:125:10: style: Variable 'A(0,2,1)' is reassigned a value before the old one has been used. [redundantAssignment] BTAS-1.0.0/test/test_tensorfunc.C:115:10: note: A(0,2,1) is assigned BTAS-1.0.0/test/test_tensorfunc.C:125:10: note: A(0,2,1) is overwritten BTAS-1.0.0/test/test_tensorfunc.C:18:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] BTAS-1.0.0/test/test_tensorfunc.C:28:25: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] BTAS-1.0.0/test/test_tensorview.C:17:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] BTAS-1.0.0/test/test_tensorview.C:55:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] BTAS-1.0.0/unittest/test.h:8:4: error: #error "unit tests require BTAS_ASSERT_THROWS to be defined, define BTAS_ASSERT_THROWS cmake option (e.g. by adding -DBTAS_ASSERT_THROWS=ON to cmake command arguments)" [preprocessorErrorDirective] diff: DONE