2026-05-01 14:50 ftp://ftp.de.debian.org/debian/pool/main/d/dbus-test-runner/dbus-test-runner_19.04.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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: e5c4a73 (2026-05-01 11:10:43 +0200) count: 201 201 elapsed-time: 1.0 0.8 head-timing-info: old-timing-info: head results: dbus-test-runner-19.04.0/libdbustest/bustle.c:77:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR_S [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/bustle.c:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/bustle.c:138:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbus_test_bustle_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/bustle.c:199:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_EOF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/bustle.c:283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/bustle.c:294:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_STATE_FINISHED [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/bustle.c:303:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRV [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:836:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_DBUS_METHOD_INVOCATION [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1206:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1255:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1323:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1371:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1439:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1481:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1543:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1585:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1647:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1686:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1750:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1790:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1849:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1900:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1971:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2007:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2063:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2167:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2212:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2277:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CALL_FLAGS_NONE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2531:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _dbus_mock_iface_org_freedesktop_dbus_mock_proxy_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2567:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GValue [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2684:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2774:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2881:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2936:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2970:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_VALUE_INIT [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3028:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROPERTY_INFO_FLAGS_READABLE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3095:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _dbus_mock_iface_org_freedesktop_dbus_mock_skeleton_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:777:79: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:813:101: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1243:15: style: Parameter 'arg_args' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1311:15: style: Parameter 'arg_args' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1358:15: style: Parameter 'arg_properties' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1359:15: style: Parameter 'arg_methods' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1426:15: style: Parameter 'arg_properties' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1427:15: style: Parameter 'arg_methods' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1471:15: style: Parameter 'arg_properties' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1533:15: style: Parameter 'arg_properties' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1575:15: style: Parameter 'arg_parameters' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:1637:15: style: Parameter 'arg_parameters' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2095:15: style: Parameter 'arg_methods' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2157:15: style: Parameter 'arg_methods' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2201:15: style: Parameter 'arg_value' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2266:15: style: Parameter 'arg_value' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2304:15: style: Parameter 'unnamed_arg0' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2397:15: style: Parameter 'unnamed_arg1' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2535:78: style: Parameter 'object' can be declared as pointer to const. However it seems that '_dbus_mock_iface_org_freedesktop_dbus_mock_proxy_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2640:33: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2535:78: note: Parameter 'object' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2537:17: style: Parameter 'value' can be declared as pointer to const. However it seems that '_dbus_mock_iface_org_freedesktop_dbus_mock_proxy_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2640:33: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2537:17: note: Parameter 'value' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2538:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that '_dbus_mock_iface_org_freedesktop_dbus_mock_proxy_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2640:33: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2538:17: note: Parameter 'pspec' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2543:78: style: Parameter 'object' can be declared as pointer to const. However it seems that '_dbus_mock_iface_org_freedesktop_dbus_mock_proxy_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2641:33: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2543:78: note: Parameter 'object' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2546:17: style: Parameter 'pspec' can be declared as pointer to const. However it seems that '_dbus_mock_iface_org_freedesktop_dbus_mock_proxy_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2641:33: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2546:17: note: Parameter 'pspec' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2574:30: style: Variable 'arg_info' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2601:31: style: Variable 'info' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2653:105: style: Parameter 'iface' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2903:30: style: Variable 'arg_info' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2937:15: style: Variable 'pspec' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:2971:15: style: Variable 'pspec' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3004:102: style: Parameter 'skeleton' can be declared as pointer to const. However it seems that '_dbus_mock_iface_org_freedesktop_dbus_mock_skeleton_dbus_interface_get_info' is a callback function, if 'skeleton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3121:30: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3004:102: note: Parameter 'skeleton' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3010:104: style: Parameter 'skeleton' can be declared as pointer to const. However it seems that '_dbus_mock_iface_org_freedesktop_dbus_mock_skeleton_dbus_interface_get_vtable' is a callback function, if 'skeleton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3124:32: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3010:104: note: Parameter 'skeleton' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3027:26: style: Variable 'info' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3045:99: style: Parameter '_skeleton' can be declared as pointer to const. However it seems that '_dbus_mock_iface_org_freedesktop_dbus_mock_skeleton_dbus_interface_flush' is a callback function, if '_skeleton' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3123:27: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3045:99: note: Parameter '_skeleton' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3053:15: style: Parameter 'arg_args' can be declared as pointer to const. However it seems that '__dbus_mock_iface_org_freedesktop_dbus_mock_on_signal_method_called' is a callback function, if 'arg_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3134:26: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:3053:15: note: Parameter 'arg_args' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:48:16: style: struct member '_ExtendedGDBusInterfaceInfo::hyphen_name' is never used. [unusedStructMember] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:53:37: style: struct member 'ChangedProperty::info' is never used. [unusedStructMember] dbus-test-runner-19.04.0/libdbustest/dbus-mock-iface.c:54:9: style: struct member 'ChangedProperty::prop_id' is never used. [unusedStructMember] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:116:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:174:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbus_test_dbus_mock_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:188:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbus_test_dbus_mock_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:233:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_STATE_RUNNING [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:354:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:410:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:442:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_SERVICE_BUS_SYSTEM [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:465:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_SERVICE_BUS_SYSTEM [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:553:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TYPE_DBUS_MOCK [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:585:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:692:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DbusTestDbusMockCall [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:779:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable params [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:146:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:699:3: error: Memory leak: newmethod.name [memleak] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:699:3: error: Memory leak: newmethod.code [memleak] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:699:3: error: Memory leak: newmethod.calls [memleak] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:980:3: error: Memory leak: newprop.name [memleak] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:980:3: error: Memory leak: newprop.type [memleak] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:523:12: style: Redundant initialization for 'lobj'. The initialized value is overwritten before it is read. [redundantInitialization] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:522:15: note: lobj is initialized dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:523:12: note: lobj is overwritten dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:585:12: style: Redundant initialization for 'lobj'. The initialized value is overwritten before it is read. [redundantInitialization] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:584:15: note: lobj is initialized dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:585:12: note: lobj is overwritten dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:524:12: style: Local variable 'error' shadows outer variable [shadowVariable] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:460:11: note: Shadowed declaration dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:524:12: note: Shadow variable dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:194:81: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:107:31: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:194:81: note: Parameter 'pspec' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:197:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:212:87: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:108:31: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:212:87: note: Parameter 'pspec' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:273:11: style: Variable 'modified' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:282:39: style: Parameter 'method' can be declared as pointer to const [constParameterPointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:683:21: style: Variable 'meth' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/dbus-mock.c:967:23: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/leash.c:30:28: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'destroy_everyone' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/leash.c:47:36: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/leash.c:30:28: note: Parameter 'user_data' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/leash.c:53:27: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'sighup_dont_die' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/leash.c:79:29: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/leash.c:53:27: note: Parameter 'user_data' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/leash.c:67:24: style: Parameter 'argv' can be declared as const array [constParameter] dbus-test-runner-19.04.0/libdbustest/process.c:81:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_STATIC_STRINGS [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/process.c:151:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_NORMAL [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/process.c:188:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbus_test_process_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/process.c:217:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_STATE_RUNNING [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/process.c:283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_STATUS_EOF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/process.c:357:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/process.c:373:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TYPE_PROCESS [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/process.c:394:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_STATE_RUNNING [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/process.c:418:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_STATE_FINISHED [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/process.c:194:95: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/process.c:73:31: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/process.c:194:95: note: Parameter 'pspec' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/process.c:215:101: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/libdbustest/process.c:74:31: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/libdbustest/process.c:215:101: note: Parameter 'pspec' can be declared as pointer to const dbus-test-runner-19.04.0/libdbustest/process.c:392:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/process.c:420:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/process.c:438:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/service.c:112:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:203:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbus_test_service_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:219:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbus_test_service_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:251:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_STATE_FINISHED [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:263:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_STATE_INIT [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:275:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_SERVICE_BUS_BOTH [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:389:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_ERR [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:476:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SPAWN_SEARCH_PATH [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:654:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_SERVICE_PRIORITY_NORMAL [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:788:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_SERVICE_BUS_BOTH [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/service.c:719:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dbus-test-runner-19.04.0/libdbustest/service.c:273:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/service.c:595:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/task.c:71:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_SIGNAL_STATE_CHANGED [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:89:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_RETURN_NORMAL [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:119:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbus_test_task_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:136:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbus_test_task_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:196:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_SERVICE_BUS_BOTH [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:209:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_SERVICE_BUS_BOTH [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:229:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_STATE_FINISHED [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:258:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_STATE_FINISHED [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:281:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_RETURN_IGNORE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:320:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:357:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_TASK_RETURN_IGNORE [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:454:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_SERVICE_BUS_BOTH [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/task.c:245:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/task.c:260:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/task.c:283:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/task.c:352:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/task.c:379:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/task.c:388:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/task.c:424:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/task.c:455:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/watchdog.c:50:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbus_test_watchdog_parent_class [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/watchdog.c:72:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WATCHDOG [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/libdbustest/watchdog.c:44:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/libdbustest/watchdog.c:109:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/src/dbus-test-runner.c:204:160: error: There is an unknown macro here somewhere. Configuration is required. If DEFAULT_SESSION_CONF is a macro then please configure it. [unknownMacro] dbus-test-runner-19.04.0/tests/test-check-name.c:22:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-check-name.c:30:2: error: Return value of allocation function 'g_dbus_proxy_get_name_owner' is not stored. [leakReturnValNotUsed] dbus-test-runner-19.04.0/tests/test-libdbustest-getname.c:36:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:61:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:106:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:278:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:362:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:433:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:531:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBUS_TEST_SERVICE_BUS_SYSTEM [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:601:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:728:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_ERROR [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:113:2: warning: Assert statement calls a function which may have desired side effects: 'g_variant_new_string'. [assertWithSideEffect] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:115:2: warning: Assert statement calls a function which may have desired side effects: 'g_variant_new_uint32'. [assertWithSideEffect] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:117:2: warning: Assert statement calls a function which may have desired side effects: 'g_variant_new'. [assertWithSideEffect] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:204:2: warning: Assert statement calls a function which may have desired side effects: 'g_variant_new_string'. [assertWithSideEffect] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:234:2: warning: Assert statement calls a function which may have desired side effects: 'g_variant_new_uint32'. [assertWithSideEffect] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:333:2: warning: Assert statement calls a function which may have desired side effects: 'g_variant_new'. [assertWithSideEffect] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:410:2: warning: Assert statement calls a function which may have desired side effects: 'g_variant_new_parsed'. [assertWithSideEffect] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:488:2: warning: Assert statement calls a function which may have desired side effects: 'g_variant_new_string'. [assertWithSideEffect] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:147:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:191:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:221:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:251:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:319:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:475:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:505:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:576:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:656:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:682:3: style: Statements following noreturn function 'g_error()' will never be executed. [unreachableCode] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:86:27: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/tests/test-libdbustest-mock.c:89:27: style: Variable 'newobj' can be declared as pointer to const [constVariablePointer] dbus-test-runner-19.04.0/tests/test-libdbustest.c:11:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest.c:27:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest.c:49:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SESSION_CONF [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest.c:97:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-libdbustest.c:15:2: warning: Assert statement calls a function which may have desired side effects: 'g_getenv'. [assertWithSideEffect] dbus-test-runner-19.04.0/tests/test-own-name.c:49:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] dbus-test-runner-19.04.0/tests/test-own-name.c:39:3: error: Memory leak: options [memleak] dbus-test-runner-19.04.0/tests/test-own-name.c:44:3: error: Memory leak: options [memleak] dbus-test-runner-19.04.0/tests/test-own-name.c:5:33: style: Parameter 'connection' can be declared as pointer to const. However it seems that 'name_aquired' is a callback function, if 'connection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/tests/test-own-name.c:53:17: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/tests/test-own-name.c:5:33: note: Parameter 'connection' can be declared as pointer to const dbus-test-runner-19.04.0/tests/test-own-name.c:5:74: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'name_aquired' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dbus-test-runner-19.04.0/tests/test-own-name.c:53:17: note: You might need to cast the function pointer here dbus-test-runner-19.04.0/tests/test-own-name.c:5:74: note: Parameter 'user_data' can be declared as pointer to const diff: DONE