2025-11-13 16:08 ftp://ftp.de.debian.org/debian/pool/main/f/fckit/fckit_0.14.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 9ab1585 (2025-11-12 10:13:54 +0100) count: 57 57 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: fckit-0.14.1/src/fckit/Libfckit.cc:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCKIT_VERSION [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Libfckit.cc:40:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FCKIT_GIT_SHA1 [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/module/fckit_C_interop.cc:20:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] fckit-0.14.1/src/fckit/Libfckit.cc:44:12: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] fckit-0.14.1/src/fckit/module/fckit_C_interop.cc:23:40: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] fckit-0.14.1/src/fckit/module/fckit_C_interop.cc:23:50: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] fckit-0.14.1/src/fckit/Log.cc:91:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIMPLE [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Log.cc:147:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Log.cc:157:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Main.cc:63:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Main.cc:145:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Main.cc:164:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable registered_signals_ [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Main.cc:176:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Main.cc:204:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Main.cc:228:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable displayName_ [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/Log.cc:96:60: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] fckit-0.14.1/src/fckit/Log.cc:80:5: style: Class 'FortranUnitTarget' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fckit-0.14.1/src/fckit/module/fckit_log.cc:23:42: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] fckit-0.14.1/src/fckit/Log.cc:104:13: style: Statements following noreturn function 'error()' will never be executed. [unreachableCode] fckit-0.14.1/src/fckit/Log.cc:113:13: style: Statements following noreturn function 'error()' will never be executed. [unreachableCode] fckit-0.14.1/src/fckit/Log.cc:123:13: style: Statements following noreturn function 'error()' will never be executed. [unreachableCode] fckit-0.14.1/src/fckit/Log.cc:132:13: style: Statements following noreturn function 'error()' will never be executed. [unreachableCode] fckit-0.14.1/src/fckit/Log.cc:150:13: style: Statements following noreturn function 'error()' will never be executed. [unreachableCode] fckit-0.14.1/src/fckit/Log.cc:160:13: style: Statements following noreturn function 'error()' will never be executed. [unreachableCode] fckit-0.14.1/src/fckit/Main.cc:226:14: performance: Inefficient usage of string::find() in condition; string::starts_with() could be faster. [stlIfStrFind] fckit-0.14.1/src/fckit/module/fckit_map.cc:31:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] fckit-0.14.1/src/fckit/module/fckit_resource.cc:24:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int32_t [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/module/fckit_resource.cc:29:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int64_t [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/module/fckit_tensor.cc:59:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] fckit-0.14.1/src/fckit/module/fckit_tensor.cc:119:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] fckit-0.14.1/src/fckit/module/fckit_configuration.cc:218:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vector [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/tests/test_configuration.cc:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/tests/test_cpp.cc:52:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/tests/test_owned_object.cc:20:5: style: Class 'Object' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fckit-0.14.1/src/tests/test_shared_ptr.cc:18:5: style: Class 'Object' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fckit-0.14.1/src/tests/test_tensor.cc:117:12: debug: Failed to instantiate template "cxx_check_tensor_layout". The checking continues anyway. [templateInstantiation] fckit-0.14.1/src/fckit/module/fckit_configuration.cc:45:5: style: Class 'NotLocalConfiguration' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fckit-0.14.1/src/fckit/module/fckit_configuration.cc:51:5: style: Class 'ConfigurationNotFound' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] fckit-0.14.1/src/tests/test_tensor.cc:37:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RowMajor [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/tests/test_tensor.cc:63:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RowMajor [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:32:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int64_t [valueFlowBailoutIncompleteVar] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:178:26: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:178:37: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:180:39: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:180:50: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:215:33: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:217:46: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:327:26: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:329:39: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:398:21: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:400:34: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:442:34: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:444:47: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:497:29: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:499:42: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:534:32: style: C-style pointer casting [cstyleCast] fckit-0.14.1/src/fckit/module/fckit_mpi.cc:536:45: style: C-style pointer casting [cstyleCast] diff: 2.18.0 fckit-0.14.1/src/fckit/Log.cc:96:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] head fckit-0.14.1/src/fckit/Log.cc:96:60: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] DONE