2026-07-25 04:47 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-bayesm/r-cran-bayesm_3.1-7+dfsg.orig.tar.xz 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 -j96 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.4.0 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.21.0 head-info: 1ef5ef3 (2026-07-24 19:54:54 +0200) count: 163 163 elapsed-time: 0.5 0.2 head-timing-info: old-timing-info: head results: bayesm/src/functionTiming.cpp:10:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rcout [valueFlowBailoutIncompleteVar] bayesm/src/functionTiming.cpp:20:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rcout [valueFlowBailoutIncompleteVar] bayesm/src/functionTiming.cpp:30:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rcout [valueFlowBailoutIncompleteVar] bayesm/src/rbprobitGibbs_rcpp_loop.cpp:48:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/clusterMix_rcpp_loop.cpp:88:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rcout [valueFlowBailoutIncompleteVar] bayesm/src/rmixture_rcpp.cpp:42:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/ghkvec_rcpp.cpp:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bayesm/src/ghkvec_rcpp.cpp:98:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/ghkvec_rcpp.cpp:168:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rcout [valueFlowBailoutIncompleteVar] bayesm/src/rnmixGibbs_rcpp_loop.cpp:34:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/rmnlIndepMetrop_rcpp_loop.cpp:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/rivgibbs_rcpp_loop.cpp:89:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/runiregGibbs_rcpp_loop.cpp:64:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/rhierLinearModel_rcpp_loop.cpp:105:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] bayesm/src/rhierLinearMixture_rcpp_loop.cpp:73:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/runireg_rcpp_loop.cpp:64:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/rmvpGibbs_rcpp_loop.cpp:102:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/rmnpGibbs_rcpp_loop.cpp:110:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/functionTiming.cpp:15:10: style: Local variable 'buf' shadows outer variable [shadowVariable] bayesm/src/functionTiming.cpp:6:6: note: Shadowed variable bayesm/src/functionTiming.cpp:15:10: note: Shadow local variable bayesm/src/functionTiming.cpp:25:10: style: Local variable 'buf' shadows outer variable [shadowVariable] bayesm/src/functionTiming.cpp:6:6: note: Shadowed variable bayesm/src/functionTiming.cpp:25:10: note: Shadow local variable bayesm/src/rbprobitGibbs_rcpp_loop.cpp:25:7: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/rsurGibbs_rcpp_loop.cpp:90:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] bayesm/src/rnegbinRw_rcpp_loop.cpp:87:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/rhierMnlRwMixture_rcpp_loop.cpp:179:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/RcppExports.cpp:49:1: error: There is an unknown macro here somewhere. Configuration is required. If END_RCPP is a macro then please configure it. [unknownMacro] bayesm/src/rnmixGibbs_rcpp_loop.cpp:12:7: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/clusterMix_rcpp_loop.cpp:31:7: style: The scope of the variable 'count' can be reduced. [variableScope] bayesm/src/rmixGibbs_rcpp.cpp:79:10: style: The scope of the variable 'logprod' can be reduced. [variableScope] bayesm/src/rordprobitGibbs_rcpp_loop.cpp:198:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/trunNorm.cpp:77:6: style: Variable 'z' is reassigned a value before the old one has been used. [redundantAssignment] bayesm/src/trunNorm.cpp:74:8: note: z is assigned bayesm/src/trunNorm.cpp:77:6: note: z is overwritten bayesm/src/trunNorm.cpp:16:12: style: The scope of the variable 'e' can be reduced. [variableScope] bayesm/src/trunNorm.cpp:16:14: style: The scope of the variable 'e1' can be reduced. [variableScope] bayesm/src/trunNorm.cpp:45:10: style: The scope of the variable 'candz' can be reduced. [variableScope] bayesm/src/rnmixGibbs_rcpp_loop.cpp:12:13: style: Variable 'mkeep' is assigned a value that is never used. [unreadVariable] bayesm/src/runiregGibbs_rcpp_loop.cpp:30:7: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/runiregGibbs_rcpp_loop.cpp:31:10: style: The scope of the variable 's' can be reduced. [variableScope] bayesm/src/rmnlIndepMetrop_rcpp_loop.cpp:11:7: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/rmnlIndepMetrop_rcpp_loop.cpp:19:10: style: The scope of the variable 'cloglike' can be reduced. [variableScope] bayesm/src/rmnlIndepMetrop_rcpp_loop.cpp:19:20: style: The scope of the variable 'clpost' can be reduced. [variableScope] bayesm/src/rmnlIndepMetrop_rcpp_loop.cpp:19:28: style: The scope of the variable 'climp' can be reduced. [variableScope] bayesm/src/rmnlIndepMetrop_rcpp_loop.cpp:19:35: style: The scope of the variable 'ldiff' can be reduced. [variableScope] bayesm/src/rmnlIndepMetrop_rcpp_loop.cpp:19:42: style: The scope of the variable 'alpha' can be reduced. [variableScope] bayesm/src/runireg_rcpp_loop.cpp:30:7: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/runireg_rcpp_loop.cpp:31:10: style: The scope of the variable 's' can be reduced. [variableScope] bayesm/src/runireg_rcpp_loop.cpp:31:13: style: The scope of the variable 'sigmasq' can be reduced. [variableScope] bayesm/src/rmnlIndepMetrop_rcpp_loop.cpp:11:13: style: Variable 'mkeep' is assigned a value that is never used. [unreadVariable] bayesm/src/rsurGibbs_rcpp_loop.cpp:47:12: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/rhierLinearModel_rcpp_loop.cpp:60:12: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/rhierNegbinRw_rcpp_loop.cpp:14:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X [valueFlowBailoutIncompleteVar] bayesm/src/rhierNegbinRw_rcpp_loop.cpp:110:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/rnegbinRw_rcpp_loop.cpp:40:10: style: The scope of the variable 'ldiff' can be reduced. [variableScope] bayesm/src/rnegbinRw_rcpp_loop.cpp:40:17: style: The scope of the variable 'acc' can be reduced. [variableScope] bayesm/src/rnegbinRw_rcpp_loop.cpp:40:28: style: The scope of the variable 'logalphac' can be reduced. [variableScope] bayesm/src/rnegbinRw_rcpp_loop.cpp:40:39: style: The scope of the variable 'oldlpostalpha' can be reduced. [variableScope] bayesm/src/rnegbinRw_rcpp_loop.cpp:40:54: style: The scope of the variable 'oldlpostbeta' can be reduced. [variableScope] bayesm/src/rnegbinRw_rcpp_loop.cpp:40:68: style: The scope of the variable 'clpostbeta' can be reduced. [variableScope] bayesm/src/rnegbinRw_rcpp_loop.cpp:40:80: style: The scope of the variable 'clpostalpha' can be reduced. [variableScope] bayesm/src/rnegbinRw_rcpp_loop.cpp:41:7: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/bayesBLP_rcpp_loop.cpp:121:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/bayesBLP_rcpp_loop.cpp:216:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/bayesBLP_rcpp_loop.cpp:323:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bayesm/src/rmvpGibbs_rcpp_loop.cpp:36:7: style: The scope of the variable 'ind' can be reduced. [variableScope] bayesm/src/rmvpGibbs_rcpp_loop.cpp:74:7: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/rmvpGibbs_rcpp_loop.cpp:74:13: style: Variable 'mkeep' is assigned a value that is never used. [unreadVariable] bayesm/src/rmnpGibbs_rcpp_loop.cpp:11:9: style: The scope of the variable 'bound' can be reduced. [variableScope] bayesm/src/rmnpGibbs_rcpp_loop.cpp:43:7: style: The scope of the variable 'ind' can be reduced. [variableScope] bayesm/src/rmnpGibbs_rcpp_loop.cpp:83:7: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/rmnpGibbs_rcpp_loop.cpp:83:13: style: Variable 'mkeep' is assigned a value that is never used. [unreadVariable] bayesm/src/rhierLinearMixture_rcpp_loop.cpp:17:7: style: The scope of the variable 'mkeep' can be reduced. [variableScope] bayesm/src/utilityFunctions.cpp:195:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] bayesm/src/utilityFunctions.cpp:221:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] bayesm/src/utilityFunctions.cpp:363:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mu [valueFlowBailoutIncompleteVar] bayesm/src/utilityFunctions.cpp:474:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/utilityFunctions.cpp:684:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable all [valueFlowBailoutIncompleteVar] bayesm/src/ghkvec_rcpp.cpp:71:25: style: Condition 'f!=number' is always true [knownConditionTrueFalse] bayesm/src/ghkvec_rcpp.cpp:70:18: note: Assuming that condition 'f