2024-04-21 17:16 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-amelia/r-cran-amelia_1.8.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.14.0 head-info: ea2e716 (2024-04-21 15:59:20 +0200) count: 12 12 elapsed-time: 0.4 0.4 head-timing-info: old-timing-info: head results: Amelia/src/init.c:19:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] Amelia/src/em.cpp:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rcout [valueFlowBailoutIncompleteVar] Amelia/src/em.cpp:304:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps [valueFlowBailoutIncompleteVar] Amelia/src/em.cpp:485:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inf [valueFlowBailoutIncompleteVar] Amelia/src/em.cpp:513:33: style:inconclusive: Boolean expression 'arma::accu(left)>0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] Amelia/src/em.cpp:43:7: style: The scope of the variable 'npr' can be reduced. [variableScope] Amelia/src/em.cpp:43:12: style: The scope of the variable 'knr' can be reduced. [variableScope] Amelia/src/em.cpp:345:7: style: The scope of the variable 'npr' can be reduced. [variableScope] Amelia/src/em.cpp:345:12: style: The scope of the variable 'knr' can be reduced. [variableScope] Amelia/src/em.cpp:493:15: style: The scope of the variable 'bdvar' can be reduced. [variableScope] Amelia/src/em.cpp:8:57: style:inconclusive: Function 'emcore' argument 5 names different: declaration 'is' definition 'ivec'. [funcArgNamesDifferent] Amelia/src/em.h:17:68: note: Function 'emcore' argument 5 names different: declaration 'is' definition 'ivec'. Amelia/src/em.cpp:8:57: note: Function 'emcore' argument 5 names different: declaration 'is' definition 'ivec'. Amelia/src/em.cpp:8:92: style:inconclusive: Function 'emcore' argument 8 names different: declaration 'emburn' definition 'emburns'. [funcArgNamesDifferent] Amelia/src/em.h:17:101: note: Function 'emcore' argument 8 names different: declaration 'emburn' definition 'emburns'. Amelia/src/em.cpp:8:92: note: Function 'emcore' argument 8 names different: declaration 'emburn' definition 'emburns'. diff: DONE