2025-07-28 13:07 ftp://ftp.de.debian.org/debian/pool/main/p/python-cjson/python-cjson_1.2.1.orig.tar.xz 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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.18.0 head-info: 55e2dc6 (2025-07-24 17:37:42 +0200) count: 20 20 elapsed-time: 0.3 0.3 head-timing-info: old-timing-info: head results: python-cjson-1.2.1/cjson.c:82:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] python-cjson-1.2.1/cjson.c:101:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] python-cjson-1.2.1/cjson.c:180:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_UnicodeDecodeError [valueFlowBailoutIncompleteVar] python-cjson-1.2.1/cjson.c:214:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] python-cjson-1.2.1/cjson.c:242:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] python-cjson-1.2.1/cjson.c:598:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_OverflowError [valueFlowBailoutIncompleteVar] python-cjson-1.2.1/cjson.c:692:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_OverflowError [valueFlowBailoutIncompleteVar] python-cjson-1.2.1/cjson.c:1063:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] python-cjson-1.2.1/cjson.c:1206:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable module_doc [valueFlowBailoutIncompleteVar] python-cjson-1.2.1/cjson.c:1215:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] python-cjson-1.2.1/cjson.c:1221:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] python-cjson-1.2.1/cjson.c:1227:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] python-cjson-1.2.1/cjson.c:591:25: style:inconclusive: Function 'encode_string' argument 1 names different: declaration 'object' definition 'string'. [funcArgNamesDifferent] python-cjson-1.2.1/cjson.c:19:42: note: Function 'encode_string' argument 1 names different: declaration 'object' definition 'string'. python-cjson-1.2.1/cjson.c:591:25: note: Function 'encode_string' argument 1 names different: declaration 'object' definition 'string'. python-cjson-1.2.1/cjson.c:660:26: style:inconclusive: Function 'encode_unicode' argument 1 names different: declaration 'object' definition 'unicode'. [funcArgNamesDifferent] python-cjson-1.2.1/cjson.c:20:43: note: Function 'encode_unicode' argument 1 names different: declaration 'object' definition 'unicode'. python-cjson-1.2.1/cjson.c:660:26: note: Function 'encode_unicode' argument 1 names different: declaration 'object' definition 'unicode'. python-cjson-1.2.1/cjson.c:821:24: style:inconclusive: Function 'encode_tuple' argument 1 names different: declaration 'object' definition 'tuple'. [funcArgNamesDifferent] python-cjson-1.2.1/cjson.c:21:41: note: Function 'encode_tuple' argument 1 names different: declaration 'object' definition 'tuple'. python-cjson-1.2.1/cjson.c:821:24: note: Function 'encode_tuple' argument 1 names different: declaration 'object' definition 'tuple'. python-cjson-1.2.1/cjson.c:886:23: style:inconclusive: Function 'encode_list' argument 1 names different: declaration 'object' definition 'list'. [funcArgNamesDifferent] python-cjson-1.2.1/cjson.c:22:40: note: Function 'encode_list' argument 1 names different: declaration 'object' definition 'list'. python-cjson-1.2.1/cjson.c:886:23: note: Function 'encode_list' argument 1 names different: declaration 'object' definition 'list'. python-cjson-1.2.1/cjson.c:969:23: style:inconclusive: Function 'encode_dict' argument 1 names different: declaration 'object' definition 'dict'. [funcArgNamesDifferent] python-cjson-1.2.1/cjson.c:23:40: note: Function 'encode_dict' argument 1 names different: declaration 'object' definition 'dict'. python-cjson-1.2.1/cjson.c:969:23: note: Function 'encode_dict' argument 1 names different: declaration 'object' definition 'dict'. python-cjson-1.2.1/cjson.c:333:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] python-cjson-1.2.1/cjson.c:415:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] python-cjson-1.2.1/cjson.c:663:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] diff: DONE