2026-01-21 18:09 ftp://ftp.de.debian.org/debian/pool/main/d/doctest/doctest_2.4.12.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 -j90 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.19.0 head-info: bb8a593 (2026-01-21 08:08:54 +0100) count: 58 144 elapsed-time: 0.1 3.2 head-timing-info: old-timing-info: head results: doctest-2.4.12/examples/all_features/header.h:43:2: error: failed to evaluate #if condition, undefined function-like macro invocation: DOCTEST_COMPILER( ... ) [syntaxError] doctest-2.4.12/examples/all_features/decomposition.cpp:54:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MSVC_SUPPRESS_WARNING_WITH_PUSH is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/double_stringification.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/enums.cpp:4:2: error: failed to evaluate #if condition, undefined function-like macro invocation: DOCTEST_COMPILER( ... ) [syntaxError] doctest-2.4.12/examples/all_features/namespace1.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/namespace2.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/namespace3.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/namespace4.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/namespace5.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/namespace6.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/namespace7.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/namespace8.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/namespace9.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/all_features/reporters_and_listeners.cpp:10:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_GCC_SUPPRESS_WARNING is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/combining_the_same_tests_built_differently_in_multiple_shared_objects/foo.h:5:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_CLANG_SUPPRESS_WARNING is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/exe_with_static_libs/lib_1_src1.cpp:6:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/exe_with_static_libs/lib_1_src2.cpp:6:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/exe_with_static_libs/lib_2_src.cpp:6:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/exe_with_static_libs/main.cpp:4:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/executable_dll_and_plugin/dll.cpp:9:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/executable_dll_and_plugin/implementation.cpp:10:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/executable_dll_and_plugin/implementation_2.cpp:9:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/executable_dll_and_plugin/main.cpp:6:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_MAKE_STD_HEADERS_CLEAN_FROM_WARNINGS_ON_WALL_END is a macro then please configure it. [unknownMacro] doctest-2.4.12/examples/mpi/main.cpp:6:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPI_THREAD_MULTIPLE [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/mpi/mpi.cpp:23:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_rank [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/mpi/mpi.cpp:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_rank [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/mpi/mpi.cpp:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_nb_procs [valueFlowBailoutIncompleteVar] doctest-2.4.12/scripts/how_stuff_works/testing_crash_scenarios.cpp:15:1: error: There is an unknown macro here somewhere. Configuration is required. If DOCTEST_GCC_SUPPRESS_WARNING is a macro then please configure it. [unknownMacro] doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:36:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:88:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/all_features/bitfield_packed_struct.cpp:18:15: style: Condition 'p.i==0' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/all_features/bitfield_packed_struct.cpp:17:11: note: Assignment 'p.i=0', assigned value is 0 doctest-2.4.12/examples/all_features/bitfield_packed_struct.cpp:18:15: note: Condition 'p.i==0' is always true doctest-2.4.12/scripts/how_stuff_works/how_subcases_work.cpp:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] doctest-2.4.12/examples/all_features/alternative_macros.cpp:4:16: style: Same expression on both sides of '=='. [duplicateExpression] doctest-2.4.12/examples/installed_doctest_cmake/dll/dll.cpp:17:24: style: Condition 'factorial(0)==1' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/dll/dll.cpp:17:20: note: Calling function 'factorial' returns 1 doctest-2.4.12/examples/installed_doctest_cmake/dll/dll.cpp:17:24: note: Condition 'factorial(0)==1' is always true doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:24:21: style: Condition 'square(2)==4' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:24:17: note: Calling function 'square' returns 4 doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:24:21: note: Condition 'square(2)==4' is always true doctest-2.4.12/examples/installed_doctest_cmake/dll/dll.cpp:18:24: style: Condition 'factorial(1)==1' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/dll/dll.cpp:18:20: note: Calling function 'factorial' returns 1 doctest-2.4.12/examples/installed_doctest_cmake/dll/dll.cpp:18:24: note: Condition 'factorial(1)==1' is always true doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:25:21: style: Condition 'square(4)==16' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:25:17: note: Calling function 'square' returns 16 doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:25:21: note: Condition 'square(4)==16' is always true doctest-2.4.12/examples/installed_doctest_cmake/dll/dll.cpp:19:24: style: Condition 'factorial(2)==2' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/dll/dll.cpp:19:20: note: Calling function 'factorial' returns 2 doctest-2.4.12/examples/installed_doctest_cmake/dll/dll.cpp:19:24: note: Condition 'factorial(2)==2' is always true doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:26:21: style: Condition 'square(5)==25' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:26:17: note: Calling function 'square' returns 25 doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:26:21: note: Condition 'square(5)==25' is always true doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:27:21: style: Condition 'square(8)==64' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:27:17: note: Calling function 'square' returns 64 doctest-2.4.12/examples/installed_doctest_cmake/dll/main.cpp:27:21: note: Condition 'square(8)==64' is always true doctest-2.4.12/scripts/hello_world.cpp:9:19: style: Condition 'fact(0)==1' is always false [knownConditionTrueFalse] doctest-2.4.12/scripts/hello_world.cpp:9:15: note: Calling function 'fact' returns 0 doctest-2.4.12/scripts/hello_world.cpp:9:19: note: Condition 'fact(0)==1' is always false doctest-2.4.12/scripts/hello_world.cpp:10:19: style: Condition 'fact(1)==1' is always true [knownConditionTrueFalse] doctest-2.4.12/scripts/hello_world.cpp:10:15: note: Calling function 'fact' returns 1 doctest-2.4.12/scripts/hello_world.cpp:10:19: note: Condition 'fact(1)==1' is always true doctest-2.4.12/scripts/hello_world.cpp:11:19: style: Condition 'fact(2)==2' is always true [knownConditionTrueFalse] doctest-2.4.12/scripts/hello_world.cpp:11:15: note: Calling function 'fact' returns 2 doctest-2.4.12/scripts/hello_world.cpp:11:19: note: Condition 'fact(2)==2' is always true doctest-2.4.12/scripts/hello_world.cpp:12:19: style: Condition 'fact(3)==6' is always true [knownConditionTrueFalse] doctest-2.4.12/scripts/hello_world.cpp:12:15: note: Calling function 'fact' returns 6 doctest-2.4.12/scripts/hello_world.cpp:12:19: note: Condition 'fact(3)==6' is always true doctest-2.4.12/examples/all_features/concurrency.cpp:47:27: style: Same expression on both sides of '=='. [duplicateExpression] doctest-2.4.12/examples/installed_doctest_cmake/executable/main.cpp:24:24: style: Condition 'factorial(0)==1' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/executable/main.cpp:24:20: note: Calling function 'factorial' returns 1 doctest-2.4.12/examples/installed_doctest_cmake/executable/main.cpp:24:24: note: Condition 'factorial(0)==1' is always true doctest-2.4.12/examples/installed_doctest_cmake/executable/main.cpp:25:24: style: Condition 'factorial(1)==1' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/executable/main.cpp:25:20: note: Calling function 'factorial' returns 1 doctest-2.4.12/examples/installed_doctest_cmake/executable/main.cpp:25:24: note: Condition 'factorial(1)==1' is always true doctest-2.4.12/examples/installed_doctest_cmake/executable/main.cpp:26:24: style: Condition 'factorial(2)==2' is always true [knownConditionTrueFalse] doctest-2.4.12/examples/installed_doctest_cmake/executable/main.cpp:26:20: note: Calling function 'factorial' returns 2 doctest-2.4.12/examples/installed_doctest_cmake/executable/main.cpp:26:24: note: Condition 'factorial(2)==2' is always true doctest-2.4.12/examples/all_features/no_failures.cpp:6:13: style: Same expression on both sides of '=='. [duplicateExpression] doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:16:5: style: Struct 'Translator' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:18:10: style: The function 'translate' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:11:18: note: Virtual function in base class doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:18:10: note: Function in derived class doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:21:11: style: Exception should be caught by reference. [catchExceptionByValue] doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:64:9: error: Rethrowing current exception with 'throw;', it seems there is no current exception to rethrow. If there is no current exception this calls std::terminate(). More: https://isocpp.org/wiki/faq/exceptions#throw-without-an-object [rethrowNoCurrentException] doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:67:21: style: Variable 'msg' can be declared as reference to const [constVariableReference] doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:78:1: style: Parameter 'e' can be declared as reference to const [constParameterReference] doctest-2.4.12/scripts/how_stuff_works/how_exception_translators_work.cpp:60:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] doctest-2.4.12/doctest/parts/doctest_fwd.h:520:1: debug: Failed to parse 'typedef decltype ( nullptr ) nullptr_t ;'. The checking continues anyway. [simplifyTypedef] doctest-2.4.12/doctest/parts/doctest_fwd.h:2099:0: error: Analysis failed. If the code is valid then please report this failure. [internalError] diff: 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1117:21: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1125:21: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1243:9: performance: Variable 'm_type' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1455:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1737:29: style: Variable 'def' can be declared as reference to const [constVariableReference] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1765:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_ONSTACK [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1808:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1813:19: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1829:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_cs [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1882:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_running_in_test [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1916:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable is_running_in_test [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1955:26: style:inconclusive: Technically the member function 'doctest::detail::MessageBuilder::react' can be const. [functionConst] doctest-2.4.12/doctest/parts/doctest_fwd.h:1903:14: note: Technically the member function 'doctest::detail::MessageBuilder::react' can be const. doctest-2.4.12/doctest/parts/doctest.cpp:1955:26: note: Technically the member function 'doctest::detail::MessageBuilder::react' can be const. 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1974:9: style: Class 'XmlEncode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:1990:13: style: Class 'ScopedElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2010:9: style: Class 'XmlWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:206:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2099:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uppercase [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2266:20: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2274:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2327:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2338:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2358:9: style: Struct 'XmlReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:240:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2416:27: style: Variable 'curr' can be declared as reference to const [constVariableReference] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:241:16: style: Condition '*ptr' is always true [knownConditionTrueFalse] doctest-2.4.12/doctest/parts/doctest.cpp:238:21: note: Assignment 'x=1', assigned value is 1 doctest-2.4.12/doctest/parts/doctest.cpp:241:16: note: Condition '*ptr' is always true 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2420:27: style: Variable 'curr' can be declared as reference to const [constVariableReference] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:267:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2732:9: style: Struct 'JUnitReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2836:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2851:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2862:14: style: The member function 'doctest::::JUnitReporter::log_contexts' can be static. [functionStatic] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2871:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2904:9: style: Struct 'ConsoleReporter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2904:9: warning: Member variable 'ConsoleReporter::currentSubcaseLevel' is not initialized in the constructor. [uninitMemberVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2904:9: warning: Member variable 'ConsoleReporter::hasLoggedCurrentTestStart' is not initialized in the constructor. [uninitMemberVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2904:9: warning: Member variable 'ConsoleReporter::tc' is not initialized in the constructor. [uninitMemberVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2908:9: warning: Member variable 'ConsoleReporter::currentSubcaseLevel' is not initialized in the constructor. [uninitMemberVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2908:9: warning: Member variable 'ConsoleReporter::hasLoggedCurrentTestStart' is not initialized in the constructor. [uninitMemberVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2908:9: warning: Member variable 'ConsoleReporter::tc' is not initialized in the constructor. [uninitMemberVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2922:21: style: The member function 'doctest::::ConsoleReporter::getSuccessOrFailString' can be static. [functionStatic] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:2929:21: style: The member function 'doctest::::ConsoleReporter::getSuccessOrFailColor' can be static. [functionStatic] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:3134:31: style: Variable 'curr' can be declared as reference to const [constVariableReference] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:3198:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dec [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:3250:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fixed [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:353:5: style: The class 'MultiLaneAtomic < int >' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:3699:15: style:inconclusive: Technically the member function 'doctest::Context::shouldExit' can be const. [functionConst] doctest-2.4.12/doctest/parts/doctest_fwd.h:1987:10: note: Technically the member function 'doctest::Context::shouldExit' can be const. doctest-2.4.12/doctest/parts/doctest.cpp:3699:15: note: Technically the member function 'doctest::Context::shouldExit' can be const. 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:3701:15: style:inconclusive: Technically the member function 'doctest::Context::setAsDefaultForAssertsOutOfTestCases' can be const. [functionConst] doctest-2.4.12/doctest/parts/doctest_fwd.h:1989:10: note: Technically the member function 'doctest::Context::setAsDefaultForAssertsOutOfTestCases' can be const. doctest-2.4.12/doctest/parts/doctest.cpp:3701:15: note: Technically the member function 'doctest::Context::setAsDefaultForAssertsOutOfTestCases' can be const. 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:3710:5: style: The class 'Anonymous0' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:3726:5: warning: Member variable 'DiscardOStream::discardBuf' is not initialized in the constructor. [uninitMemberVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:3749:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:3813:19: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:383:24: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:4004:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stringifiedContexts [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:4008:53: style:inconclusive: Function 'registerReporterImpl' argument 2 names different: declaration 'prio' definition 'priority'. [funcArgNamesDifferent] doctest-2.4.12/doctest/parts/doctest_fwd.h:2099:71: note: Function 'registerReporterImpl' argument 2 names different: declaration 'prio' definition 'priority'. doctest-2.4.12/doctest/parts/doctest.cpp:4008:53: note: Function 'registerReporterImpl' argument 2 names different: declaration 'prio' definition 'priority'. 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:471:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_EPSILON [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:718:34: style:inconclusive: Function 'Contains' argument 1 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] doctest-2.4.12/doctest/parts/doctest_fwd.h:673:37: note: Function 'Contains' argument 1 names different: declaration 'string' definition 'str'. doctest-2.4.12/doctest/parts/doctest.cpp:718:34: note: Function 'Contains' argument 1 names different: declaration 'string' definition 'str'. 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:874:24: performance: Function parameter 'in' should be passed by const reference. [passedByValue] 2.19.0 doctest-2.4.12/doctest/parts/doctest.cpp:950:43: debug: Failed to instantiate template "toString". The checking continues anyway. [templateInstantiation] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1093:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCSIG__ [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1164:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1179:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1209:5: style: Struct 'Approx' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1292:5: style: Struct 'IsNaN < double >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1292:5: style: Struct 'IsNaN < float >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1292:5: style: Struct 'IsNaN < long double >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1398:9: warning: Member variable 'Result::m_passed' is not initialized in the constructor. [uninitMemberVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1399:9: style: Struct 'Result' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1506:26: style:inconclusive: Technically the member function 'doctest::detail::Expression_lhs::operatorResult' can be const. [functionConst] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1528:9: debug: CheckClass::checkConst found unlinked template argument list 'doctest::detail::declval()()'. [debug] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1572:9: style: Struct 'ExpressionDecomposer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1610:5: debug: Failed to parse 'using funcType = void ( * ) ( ) ;'. The checking continues anyway. [simplifyUsing] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1922:1: style: Struct 'test_suite' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1923:1: style: Struct 'description' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1924:1: style: Struct 'skip' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1925:1: style: Struct 'no_breaks' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1926:1: style: Struct 'no_output' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1927:1: style: Struct 'timeout' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1928:1: style: Struct 'may_fail' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1929:1: style: Struct 'should_fail' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1930:1: style: Struct 'expected_failures' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1935:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:1958:5: debug: Failed to parse 'using assert_handler = void ( * ) ( const AssertData & ) ;'. The checking continues anyway. [simplifyUsing] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:2097:5: debug: Failed to parse 'using reporterCreatorFunc = IReporter * ( * ) ( const ContextOptions & ) ;'. The checking continues anyway. [simplifyUsing] head doctest-2.4.12/doctest/parts/doctest_fwd.h:2099:0: error: Analysis failed. If the code is valid then please report this failure. [internalError] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:521:33: debug: Scope::checkVariable found variable 'long' with varid 0. [varid0] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:848:13: style: Class 'StringContains' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:849:13: style: Class 'StringContains' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.19.0 doctest-2.4.12/doctest/parts/doctest_fwd.h:851:18: style:inconclusive: Technically the member function 'doctest::AssertData::StringContains::check' can be const. [functionConst] DONE