2025-04-03 22:55 ftp://ftp.de.debian.org/debian/pool/main/z/zug/zug_0.1.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.66 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 610386c (2025-04-03 20:19:17 +0200) count: 84 87 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: zug-0.1.1/test/__inline_var_tests/resources/client1.cpp:19:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inline_var [valueFlowBailoutIncompleteVar] zug-0.1.1/test/__inline_var_tests/resources/client2.cpp:19:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inline_var [valueFlowBailoutIncompleteVar] zug-0.1.1/test/into.cpp:23:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/into.cpp:32:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/into.cpp:40:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/into.cpp:62:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/compose.cpp:50:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] zug-0.1.1/test/compose.cpp:75:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] zug-0.1.1/test/compose.cpp:86:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value [valueFlowBailoutIncompleteVar] zug-0.1.1/test/into.cpp:23:11: style: Variable 'res2' can be declared as reference to const [constVariableReference] zug-0.1.1/test/into_vector.cpp:63:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/meta.cpp:19:5: debug: Failed to parse 'using identity_t = decltype ( identity ) ;'. The checking continues anyway. [simplifyUsing] zug-0.1.1/test/meta.cpp:44:5: debug: Failed to parse 'using identity_t = decltype ( identity ) ;'. The checking continues anyway. [simplifyUsing] zug-0.1.1/test/reduce.cpp:21:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] zug-0.1.1/test/reduce.cpp:54:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] zug-0.1.1/test/reduce.cpp:65:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/spies.hpp:129:9: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] zug-0.1.1/test/reductor.cpp:70:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/reductor.cpp:80:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/reductor.cpp:90:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/reductor.cpp:99:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/reductor.cpp:109:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/reductor.cpp:124:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/spies.hpp:125:22: error: No 'return' statement in non-void function causes undefined behavior. [operatorEqMissingReturnStatement] zug-0.1.1/test/spies.hpp:56:10: style:inconclusive: Technically the member function 'testing::detail::spy_base::called' can be const. [functionConst] zug-0.1.1/test/spies.hpp:21:7: style:inconclusive: Technically the member function 'defaulting < void >::operator()' can be const. [functionConst] zug-0.1.1/test/spies.hpp:33:5: style: Struct 'returning' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] zug-0.1.1/test/spies.hpp:206:5: style: Struct 'copy_spy < detail :: default_copy_spy_base_t >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] zug-0.1.1/test/spies.hpp:79:5: style: Class 'spy_fn < mocks :: defaulting < void > >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] zug-0.1.1/test/reduce.cpp:77:11: warning:inconclusive: Access of moved variable 'x'. [accessMoved] zug-0.1.1/test/reduce.cpp:76:28: note: Calling std::move(x) zug-0.1.1/test/reduce.cpp:77:11: note: Access of moved variable 'x'. zug-0.1.1/test/spies.hpp:206:5: style: Struct 'copy_spy' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] zug-0.1.1/test/sequence.cpp:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/sequence.cpp:64:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/sequence.cpp:101:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interleave [valueFlowBailoutIncompleteVar] zug-0.1.1/test/sequence.cpp:113:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enumerate [valueFlowBailoutIncompleteVar] zug-0.1.1/test/state_traits.cpp:33:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/state_traits.cpp:43:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/state_traits.cpp:54:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/state_traits.cpp:66:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/state_traits.cpp:93:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/state_traits.cpp:105:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/state_traits.cpp:116:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/cat.cpp:23:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cat [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/cat.cpp:33:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cat [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/dedupe.cpp:22:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dedupe [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/dedupe.cpp:31:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dedupe [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/distinct.cpp:22:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable distinct [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/distinct.cpp:31:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable distinct [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/drop_while.cpp:24:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/drop_while.cpp:66:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/enumerate.cpp:20:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enumerate [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/eager.cpp:24:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/eager.cpp:43:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sorted [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/eager.cpp:63:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reversed [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/interelave.cpp:23:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interleave [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/interleave.cpp:20:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interleave [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/filter.cpp:81:37: performance: Function parameter 'x' should be passed by const reference. [passedByValue] zug-0.1.1/test/transducer/filter.cpp:134:40: performance: Function parameter 'x' should be passed by const reference. [passedByValue] zug-0.1.1/test/transducer/filter.cpp:135:40: performance: Function parameter 'x' should be passed by const reference. [passedByValue] zug-0.1.1/test/transducer/map_indexed.cpp:20:34: performance: Function parameter 'x' should be passed by const reference. [passedByValue] zug-0.1.1/test/transducer/product.cpp:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/partition.cpp:65:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/partition_by.cpp:27:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/partition_by.cpp:57:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/partition_by.cpp:67:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/partition_by.cpp:74:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/partition_by.cpp:81:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable identity [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/replace.cpp:67:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out_of_range [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/sink.cpp:35:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enumerate [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/sink.cpp:48:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enumerate [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/take.cpp:81:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/take.cpp:98:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_transducer_error [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/transducer.cpp:57:27: debug: Function::addArguments found argument 's' with varid 0. [varid0] zug-0.1.1/test/transducer/transducer.cpp:57:40: debug: Function::addArguments found argument 'is' with varid 0. [varid0] zug-0.1.1/test/transducer/transducer.cpp:16:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/transducer.cpp:26:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/transducer.cpp:39:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/transducer.cpp:57:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/take_while.cpp:25:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _1 [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/unzip.cpp:24:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/unzip.cpp:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unzip [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/unzip.cpp:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unzip [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/unzip.cpp:62:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable unzip [valueFlowBailoutIncompleteVar] zug-0.1.1/test/transducer/zip.cpp:22:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zip [valueFlowBailoutIncompleteVar] diff: 2.17.0 zug-0.1.1/test/reductor.cpp:59:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable default_copy_spy_base_t [valueFlowBailoutIncompleteVar] 2.17.0 zug-0.1.1/test/spies.hpp:173:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MockT [valueFlowBailoutIncompleteVar] 2.17.0 zug-0.1.1/test/spies.hpp:186:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MockT [valueFlowBailoutIncompleteVar] DONE