2026-05-04 19:14 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-slider/r-cran-slider_0.3.3.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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 74 60 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: slider/src/block.c:11:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] slider/src/block.c:16:9: style: Local variable 'size' shadows outer variable [shadowVariable] slider/src/block.c:6:12: note: Shadowed declaration slider/src/block.c:16:9: note: Shadow variable slider/src/block.c:8:11: style: Variable 'p_starts' can be declared as pointer to const [constVariablePointer] slider/src/block.c:9:11: style: Variable 'p_stops' can be declared as pointer to const [constVariablePointer] slider/src/utils.h:54:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/hop.c:86:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] slider/src/index.c:89:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] slider/src/index.c:188:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] slider/src/index.c:255:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/index.c:232:39: style:inconclusive: Function 'new_index_info' argument 1 names different: declaration '' definition 'i'. [funcArgNamesDifferentUnnamed] slider/src/index.c:249:39: style:inconclusive: Function 'new_range_info' argument 1 names different: declaration '' definition 'starts'. [funcArgNamesDifferentUnnamed] slider/src/index.c:249:52: style:inconclusive: Function 'new_range_info' argument 2 names different: declaration '' definition 'stops'. [funcArgNamesDifferentUnnamed] slider/src/index.c:249:63: style:inconclusive: Function 'new_range_info' argument 3 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] slider/src/index.c:276:10: warning: Uninitialized variables: range.p_starts, range.p_stops [uninitvar] slider/src/index.c:260:7: note: Assuming condition is false slider/src/index.c:263:7: note: Assuming condition is false slider/src/index.c:276:10: note: Uninitialized variables: range.p_starts, range.p_stops slider/src/init.c:61:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] slider/src/init.c:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/init.c:73:29: style:inconclusive: Function 'slider_initialize' argument 1 names different: declaration '' definition 'ns'. [funcArgNamesDifferentUnnamed] slider/src/params.c:14:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/params.c:50:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] slider/src/params.c:82:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] slider/src/params.c:106:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] slider/src/params.c:124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] slider/src/params.c:149:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] slider/src/params.c:166:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] slider/src/params.c:184:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/params.c:206:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/params.c:229:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/segment-tree.c:33:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAWSXP [valueFlowBailoutIncompleteVar] slider/src/segment-tree.c:11:45: style:inconclusive: Function 'new_segment_tree' argument 5 names different: declaration '' definition 'state_finalize'. [funcArgNamesDifferentUnnamed] slider/src/segment-tree.c:12:46: style:inconclusive: Function 'new_segment_tree' argument 6 names different: declaration '' definition 'nodes_increment'. [funcArgNamesDifferentUnnamed] slider/src/segment-tree.c:13:45: style:inconclusive: Function 'new_segment_tree' argument 7 names different: declaration '' definition 'nodes_initialize'. [funcArgNamesDifferentUnnamed] slider/src/segment-tree.c:14:46: style:inconclusive: Function 'new_segment_tree' argument 8 names different: declaration '' definition 'nodes_void_deref'. [funcArgNamesDifferentUnnamed] slider/src/segment-tree.c:15:45: style:inconclusive: Function 'new_segment_tree' argument 9 names different: declaration '' definition 'aggregate_from_leaves'. [funcArgNamesDifferentUnnamed] slider/src/segment-tree.c:16:45: style:inconclusive: Function 'new_segment_tree' argument 10 names different: declaration '' definition 'aggregate_from_nodes'. [funcArgNamesDifferentUnnamed] slider/src/segment-tree.c:166:52: style:inconclusive: Function 'segment_tree_aggregate_level' argument 3 names different: declaration '' definition 'p_begin'. [funcArgNamesDifferentUnnamed] slider/src/segment-tree.c:167:52: style:inconclusive: Function 'segment_tree_aggregate_level' argument 4 names different: declaration '' definition 'p_end'. [funcArgNamesDifferentUnnamed] slider/src/segment-tree.c:168:48: style:inconclusive: Function 'segment_tree_aggregate_level' argument 5 names different: declaration '' definition 'p_state'. [funcArgNamesDifferentUnnamed] slider/src/segment-tree.c:169:48: style:inconclusive: Function 'segment_tree_aggregate_level' argument 6 names different: declaration '' definition 'p_done'. [funcArgNamesDifferentUnnamed] slider/src/slide-period.c:17:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/slide-period.c:59:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/slide-period.c:26:11: style: Variable 'p_starts' can be declared as pointer to const [constVariablePointer] slider/src/slide-period.c:68:11: style: Variable 'p_stops' can be declared as pointer to const [constVariablePointer] slider/src/opts-slide.h:40:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable before [valueFlowBailoutIncompleteVar] slider/src/opts-slide.h:109:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iter_min [valueFlowBailoutIncompleteVar] slider/src/slide.c:107:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] slider/src/align.h:24:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAWSXP [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:24:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:152:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:399:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_PosInf [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:421:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:445:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:491:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NegInf [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:513:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:537:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:605:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:637:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:707:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] slider/src/summary-core.h:738:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] slider/src/summary-index.c:116:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] slider/src/summary-index.c:127:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] slider/src/summary-index.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] slider/src/summary-core.h:278:24: style: Variable 'p_state_' can be declared as pointer to const [constVariablePointer] slider/src/summary-core.h:403:11: style: Variable 'p_state_' can be declared as pointer to const [constVariablePointer] slider/src/summary-core.h:495:11: style: Variable 'p_state_' can be declared as pointer to const [constVariablePointer] slider/src/summary-slide.c:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] slider/src/summary-slide.c:71:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] slider/src/summary-slide.c:261:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_PosInf [valueFlowBailoutIncompleteVar] slider/src/summary-slide.c:300:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NegInf [valueFlowBailoutIncompleteVar] slider/src/summary-slide.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] slider/src/utils.c:55:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] slider/src/utils.c:60:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] slider/src/utils.c:176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/utils.c:209:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] slider/src/utils.c:253:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] diff: head slider/src/index.c:232:39: style:inconclusive: Function 'new_index_info' argument 1 names different: declaration '' definition 'i'. [funcArgNamesDifferentUnnamed] head slider/src/index.c:249:39: style:inconclusive: Function 'new_range_info' argument 1 names different: declaration '' definition 'starts'. [funcArgNamesDifferentUnnamed] head slider/src/index.c:249:52: style:inconclusive: Function 'new_range_info' argument 2 names different: declaration '' definition 'stops'. [funcArgNamesDifferentUnnamed] head slider/src/index.c:249:63: style:inconclusive: Function 'new_range_info' argument 3 names different: declaration '' definition 'size'. [funcArgNamesDifferentUnnamed] head slider/src/init.c:73:29: style:inconclusive: Function 'slider_initialize' argument 1 names different: declaration '' definition 'ns'. [funcArgNamesDifferentUnnamed] head slider/src/segment-tree.c:11:45: style:inconclusive: Function 'new_segment_tree' argument 5 names different: declaration '' definition 'state_finalize'. [funcArgNamesDifferentUnnamed] head slider/src/segment-tree.c:12:46: style:inconclusive: Function 'new_segment_tree' argument 6 names different: declaration '' definition 'nodes_increment'. [funcArgNamesDifferentUnnamed] head slider/src/segment-tree.c:13:45: style:inconclusive: Function 'new_segment_tree' argument 7 names different: declaration '' definition 'nodes_initialize'. [funcArgNamesDifferentUnnamed] head slider/src/segment-tree.c:14:46: style:inconclusive: Function 'new_segment_tree' argument 8 names different: declaration '' definition 'nodes_void_deref'. [funcArgNamesDifferentUnnamed] head slider/src/segment-tree.c:15:45: style:inconclusive: Function 'new_segment_tree' argument 9 names different: declaration '' definition 'aggregate_from_leaves'. [funcArgNamesDifferentUnnamed] head slider/src/segment-tree.c:166:52: style:inconclusive: Function 'segment_tree_aggregate_level' argument 3 names different: declaration '' definition 'p_begin'. [funcArgNamesDifferentUnnamed] head slider/src/segment-tree.c:167:52: style:inconclusive: Function 'segment_tree_aggregate_level' argument 4 names different: declaration '' definition 'p_end'. [funcArgNamesDifferentUnnamed] head slider/src/segment-tree.c:168:48: style:inconclusive: Function 'segment_tree_aggregate_level' argument 5 names different: declaration '' definition 'p_state'. [funcArgNamesDifferentUnnamed] 2.20.0 slider/src/segment-tree.c:168:48: style:inconclusive: Function 'segment_tree_aggregate_level' argument 5 names different: declaration 'p_dest' definition 'p_state'. [funcArgNamesDifferent] slider/src/segment-tree.c:108:48: note: Function 'segment_tree_aggregate_level' argument 5 names different: declaration 'p_dest' definition 'p_state'. slider/src/segment-tree.c:168:48: note: Function 'segment_tree_aggregate_level' argument 5 names different: declaration 'p_dest' definition 'p_state'. head slider/src/segment-tree.c:169:48: style:inconclusive: Function 'segment_tree_aggregate_level' argument 6 names different: declaration '' definition 'p_done'. [funcArgNamesDifferentUnnamed] head slider/src/segment-tree.c:16:45: style:inconclusive: Function 'new_segment_tree' argument 10 names different: declaration '' definition 'aggregate_from_nodes'. [funcArgNamesDifferentUnnamed] DONE