2026-05-04 11:29 ftp://ftp.de.debian.org/debian/pool/main/p/python-traits/python-traits_6.4.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 84 77 elapsed-time: 0.7 0.6 head-timing-info: old-timing-info: head results: traits-6.4.3/traits/ctraits.c:1225:49: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:1268:49: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:1311:62: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:1322:64: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:1338:68: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:1350:49: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:1366:70: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:4486:62: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:4703:62: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:4856:58: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] traits-6.4.3/traits/ctraits.c:313:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:495:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:506:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:519:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:548:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:696:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:873:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:916:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1153:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1214:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1228:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1257:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1271:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1301:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1313:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1325:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1341:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1401:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1799:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:1889:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:2136:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_KeyError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:2468:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_KeyError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3019:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3058:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3103:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3217:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3239:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3259:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3331:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3398:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3469:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3501:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3544:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3737:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3816:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3889:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:3980:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:4325:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:4493:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:4632:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:4664:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:4711:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:4737:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:4805:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:4826:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:4955:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:5028:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:5616:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:5633:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:5650:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:5711:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyBaseObject_Type [valueFlowBailoutIncompleteVar] traits-6.4.3/traits/ctraits.c:2207:19: style:inconclusive: Function 'call_notifiers' argument 1 names different: declaration '' definition 'tnotifiers'. [funcArgNamesDifferentUnnamed] traits-6.4.3/traits/ctraits.c:2207:45: style:inconclusive: Function 'call_notifiers' argument 2 names different: declaration '' definition 'onotifiers'. [funcArgNamesDifferentUnnamed] traits-6.4.3/traits/ctraits.c:2207:76: style:inconclusive: Function 'call_notifiers' argument 3 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] traits-6.4.3/traits/ctraits.c:2208:15: style:inconclusive: Function 'call_notifiers' argument 4 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] traits-6.4.3/traits/ctraits.c:2208:31: style:inconclusive: Function 'call_notifiers' argument 5 names different: declaration '' definition 'old_value'. [funcArgNamesDifferentUnnamed] traits-6.4.3/traits/ctraits.c:4771:27: style:inconclusive: Function 'trait_clone' argument 1 names different: declaration '' definition 'trait'. [funcArgNamesDifferentUnnamed] traits-6.4.3/traits/ctraits.c:4771:48: style:inconclusive: Function 'trait_clone' argument 2 names different: declaration '' definition 'source'. [funcArgNamesDifferentUnnamed] traits-6.4.3/traits/ctraits.c:492:59: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] traits-6.4.3/traits/ctraits.c:545:30: style: Parameter 'trait' can be declared as pointer to const [constParameterPointer] traits-6.4.3/traits/ctraits.c:716:42: style: Parameter 'args' can be declared as pointer to const. However it seems that 'has_traits_init' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] traits-6.4.3/traits/ctraits.c:1780:5: note: You might need to cast the function pointer here traits-6.4.3/traits/ctraits.c:716:42: note: Parameter 'args' can be declared as pointer to const traits-6.4.3/traits/ctraits.c:1225:24: style: Parameter 'obj' can be declared as pointer to const. However it seems that '_has_traits_notifications_enabled' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] traits-6.4.3/traits/ctraits.c:1658:22: note: You might need to cast the function pointer here traits-6.4.3/traits/ctraits.c:1225:24: note: Parameter 'obj' can be declared as pointer to const traits-6.4.3/traits/ctraits.c:1268:24: style: Parameter 'obj' can be declared as pointer to const. However it seems that '_has_traits_notifications_vetoed' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] traits-6.4.3/traits/ctraits.c:1670:22: note: You might need to cast the function pointer here traits-6.4.3/traits/ctraits.c:1268:24: note: Parameter 'obj' can be declared as pointer to const traits-6.4.3/traits/ctraits.c:1322:39: style: Parameter 'obj' can be declared as pointer to const. However it seems that '_has_traits_inited' is a callback function, if 'obj' is declared with const you might also need to cast function pointer(s). [constParameterCallback] traits-6.4.3/traits/ctraits.c:1682:22: note: You might need to cast the function pointer here traits-6.4.3/traits/ctraits.c:1322:39: note: Parameter 'obj' can be declared as pointer to const traits-6.4.3/traits/ctraits.c:1886:70: style: Parameter 'name' can be declared as pointer to const. However it seems that 'getattr_event' is a callback function, if 'name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] traits-6.4.3/traits/ctraits.c:2881:5: note: You might need to cast the function pointer here traits-6.4.3/traits/ctraits.c:1886:70: note: Parameter 'name' can be declared as pointer to const traits-6.4.3/traits/ctraits.c:2605:31: style: Parameter 'value' can be declared as pointer to const. However it seems that 'setattr_property0' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] traits-6.4.3/traits/ctraits.c:4720:5: note: You might need to cast the function pointer here traits-6.4.3/traits/ctraits.c:2605:31: note: Parameter 'value' can be declared as pointer to const traits-6.4.3/traits/ctraits.c:2824:15: style: Variable 'result' can be declared as pointer to const [constVariablePointer] traits-6.4.3/traits/ctraits.c:3489:26: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] traits-6.4.3/traits/ctraits.c:3491:15: style: Variable 'low' can be declared as pointer to const [constVariablePointer] traits-6.4.3/traits/ctraits.c:3491:21: style: Variable 'high' can be declared as pointer to const [constVariablePointer] traits-6.4.3/traits/ctraits.c:4303:20: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] traits-6.4.3/traits/ctraits.c:4678:46: style: Parameter 'trait' can be declared as pointer to const. However it seems that '_get_trait_comparison_mode_int' is a callback function, if 'trait' is declared with const you might also need to cast function pointer(s). [constParameterCallback] traits-6.4.3/traits/ctraits.c:5531:14: note: You might need to cast the function pointer here traits-6.4.3/traits/ctraits.c:4678:46: note: Parameter 'trait' can be declared as pointer to const traits-6.4.3/traits/ctraits.c:4678:59: style: Parameter 'closure' can be declared as pointer to const. However it seems that '_get_trait_comparison_mode_int' is a callback function, if 'closure' is declared with const you might also need to cast function pointer(s). [constParameterCallback] traits-6.4.3/traits/ctraits.c:5531:14: note: You might need to cast the function pointer here traits-6.4.3/traits/ctraits.c:4678:59: note: Parameter 'closure' can be declared as pointer to const traits-6.4.3/traits/ctraits.c:4841:18: style: Parameter 'function' can be declared as pointer to const [constParameterPointer] diff: head traits-6.4.3/traits/ctraits.c:2207:19: style:inconclusive: Function 'call_notifiers' argument 1 names different: declaration '' definition 'tnotifiers'. [funcArgNamesDifferentUnnamed] head traits-6.4.3/traits/ctraits.c:2207:45: style:inconclusive: Function 'call_notifiers' argument 2 names different: declaration '' definition 'onotifiers'. [funcArgNamesDifferentUnnamed] head traits-6.4.3/traits/ctraits.c:2207:76: style:inconclusive: Function 'call_notifiers' argument 3 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] head traits-6.4.3/traits/ctraits.c:2208:15: style:inconclusive: Function 'call_notifiers' argument 4 names different: declaration '' definition 'name'. [funcArgNamesDifferentUnnamed] head traits-6.4.3/traits/ctraits.c:2208:31: style:inconclusive: Function 'call_notifiers' argument 5 names different: declaration '' definition 'old_value'. [funcArgNamesDifferentUnnamed] head traits-6.4.3/traits/ctraits.c:4771:27: style:inconclusive: Function 'trait_clone' argument 1 names different: declaration '' definition 'trait'. [funcArgNamesDifferentUnnamed] head traits-6.4.3/traits/ctraits.c:4771:48: style:inconclusive: Function 'trait_clone' argument 2 names different: declaration '' definition 'source'. [funcArgNamesDifferentUnnamed] DONE