2024-04-12 03:33 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-matrixstats/r-cran-matrixstats_1.2.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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-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.13.0 head-info: a41ef74 (2024-04-11 22:48:57 +0200) count: 161 72 elapsed-time: 13.6 29.7 head-timing-info: old-timing-info: head results: matrixStats/src/000.init.c:50:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/allocMatrix2.c:180:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimSymbol [valueFlowBailoutIncompleteVar] matrixStats/src/000.utils.h:100:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/000.utils.h:127:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/000.utils.h:134:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/anyMissing_lowlevel_template.h:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/anyMissing.c:22:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/binCounts.c:14:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/allocMatrix2.c:132:10: style: The if condition is the same as the previous if condition [duplicateCondition] matrixStats/src/allocMatrix2.c:131:10: note: First condition matrixStats/src/allocMatrix2.c:132:10: note: Second condition matrixStats/src/binMeans_lowlevel_template.h:60:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NaN [valueFlowBailoutIncompleteVar] matrixStats/src/binMeans.c:13:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/binCounts_lowlevel_template.h:28:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] matrixStats/src/binCounts_lowlevel_template.h:28:50: style: Parameter 'bx' can be declared as pointer to const [constParameterPointer] matrixStats/src/binCounts_lowlevel_template.h:29:15: style: Variable 'ii' is assigned a value that is never used. [unreadVariable] matrixStats/src/colOrderStats_lowlevel_template.h:42:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/colOrderStats.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/colOrderStats_lowlevel_template.h:32:60: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] matrixStats/src/diff2_lowlevel_template.h:30:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/diff2.c:14:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/binMeans.c:63:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] matrixStats/src/binMeans_lowlevel_template.h:29:26: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] matrixStats/src/binMeans_lowlevel_template.h:29:50: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] matrixStats/src/binMeans_lowlevel_template.h:29:74: style: Parameter 'bx' can be declared as pointer to const [constParameterPointer] matrixStats/src/binMeans_lowlevel_template.h:30:15: style: Variable 'ii' is assigned a value that is never used. [unreadVariable] matrixStats/src/indexByRow.c:87:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] matrixStats/src/indexByRow.c:10:44: style: Parameter 'idxs_ptr' can be declared as pointer to const [constParameterPointer] matrixStats/src/colCounts_lowlevel_template.h:39:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/colCounts_lowlevel_template.h:45:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/colCounts_lowlevel_template.h:39:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] matrixStats/src/colCounts.c:18:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] matrixStats/src/colCounts.c:137:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/logSumExp_lowlevel_template.h:40:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/colRanges_lowlevel_template.h:45:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/colRanges.c:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/diff2_lowlevel_template.h:42:35: style: Parameter 'idxs' can be declared as pointer to const [constParameterPointer] matrixStats/src/mean2_lowlevel_template.h:32:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NaN [valueFlowBailoutIncompleteVar] matrixStats/src/mean2.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] matrixStats/src/mean2_lowlevel_template.h:28:32: style: Parameter 'idxs' can be declared as pointer to const [constParameterPointer] matrixStats/src/naming.c:12:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] matrixStats/src/naming.c:36:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] matrixStats/src/naming.c:68:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] matrixStats/src/naming.c:140:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] matrixStats/src/naming.c:210:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] matrixStats/src/logSumExp_lowlevel_template.h:36:46: style: Parameter 'idxs' can be declared as pointer to const [constParameterPointer] matrixStats/src/productExpSumLog_lowlevel_template.h:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/productExpSumLog_lowlevel_template.h:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] matrixStats/src/productExpSumLog.c:12:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/naming.c:3:84: style: Parameter 'subscripts' can be declared as pointer to const [constParameterPointer] matrixStats/src/naming.c:29:110: style: Parameter 'subscripts' can be declared as pointer to const [constParameterPointer] matrixStats/src/naming.c:129:38: style: Parameter 'crows' can be declared as pointer to const [constParameterPointer] matrixStats/src/naming.c:129:90: style: Parameter 'ccols' can be declared as pointer to const [constParameterPointer] matrixStats/src/naming.c:199:33: style: Parameter 'crows' can be declared as pointer to const [constParameterPointer] matrixStats/src/naming.c:199:66: style: Parameter 'ccols' can be declared as pointer to const [constParameterPointer] matrixStats/src/psortKM.c:94:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] matrixStats/src/psortKM.c:20:24: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowCumMinMaxs_lowlevel_template.h:57:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/rowCummaxs.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowCounts_lowlevel_template.h:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/rowCounts_lowlevel_template.h:47:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/rowCounts_lowlevel_template.h:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] matrixStats/src/rowCounts.c:18:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowCumMinMaxs_lowlevel_template.h:36:35: style: Parameter 'rows' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowCumMinMaxs_lowlevel_template.h:37:35: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowCumMinMaxs_lowlevel_template.h:85:15: style: Variable 'value' is assigned a value that is never used. [unreadVariable] matrixStats/src/rowCumMinMaxs_lowlevel_template.h:176:15: style: Variable 'value' is assigned a value that is never used. [unreadVariable] matrixStats/src/rowCumMinMaxs_lowlevel_template.h:208:19: style: Variable 'value' is assigned a value that is never used. [unreadVariable] matrixStats/src/rowCummins.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/colRanges.c:16:8: style: Variable 'mins' can be declared as pointer to const [constVariablePointer] matrixStats/src/colRanges.c:16:15: style: Variable 'maxs' can be declared as pointer to const [constVariablePointer] matrixStats/src/colRanges_lowlevel_template.h:32:35: style: Parameter 'rows' can be declared as pointer to const [constParameterPointer] matrixStats/src/colRanges_lowlevel_template.h:33:35: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/colRanges.c:18:32: style: Variable 'all_counted' is assigned a value that is never used. [unreadVariable] matrixStats/src/rowCumprods_lowlevel_template.h:61:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/rowCumprods.c:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowCumsums_lowlevel_template.h:67:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/rowCumsums.c:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowCumprods_lowlevel_template.h:31:35: style: Parameter 'rows' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowCumprods_lowlevel_template.h:32:35: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowDiffs_lowlevel_template.h:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/rowDiffs_lowlevel_template.h:116:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/rowDiffs.c:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowCumsums_lowlevel_template.h:31:35: style: Parameter 'rows' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowCumsums_lowlevel_template.h:32:35: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowLogSumExp_lowlevel_template.h:30:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] matrixStats/src/rowLogSumExp.c:20:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowDiffs_lowlevel_template.h:45:48: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowDiffs_lowlevel_template.h:87:51: style: Parameter 'rows' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowDiffs_lowlevel_template.h:88:51: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowMads_lowlevel_template.h:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/rowMeans2_lowlevel_template.h:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/rowMads.c:21:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowMeans2.c:20:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowCounts_lowlevel_template.h:26:35: style: Parameter 'rows' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowCounts_lowlevel_template.h:27:35: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowMedians_lowlevel_template.h:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/rowMedians.c:20:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowMads_lowlevel_template.h:97:20: style: Variable 'rowIdx' is reassigned a value before the old one has been used. [redundantAssignment] matrixStats/src/rowMads_lowlevel_template.h:95:24: note: rowIdx is assigned matrixStats/src/rowMads_lowlevel_template.h:97:20: note: rowIdx is overwritten matrixStats/src/rowMads_lowlevel_template.h:243:20: style: Variable 'rowIdx' is reassigned a value before the old one has been used. [redundantAssignment] matrixStats/src/rowMads_lowlevel_template.h:241:24: note: rowIdx is assigned matrixStats/src/rowMads_lowlevel_template.h:243:20: note: rowIdx is overwritten matrixStats/src/rowMads_lowlevel_template.h:34:35: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowMads_lowlevel_template.h:64:9: style: Variable 'value' is assigned a value that is never used. [unreadVariable] matrixStats/src/colCounts_lowlevel_template.h:26:35: style: Parameter 'rows' can be declared as pointer to const [constParameterPointer] matrixStats/src/colCounts_lowlevel_template.h:27:35: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowOrderStats_lowlevel_template.h:43:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/rowOrderStats.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowMeans2_lowlevel_template.h:65:14: style: Variable 'rowIdx' is reassigned a value before the old one has been used. [redundantAssignment] matrixStats/src/rowMeans2_lowlevel_template.h:63:18: note: rowIdx is assigned matrixStats/src/rowMeans2_lowlevel_template.h:65:14: note: rowIdx is overwritten matrixStats/src/rowMeans2_lowlevel_template.h:19:35: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowRanksWithTies_lowlevel_template.h:135:0: error: failed to expand 'X_ISNAN', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] matrixStats/src/rowOrderStats_lowlevel_template.h:33:60: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowOrderStats_lowlevel_template.h:34:67: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowMedians_lowlevel_template.h:92:20: style: Variable 'rowIdx' is reassigned a value before the old one has been used. [redundantAssignment] matrixStats/src/rowMedians_lowlevel_template.h:90:24: note: rowIdx is assigned matrixStats/src/rowMedians_lowlevel_template.h:92:20: note: rowIdx is overwritten matrixStats/src/rowMedians_lowlevel_template.h:33:35: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowMedians_lowlevel_template.h:60:9: style: Variable 'value' is assigned a value that is never used. [unreadVariable] matrixStats/src/signTabulate_lowlevel_template.h:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/signTabulate_lowlevel_template.h:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_PosInf [valueFlowBailoutIncompleteVar] matrixStats/src/signTabulate.c:12:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowSums2_lowlevel_template.h:30:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/rowSums2.c:21:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] matrixStats/src/rowVars_lowlevel_template.h:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/rowVars.c:21:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] matrixStats/src/signTabulate_lowlevel_template.h:49:19: style: Condition 'xi==0' is always true [knownConditionTrueFalse] matrixStats/src/signTabulate_lowlevel_template.h:44:19: note: Assuming that condition 'xi<0' is not redundant matrixStats/src/signTabulate_lowlevel_template.h:39:19: note: Assuming that condition 'xi>0' is not redundant matrixStats/src/signTabulate_lowlevel_template.h:49:19: note: Condition 'xi==0' is always true matrixStats/src/sum2_lowlevel_template.h:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/sum2.c:13:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/sum2_lowlevel_template.h:27:32: style: Parameter 'idxs' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowRanges_lowlevel_template.h:43:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/rowRanges.c:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/validateIndices_lowlevel_template.h:29:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/validateIndices_lowlevel_template.h:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/validateIndices.c:16:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/validateIndices.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/validateIndices.c:138:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] matrixStats/src/validateIndices.c:11:36: style: Parameter 'idxs' can be declared as pointer to const [constParameterPointer] matrixStats/src/validateIndices.c:142:13: style: Variable 'cidxs' can be declared as pointer to const [constVariablePointer] matrixStats/src/validateIndices_lowlevel_template.h:38:67: style: Parameter 'idxs' can be declared as pointer to const [constParameterPointer] matrixStats/src/weightedMean_lowlevel_template.h:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NaN [valueFlowBailoutIncompleteVar] matrixStats/src/weightedMean.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] matrixStats/src/rowSums2_lowlevel_template.h:65:20: style: Variable 'rowIdx' is reassigned a value before the old one has been used. [redundantAssignment] matrixStats/src/rowSums2_lowlevel_template.h:63:24: note: rowIdx is assigned matrixStats/src/rowSums2_lowlevel_template.h:65:20: note: rowIdx is overwritten matrixStats/src/rowSums2_lowlevel_template.h:19:29: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/rowVars_lowlevel_template.h:80:18: style: Variable 'rowIdx' is reassigned a value before the old one has been used. [redundantAssignment] matrixStats/src/rowVars_lowlevel_template.h:78:22: note: rowIdx is assigned matrixStats/src/rowVars_lowlevel_template.h:80:18: note: rowIdx is overwritten matrixStats/src/rowVars_lowlevel_template.h:32:82: style: Parameter 'cols' can be declared as pointer to const [constParameterPointer] matrixStats/src/weightedMedian_lowlevel_template.h:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] matrixStats/src/weightedMedian.c:15:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] matrixStats/src/rowRanges.c:16:8: style: Variable 'mins' can be declared as pointer to const [constVariablePointer] matrixStats/src/rowRanges.c:16:15: style: Variable 'maxs' can be declared as pointer to const [constVariablePointer] matrixStats/src/rowRanges.c:18:32: style: Variable 'all_counted' is assigned a value that is never used. [unreadVariable] matrixStats/src/x_OP_y_lowlevel_template.h:12:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:21:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:115:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:15:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:23:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:33:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:36:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:48:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:66:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:69:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y.c:6:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] matrixStats/src/x_OP_y_lowlevel_template.h:81:35: style: Parameter 'xrows' can be declared as pointer to const [constParameterPointer] matrixStats/src/x_OP_y_lowlevel_template.h:82:35: style: Parameter 'xcols' can be declared as pointer to const [constParameterPointer] matrixStats/src/x_OP_y_lowlevel_template.h:83:35: style: Parameter 'yidxs' can be declared as pointer to const [constParameterPointer] diff: head matrixStats/src/000.utils.h:127:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/000.utils.h:134:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/anyMissing.c:22:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/anyMissing_lowlevel_template.h:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/binCounts.c:14:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/binMeans.c:13:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/binMeans_lowlevel_template.h:60:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NaN [valueFlowBailoutIncompleteVar] head matrixStats/src/colCounts.c:137:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/colCounts.c:18:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] 2.13.0 matrixStats/src/colCounts.c:53:11: style: Local variable 'count' shadows outer function [shadowFunction] matrixStats/src/colCounts.c:95:6: note: Shadowed declaration matrixStats/src/colCounts.c:53:11: note: Shadow variable 2.13.0 matrixStats/src/colCounts_lowlevel_template.h:31:12: style: Local variable 'count' shadows outer function [shadowFunction] matrixStats/src/colCounts.c:95:6: note: Shadowed declaration matrixStats/src/colCounts_lowlevel_template.h:31:12: note: Shadow variable head matrixStats/src/colCounts_lowlevel_template.h:39:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/colCounts_lowlevel_template.h:39:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] head matrixStats/src/colCounts_lowlevel_template.h:45:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/colOrderStats.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/colOrderStats_lowlevel_template.h:42:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/colRanges.c:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/colRanges.c:16:15: style: Variable 'maxs' can be declared as pointer to const [constVariablePointer] head matrixStats/src/colRanges.c:16:8: style: Variable 'mins' can be declared as pointer to const [constVariablePointer] head matrixStats/src/colRanges_lowlevel_template.h:45:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/diff2.c:14:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/diff2_lowlevel_template.h:30:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/logSumExp_lowlevel_template.h:40:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/mean2.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] head matrixStats/src/mean2_lowlevel_template.h:32:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NaN [valueFlowBailoutIncompleteVar] head matrixStats/src/naming.c:140:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] head matrixStats/src/naming.c:210:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] head matrixStats/src/naming.c:36:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/naming.c:68:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] head matrixStats/src/productExpSumLog.c:12:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/productExpSumLog_lowlevel_template.h:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/productExpSumLog_lowlevel_template.h:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] 2.13.0 matrixStats/src/productExpSumLog_lowlevel_template.h:78:14: style: Condition 'hasZero' is always false [knownConditionTrueFalse] matrixStats/src/productExpSumLog_lowlevel_template.h:32:17: note: Assignment 'hasZero=0', assigned value is 0 matrixStats/src/productExpSumLog_lowlevel_template.h:68:27: note: Assuming condition is false matrixStats/src/productExpSumLog_lowlevel_template.h:78:14: note: Condition 'hasZero' is always false head matrixStats/src/psortKM.c:94:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCounts.c:18:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCounts_lowlevel_template.h:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCounts_lowlevel_template.h:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCounts_lowlevel_template.h:47:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCumMinMaxs_lowlevel_template.h:57:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCummaxs.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCummins.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCumprods.c:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCumprods_lowlevel_template.h:61:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCumsums.c:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowCumsums_lowlevel_template.h:67:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/rowDiffs.c:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowDiffs_lowlevel_template.h:116:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/rowDiffs_lowlevel_template.h:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/rowLogSumExp.c:20:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowLogSumExp_lowlevel_template.h:30:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] head matrixStats/src/rowMads.c:21:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowMads_lowlevel_template.h:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/rowMeans2.c:20:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowMeans2_lowlevel_template.h:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/rowMedians.c:20:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowMedians_lowlevel_template.h:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/rowOrderStats.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowOrderStats_lowlevel_template.h:43:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/rowRanges.c:15:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowRanges.c:16:15: style: Variable 'maxs' can be declared as pointer to const [constVariablePointer] head matrixStats/src/rowRanges.c:16:8: style: Variable 'mins' can be declared as pointer to const [constVariablePointer] head matrixStats/src/rowRanges_lowlevel_template.h:43:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/rowSums2.c:21:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowSums2_lowlevel_template.h:30:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/rowVars.c:21:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/rowVars_lowlevel_template.h:48:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/signTabulate.c:12:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/signTabulate_lowlevel_template.h:37:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/signTabulate_lowlevel_template.h:42:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_PosInf [valueFlowBailoutIncompleteVar] head matrixStats/src/sum2.c:13:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/sum2_lowlevel_template.h:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/validateIndices.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/validateIndices.c:138:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/validateIndices.c:142:13: style: Variable 'cidxs' can be declared as pointer to const [constVariablePointer] head matrixStats/src/validateIndices.c:16:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/validateIndices_lowlevel_template.h:29:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/validateIndices_lowlevel_template.h:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] head matrixStats/src/weightedMean.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] head matrixStats/src/weightedMean_lowlevel_template.h:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NaN [valueFlowBailoutIncompleteVar] head matrixStats/src/weightedMedian.c:15:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] head matrixStats/src/weightedMedian_lowlevel_template.h:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y.c:6:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NILSXP [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:115:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:12:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:15:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:21:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:23:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:33:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:36:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:48:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:66:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] head matrixStats/src/x_OP_y_lowlevel_template.h:69:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] DONE