2025-11-23 17:53 ftp://ftp.de.debian.org/debian/pool/main/r/r-bioc-genefilter/r-bioc-genefilter_1.88.0.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 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 33 33 elapsed-time: 0.1 0.2 head-timing-info: old-timing-info: head results: genefilter/src/pAUC.c:126:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimSymbol [valueFlowBailoutIncompleteVar] genefilter/src/nd.c:169:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] genefilter/src/nd.c:180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] genefilter/src/nd.c:212:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] genefilter/src/nd.c:230:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN [valueFlowBailoutIncompleteVar] genefilter/src/nd.c:265:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] genefilter/src/rowPAUCs.c:145:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimSymbol [valueFlowBailoutIncompleteVar] genefilter/src/half_range_mode.cpp:12:13: style: The scope of the variable 'w_prime' can be reduced. [variableScope] genefilter/src/half_range_mode.cpp:18:10: style: The scope of the variable 'lo' can be reduced. [variableScope] genefilter/src/half_range_mode.cpp:18:14: style: The scope of the variable 'hi' can be reduced. [variableScope] genefilter/src/half_range_mode.cpp:8:48: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] genefilter/src/half_range_mode.cpp:13:11: style: Variable 'last' can be declared as pointer to const [constVariablePointer] genefilter/src/half_range_mode.cpp:117:55: style: Parameter 'beta' can be declared as pointer to const [constParameterPointer] genefilter/src/half_range_mode.cpp:117:66: style: Parameter 'diag' can be declared as pointer to const [constParameterPointer] genefilter/src/half_range_mode.cpp:54:78: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] genefilter/src/nd.c:57:76: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] genefilter/src/nd.c:98:49: style: Parameter 'wval' can be declared as pointer to const. However it seems that 'gf_correlation' is a callback function, if 'wval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] genefilter/src/nd.c:321:12: note: You might need to cast the function pointer here genefilter/src/nd.c:98:49: note: Parameter 'wval' can be declared as pointer to const genefilter/src/nd.c:150:47: style: Parameter 'wval' can be declared as pointer to const. However it seems that 'gf_euclidean' is a callback function, if 'wval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] genefilter/src/nd.c:309:12: note: You might need to cast the function pointer here genefilter/src/nd.c:150:47: note: Parameter 'wval' can be declared as pointer to const genefilter/src/nd.c:174:45: style: Parameter 'wval' can be declared as pointer to const. However it seems that 'gf_maximum' is a callback function, if 'wval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] genefilter/src/nd.c:312:12: note: You might need to cast the function pointer here genefilter/src/nd.c:174:45: note: Parameter 'wval' can be declared as pointer to const genefilter/src/nd.c:197:47: style: Parameter 'wval' can be declared as pointer to const. However it seems that 'gf_manhattan' is a callback function, if 'wval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] genefilter/src/nd.c:315:12: note: You might need to cast the function pointer here genefilter/src/nd.c:197:47: note: Parameter 'wval' can be declared as pointer to const genefilter/src/nd.c:218:46: style: Parameter 'wval' can be declared as pointer to const. However it seems that 'gf_canberra' is a callback function, if 'wval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] genefilter/src/nd.c:318:12: note: You might need to cast the function pointer here genefilter/src/nd.c:218:46: note: Parameter 'wval' can be declared as pointer to const genefilter/src/nd.c:243:49: style: Parameter 'wval' can be declared as pointer to const. However it seems that 'gf_dist_binary' is a callback function, if 'wval' is declared with const you might also need to cast function pointer(s). [constParameterCallback] genefilter/src/nd.c:324:12: note: You might need to cast the function pointer here genefilter/src/nd.c:243:49: note: Parameter 'wval' can be declared as pointer to const genefilter/src/nd.c:276:24: style: Parameter 'nInterest' can be declared as pointer to const [constParameterPointer] genefilter/src/nd.c:277:11: style: Parameter 'method' can be declared as pointer to const [constParameterPointer] genefilter/src/rowttests.c:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NaInt [valueFlowBailoutIncompleteVar] genefilter/src/rowttests.c:151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimSymbol [valueFlowBailoutIncompleteVar] genefilter/src/rowPAUCs.c:17:24: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] genefilter/src/rowPAUCs.c:17:56: style: Parameter 'cutp' can be declared as pointer to const [constParameterPointer] genefilter/src/rowPAUCs.c:18:14: style: Parameter 'truth' can be declared as pointer to const [constParameterPointer] genefilter/src/pAUC.c:140:36: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] genefilter/src/pAUC.c:81:7: style: Variable 'd' is assigned a value that is never used. [unreadVariable] genefilter/src/rowttests.c:20:29: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] genefilter/src/rowttests.c:20:37: style: Parameter 'fac' can be declared as pointer to const [constParameterPointer] diff: DONE