2024-03-27 21:06 ftp://ftp.de.debian.org/debian/pool/main/libc/libcdr/libcdr_0.1.7.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=cppunit --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=valueFlowBailoutIncompleteVar -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-0.deb11.6-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.45 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.13.0 head-info: 98951f5 (2024-03-27 21:50:05 +0100) count: 101 101 elapsed-time: 6.5 5.7 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 3.83683s (avg. 3.83683s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.33661s (avg. 0.445535s - 3 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.32907s (avg. 0.443022s - 3 result(s)) Other::runChecks: 0.61732s (avg. 0.61732s - 1 result(s)) Tokenizer::simplifyTokens1::simplifyTokenList1: 0.47558s (avg. 0.47558s - 1 result(s)) Overall time: 6.12714s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 3.49419s (avg. 3.49419s - 1 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.51084s (avg. 0.503614s - 3 result(s)) valueFlowCondition(SymbolicConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.584479s (avg. 0.194826s - 3 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 0.583341s (avg. 0.194447s - 3 result(s)) Other::runChecks: 0.435261s (avg. 0.435261s - 1 result(s)) Overall time: 5.3653s head results: 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/CDRTypes.h:266:8: style:inconclusive: Technically the member function 'libcdr::CDRSplineData::empty' can be const. [functionConst] 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/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:697:16: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] 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/CDRTypes.cpp:70:67: warning: Either the condition 'tmpPoints.size()==3' is redundant or size of 'tmpPoints' can be 3. Expression 'tmpPoints[3]' causes access out of bounds. [containerOutOfBounds] libcdr-0.1.7/src/lib/CDRTypes.cpp:68:33: note: Assuming that condition 'tmpPoints.size()==3' is not redundant libcdr-0.1.7/src/lib/CDRTypes.cpp:70:67: note: Access out of bounds libcdr-0.1.7/src/lib/CDRTypes.cpp:81:63: warning: Either the condition 'tmpPoints.size()==3' is redundant or size of 'tmpPoints' can be 3. Expression 'tmpPoints[3]' causes access out of bounds. [containerOutOfBounds] libcdr-0.1.7/src/lib/CDRTypes.cpp:79:29: note: Assuming that condition 'tmpPoints.size()==3' is not redundant libcdr-0.1.7/src/lib/CDRTypes.cpp:81:63: note: Access out of bounds libcdr-0.1.7/src/lib/CommonParser.h:40:10: style:inconclusive: Technically the member function 'libcdr::CommonParser::readCoordinate' can be const. [functionConst] libcdr-0.1.7/src/lib/CommonParser.cpp:25:30: note: Technically the member function 'libcdr::CommonParser::readCoordinate' can be const. libcdr-0.1.7/src/lib/CommonParser.h:40:10: note: Technically the member function 'libcdr::CommonParser::readCoordinate' can be const. libcdr-0.1.7/src/lib/CommonParser.h:41:12: style:inconclusive: Technically the member function 'libcdr::CommonParser::readUnsigned' can be const. [functionConst] libcdr-0.1.7/src/lib/CommonParser.cpp:34:32: note: Technically the member function 'libcdr::CommonParser::readUnsigned' can be const. libcdr-0.1.7/src/lib/CommonParser.h:41:12: note: Technically the member function 'libcdr::CommonParser::readUnsigned' can be const. libcdr-0.1.7/src/lib/CommonParser.h:42:18: style:inconclusive: Technically the member function 'libcdr::CommonParser::readUnsignedShort' can be const. [functionConst] libcdr-0.1.7/src/lib/CommonParser.cpp:43:38: note: Technically the member function 'libcdr::CommonParser::readUnsignedShort' can be const. libcdr-0.1.7/src/lib/CommonParser.h:42:18: note: Technically the member function 'libcdr::CommonParser::readUnsignedShort' can be const. libcdr-0.1.7/src/lib/CommonParser.h:43:7: style:inconclusive: Technically the member function 'libcdr::CommonParser::readInteger' can be const. [functionConst] libcdr-0.1.7/src/lib/CommonParser.cpp:52:27: note: Technically the member function 'libcdr::CommonParser::readInteger' can be const. libcdr-0.1.7/src/lib/CommonParser.h:43:7: note: Technically the member function 'libcdr::CommonParser::readInteger' can be const. libcdr-0.1.7/src/lib/CommonParser.h:44:10: style:inconclusive: Technically the member function 'libcdr::CommonParser::readAngle' can be const. [functionConst] libcdr-0.1.7/src/lib/CommonParser.cpp:61:30: note: Technically the member function 'libcdr::CommonParser::readAngle' can be const. libcdr-0.1.7/src/lib/CommonParser.h:44:10: note: Technically the member function 'libcdr::CommonParser::readAngle' can be const. libcdr-0.1.7/src/lib/CommonParser.h:45:8: performance:inconclusive: Technically the member function 'libcdr::CommonParser::readRImage' can be static (but you may consider moving to unnamed namespace). [functionStatic] libcdr-0.1.7/src/lib/CommonParser.cpp:135:28: note: Technically the member function 'libcdr::CommonParser::readRImage' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CommonParser.h:45:8: note: Technically the member function 'libcdr::CommonParser::readRImage' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CommonParser.h:48:8: performance:inconclusive: Technically the member function 'libcdr::CommonParser::readBmpPattern' can be static (but you may consider moving to unnamed namespace). [functionStatic] libcdr-0.1.7/src/lib/CommonParser.cpp:175:28: note: Technically the member function 'libcdr::CommonParser::readBmpPattern' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CommonParser.h:48:8: note: Technically the member function 'libcdr::CommonParser::readBmpPattern' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CommonParser.h:51:8: performance:inconclusive: Technically the member function 'libcdr::CommonParser::processPath' can be static (but you may consider moving to unnamed namespace). [functionStatic] libcdr-0.1.7/src/lib/CommonParser.cpp:78:28: note: Technically the member function 'libcdr::CommonParser::processPath' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CommonParser.h:51:8: note: Technically the member function 'libcdr::CommonParser::processPath' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CommonParser.cpp:81:21: style: Variable 'isClosedPath' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/libcdr_utils.cpp:361:19: style: Condition '!characters.empty()' is always true [knownConditionTrueFalse] libcdr-0.1.7/src/lib/libcdr_utils.cpp:327:23: note: Assuming that condition 'characters.empty()' is not redundant libcdr-0.1.7/src/lib/libcdr_utils.cpp:361:19: note: Condition '!characters.empty()' is always true libcdr-0.1.7/src/lib/libcdr_utils.cpp:112:26: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/libcdr_utils.cpp:158:15: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/libcdr_utils.cpp:174:0: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/libcdr_utils.cpp:428:26: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/libcdr_utils.cpp:429:31: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/libcdr_utils.cpp:452:24: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/libcdr_utils.cpp:453:29: style: C-style pointer casting [cstyleCast] libcdr-0.1.7/src/lib/libcdr_utils.cpp:366:28: style: Variable 'ucs4Character' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.h:121:8: style:inconclusive: Technically the member function 'libcdr::CMXParser::readDisp' can be const. [functionConst] libcdr-0.1.7/src/lib/CMXParser.cpp:291:25: note: Technically the member function 'libcdr::CMXParser::readDisp' can be const. libcdr-0.1.7/src/lib/CMXParser.h:121:8: note: Technically the member function 'libcdr::CMXParser::readDisp' can be const. libcdr-0.1.7/src/lib/CMXParser.h:140:8: performance:inconclusive: Technically the member function 'libcdr::CMXParser::readBeginLayer' can be static (but you may consider moving to unnamed namespace). [functionStatic] libcdr-0.1.7/src/lib/CMXParser.cpp:540:25: note: Technically the member function 'libcdr::CMXParser::readBeginLayer' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CMXParser.h:140:8: note: Technically the member function 'libcdr::CMXParser::readBeginLayer' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CMXParser.h:150:16: style:inconclusive: Technically the member function 'libcdr::CMXParser::readMatrix' can be const. [functionConst] libcdr-0.1.7/src/lib/CMXParser.cpp:967:41: note: Technically the member function 'libcdr::CMXParser::readMatrix' can be const. libcdr-0.1.7/src/lib/CMXParser.h:150:16: note: Technically the member function 'libcdr::CMXParser::readMatrix' can be const. libcdr-0.1.7/src/lib/CMXParser.h:152:26: style:inconclusive: Technically the member function 'libcdr::CMXParser::readString' can be const. [functionConst] libcdr-0.1.7/src/lib/CMXParser.cpp:1007:43: note: Technically the member function 'libcdr::CMXParser::readString' can be const. libcdr-0.1.7/src/lib/CMXParser.h:152:26: note: Technically the member function 'libcdr::CMXParser::readString' can be const. libcdr-0.1.7/src/lib/CMXParser.h:161:12: style:inconclusive: Technically the member function 'libcdr::CMXParser::readColor' can be const. [functionConst] libcdr-0.1.7/src/lib/CMXParser.cpp:2221:37: note: Technically the member function 'libcdr::CMXParser::readColor' can be const. libcdr-0.1.7/src/lib/CMXParser.h:161:12: note: Technically the member function 'libcdr::CMXParser::readColor' can be const. libcdr-0.1.7/src/lib/CMXParser.h:163:19: performance:inconclusive: Technically the member function 'libcdr::CMXParser::_getOffsetByType' can be static (but you may consider moving to unnamed namespace). [functionStatic] libcdr-0.1.7/src/lib/CMXParser.cpp:340:36: note: Technically the member function 'libcdr::CMXParser::_getOffsetByType' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CMXParser.h:163:19: note: Technically the member function 'libcdr::CMXParser::_getOffsetByType' can be static (but you may consider moving to unnamed namespace). libcdr-0.1.7/src/lib/CMXParser.cpp:183:9: style: Condition '!parseRecords(input,dataSize,(unsigned int)-1)' is always true [knownConditionTrueFalse] libcdr-0.1.7/src/lib/CMXParser.cpp:183:22: note: Calling function 'parseRecords' returns 0 libcdr-0.1.7/src/lib/CMXParser.cpp:183:9: note: Condition '!parseRecords(input,dataSize,(unsigned int)-1)' is always true libcdr-0.1.7/src/lib/CMXParser.cpp:2079:3: style: Statements following 'return' will never be executed. [unreachableCode] libcdr-0.1.7/src/lib/CMXParser.cpp:499:20: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:549:20: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:599:20: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:681:20: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:779:20: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:843:20: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:925:20: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:1076:22: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:1116:22: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:1214:22: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:1291:22: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:1363:22: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:1380:26: style: The scope of the variable 'subTagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:1655:20: style: The scope of the variable 'tagLength' can be reduced. [variableScope] libcdr-0.1.7/src/lib/CMXParser.cpp:194:63: style: Parameter 'length' can be declared as reference to const [constParameterReference] libcdr-0.1.7/src/lib/CMXParser.cpp:499:30: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:549:30: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:599:30: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:681:30: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:779:30: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:843:30: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:925:30: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:1076:32: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:1116:32: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:1214:32: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:1291:32: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:1363:32: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:1380:39: style: Variable 'subTagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:1480:28: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:1655:30: style: Variable 'tagLength' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CMXParser.cpp:2074:23: style: Variable 'numRecords' is assigned a value that is never used. [unreadVariable] libcdr-0.1.7/src/lib/CDRParser.h:41:8: 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.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.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.h:91:8: style:inconclusive: Technically the member function 'libcdr::CDRParser::readUdta' can be const. [functionConst] 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.h:91:8: note: Technically the member function 'libcdr::CDRParser::readUdta' can be const. libcdr-0.1.7/src/lib/CDRParser.h:97:8: style:inconclusive: Technically the member function 'libcdr::CDRParser::_skipX3Optional' can be const. [functionConst] 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.h:97:8: note: Technically the member function 'libcdr::CDRParser::_skipX3Optional' can be const. libcdr-0.1.7/src/lib/CDRParser.h:98:8: 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.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.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: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] diff: head libcdr-0.1.7/src/lib/CDRDocument.cpp:147:32: style: The scope of the variable 'tmpInput' can be reduced. [variableScope] 2.13.0 libcdr-0.1.7/src/lib/CDROutputElementList.cpp:42:13: style: Condition 'iface' is always true [knownConditionTrueFalse] head libcdr-0.1.7/src/lib/CDRTypes.cpp:70:67: warning: Either the condition 'tmpPoints.size()==3' is redundant or size of 'tmpPoints' can be 3. Expression 'tmpPoints[3]' causes access out of bounds. [containerOutOfBounds] libcdr-0.1.7/src/lib/CDRTypes.cpp:68:33: note: Assuming that condition 'tmpPoints.size()==3' is not redundant libcdr-0.1.7/src/lib/CDRTypes.cpp:70:67: note: Access out of bounds 2.13.0 libcdr-0.1.7/src/lib/CDRTypes.cpp:70:67: warning: Either the condition 'tmpPoints.size()==3' is redundant or tmpPoints size can be 3. Expression 'tmpPoints[3]' cause access out of bounds. [containerOutOfBounds] libcdr-0.1.7/src/lib/CDRTypes.cpp:68:33: note: Assuming that condition 'tmpPoints.size()==3' is not redundant libcdr-0.1.7/src/lib/CDRTypes.cpp:70:67: note: Access out of bounds head libcdr-0.1.7/src/lib/CDRTypes.cpp:81:63: warning: Either the condition 'tmpPoints.size()==3' is redundant or size of 'tmpPoints' can be 3. Expression 'tmpPoints[3]' causes access out of bounds. [containerOutOfBounds] libcdr-0.1.7/src/lib/CDRTypes.cpp:79:29: note: Assuming that condition 'tmpPoints.size()==3' is not redundant libcdr-0.1.7/src/lib/CDRTypes.cpp:81:63: note: Access out of bounds 2.13.0 libcdr-0.1.7/src/lib/CDRTypes.cpp:81:63: warning: Either the condition 'tmpPoints.size()==3' is redundant or tmpPoints size can be 3. Expression 'tmpPoints[3]' cause access out of bounds. [containerOutOfBounds] libcdr-0.1.7/src/lib/CDRTypes.cpp:79:29: note: Assuming that condition 'tmpPoints.size()==3' is not redundant libcdr-0.1.7/src/lib/CDRTypes.cpp:81:63: note: Access out of bounds DONE