2026-05-04 19:24 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-truncnorm/r-cran-truncnorm_1.0-9.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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 46 46 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: truncnorm/src/exports.c:29:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] truncnorm/src/rtruncnorm.c:73:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] truncnorm/src/rtruncnorm.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] truncnorm/src/rtruncnorm.c:104:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] truncnorm/src/rtruncnorm.c:134:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] truncnorm/src/rtruncnorm.c:170:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] truncnorm/src/rtruncnorm.c:172:3: style: Variable 'a' can be declared as pointer to const [constVariablePointer] truncnorm/src/rtruncnorm.c:173:3: style: Variable 'b' can be declared as pointer to const [constVariablePointer] truncnorm/src/rtruncnorm.c:174:3: style: Variable 'mean' can be declared as pointer to const [constVariablePointer] truncnorm/src/rtruncnorm.c:175:3: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] truncnorm/src/rtruncnorm.c:105:21: style: Variable 'u' is assigned a value that is never used. [unreadVariable] truncnorm/src/truncnorm.c:45:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] truncnorm/src/truncnorm.c:61:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] truncnorm/src/truncnorm.c:84:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] truncnorm/src/truncnorm.c:91:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] truncnorm/src/truncnorm.c:165:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] truncnorm/src/truncnorm.c:207:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] truncnorm/src/truncnorm.c:239:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] truncnorm/src/truncnorm.c:301:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] truncnorm/src/truncnorm.c:339:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] truncnorm/src/truncnorm.c:151:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:157:3: style: Variable 'x' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:158:3: style: Variable 'a' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:159:3: style: Variable 'b' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:160:3: style: Variable 'mean' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:161:3: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:199:3: style: Variable 'q' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:200:3: style: Variable 'a' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:201:3: style: Variable 'b' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:202:3: style: Variable 'mean' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:203:3: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:231:3: style: Variable 'p' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:232:3: style: Variable 'a' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:233:3: style: Variable 'b' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:234:3: style: Variable 'mean' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:235:3: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:294:3: style: Variable 'a' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:295:3: style: Variable 'b' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:296:3: style: Variable 'mean' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:297:3: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:332:3: style: Variable 'a' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:333:3: style: Variable 'b' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:334:3: style: Variable 'mean' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:335:3: style: Variable 'sd' can be declared as pointer to const [constVariablePointer] truncnorm/src/truncnorm.c:121:19: style: Variable 'cd' is assigned a value that is never used. [unreadVariable] truncnorm/src/zeroin.c:136:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] diff: DONE