2025-05-05 16:03 ftp://ftp.de.debian.org/debian/pool/main/libc/libcdr/libcdr_0.1.7.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --library=zlib --library=icu --library=cppunit --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: fcc0493 (2025-05-05 13:08:11 +0200) count: 197 197 elapsed-time: 20.4 18.2 head-timing-info: old-timing-info: head results: libcdr-0.1.7/src/conv/raw/cdr2raw.cpp:81:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/conv/raw/cmx2raw.cpp:81:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/conv/svg/cdr2xhtml.cpp:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/conv/svg/cmx2xhtml.cpp:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/conv/text/cdr2text.cpp:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/conv/text/cmx2text.cpp:78:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRCollector.cpp:25:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_RGB_8 [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRCollector.cpp:60:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TYPE_CMYK_DBL [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRTypes.h:266:8: style:inconclusive: Technically the member function 'libcdr::CDRSplineData::empty' can be const. [functionConst] libcdr-0.1.7/src/lib/CDRContentCollector.cpp:413:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_GENERIC [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRContentCollector.cpp:693:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_PERCENT [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRContentCollector.cpp:1093:112: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_POINT [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRContentCollector.cpp:1258:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRContentCollector.cpp:608:42: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/CDRContentCollector.cpp:609:21: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/CDRContentCollector.cpp:1270:40: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/CDRContentCollector.cpp:1271:19: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/CDRContentCollector.cpp:554:77: style:inconclusive: Function 'collectFillTransform' argument 1 names different: declaration 'fillTrafo' definition 'fillTrafos'. [funcArgNamesDifferent] libcdr-0.1.7/src/lib/CDRContentCollector.h:59:50: note: Function 'collectFillTransform' argument 1 names different: declaration 'fillTrafo' definition 'fillTrafos'. libcdr-0.1.7/src/lib/CDRContentCollector.cpp:554:77: note: Function 'collectFillTransform' argument 1 names different: declaration 'fillTrafo' definition 'fillTrafos'. libcdr-0.1.7/src/lib/CDRDocument.cpp:32:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRDocument.cpp:70:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRDocument.cpp:109:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CommonParser.h:30:3: style: Class 'CommonParser' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDRStylesCollector.h:31:3: style: Class 'CDRStylesCollector' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDRDocument.cpp:111:12: style: The scope of the variable 'version' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRDocument.cpp:147:32: style: The scope of the variable 'tmpInput' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRInternalStream.cpp:125:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRInternalStream.h:24:3: style: Class 'CDRInternalStream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDRInternalStream.cpp:70:20: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:111:3: style: Class 'CDRStyleOutputElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:122:3: style: Class 'CDRPathOutputElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:133:3: style: Class 'CDRGraphicObjectOutputElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:144:3: style: Class 'CDRStartTextObjectOutputElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:155:3: style: Class 'CDROpenParagraphOutputElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:166:3: style: Class 'CDROpenSpanOutputElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:177:3: style: Class 'CDRInsertTextOutputElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:214:3: style: Class 'CDRStartLayerOutputElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:30:13: style: Condition 'iface' is always true [knownConditionTrueFalse] libcdr-0.1.7/src/lib/CDROutputElementList.cpp:55:7: style: Condition 'iface' is always true [knownConditionTrueFalse] libcdr-0.1.7/src/lib/CDRParser.cpp:97:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable char_ [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:155:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable omit [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:248:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:421:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_id [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:466:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:502:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:541:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:594:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:754:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:783:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:843:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1037:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1060:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1093:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1137:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1199:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1246:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1335:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1415:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1674:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1750:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1835:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1868:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1889:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1920:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1944:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1969:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:1994:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2018:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2073:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2140:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2151:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2219:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2487:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2689:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2806:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2899:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:2987:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:3031:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:3115:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:3230:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRParser.cpp:366:25: performance:inconclusive: Technically the member function 'libcdr::CDRParser::gatherWaldoInformation' can be static (but you may consider moving to unnamed namespace). [functionStatic] libcdr-0.1.7/src/lib/CDRParser.h:41:8: note: Technically the member function 'libcdr::CDRParser::gatherWaldoInformation' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CDRParser.cpp:366:25: note: Technically the member function 'libcdr::CDRParser::gatherWaldoInformation' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CDRParser.cpp:2982:25: style:inconclusive: Technically the member function 'libcdr::CDRParser::readUdta' can be const. [functionConst] libcdr-0.1.7/src/lib/CDRParser.h:91:8: note: Technically the member function 'libcdr::CDRParser::readUdta' can be const. libcdr-0.1.7/src/lib/CDRParser.cpp:2982:25: note: Technically the member function 'libcdr::CDRParser::readUdta' can be const. libcdr-0.1.7/src/lib/CDRParser.cpp:3216:25: style:inconclusive: Technically the member function 'libcdr::CDRParser::_skipX3Optional' can be const. [functionConst] libcdr-0.1.7/src/lib/CDRParser.h:97:8: note: Technically the member function 'libcdr::CDRParser::_skipX3Optional' can be const. libcdr-0.1.7/src/lib/CDRParser.cpp:3216:25: note: Technically the member function 'libcdr::CDRParser::_skipX3Optional' can be const. libcdr-0.1.7/src/lib/CDRParser.cpp:3248:25: performance:inconclusive: Technically the member function 'libcdr::CDRParser::_resolveColorPalette' can be static (but you may consider moving to unnamed namespace). [functionStatic] libcdr-0.1.7/src/lib/CDRParser.h:98:8: note: Technically the member function 'libcdr::CDRParser::_resolveColorPalette' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CDRParser.cpp:3248:25: note: Technically the member function 'libcdr::CDRParser::_resolveColorPalette' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CDRParser.cpp:1161:24: style: Condition 'm_version>=800' is always true [knownConditionTrueFalse] libcdr-0.1.7/src/lib/CDRParser.cpp:1159:19: note: Assuming that condition 'm_version<800' is not redundant libcdr-0.1.7/src/lib/CDRParser.cpp:1161:24: note: Condition 'm_version>=800' is always true libcdr-0.1.7/src/lib/CDRParser.cpp:2156:20: style: The scope of the variable 'character' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:2172:19: style: The scope of the variable 'character' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:2989:20: style: The scope of the variable 'c' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:3252:17: style: The scope of the variable 'r' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:3253:17: style: The scope of the variable 'g' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:3254:17: style: The scope of the variable 'b' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:3255:17: style: The scope of the variable 'c' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:3256:17: style: The scope of the variable 'm' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:3257:17: style: The scope of the variable 'y' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:3258:17: style: The scope of the variable 'k' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRParser.cpp:116:15: style: Unused variable: rest [unusedVariable] libcdr-0.1.7/src/lib/CDRParser.cpp:2156:30: style: Variable 'character' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CDRParser.cpp:2172:29: style: Variable 'character' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CDRPath.cpp:495:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRPath.cpp:593:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_GENERIC [valueFlowBailoutIncompleteVar] libcdr-0.1.7/src/lib/CDRPath.cpp:304:3: style: Class 'CDRSplineToElement' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libcdr-0.1.7/src/lib/CDRPath.cpp:527:18: style: The scope of the variable 'save' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CDRPath.cpp:697:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] libcdr-0.1.7/src/lib/CDRStylesCollector.cpp:246:31: warning: Either the condition 'j