2024-04-26 12:18 ftp://ftp.de.debian.org/debian/pool/main/libw/libwpd/libwpd_0.10.3.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --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-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.57 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 cppcheck: head 2.14.0 head-info: 7a3a43b (2024-04-26 12:55:42 +0200) count: 182 182 elapsed-time: 495.6 494.9 head-timing-info: old-timing-info: head results: libwpd-0.10.3/src/conv/html/wpd2html.cpp:96:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPD_CONFIDENCE_SUPPORTED_ENCRYPTION [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/conv/raw/wpd2raw.cpp:104:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPD_CONFIDENCE_SUPPORTED_ENCRYPTION [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/conv/text/wpd2text.cpp:105:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPD_CONFIDENCE_SUPPORTED_ENCRYPTION [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1BottomMarginGroup.cpp:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/libwpd_internal.h:59:7: style:inconclusive: Technically the member function 'libwpd::WPXDummyDeleter::operator()' can be const. [functionConst] libwpd-0.10.3/src/lib/WPXEncryption.h:38:2: style: Class 'WPXEncryption' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libwpd-0.10.3/src/lib/WP1FixedLengthGroup.h:36:2: style: Class 'WP1FixedLengthGroup' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libwpd-0.10.3/src/lib/WPXTable.h:56:23: style:inconclusive: Technically the member function 'WPXTable::getCell' can be const. [functionConst] libwpd-0.10.3/src/lib/WPXListener.h:40:7: style:inconclusive: Technically the member function 'WPXListener::isUndoOn' can be const. [functionConst] libwpd-0.10.3/src/lib/WPXListener.h:37:2: style: Class 'WPXListener' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libwpd-0.10.3/src/lib/WP1FixedLengthGroup.cpp:102:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1FootnoteEndnoteGroup.cpp:54:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1HeaderFooterGroup.cpp:47:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1Heuristics.cpp:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPD_PASSWORD_MATCH_DONTKNOW [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1Heuristics.cpp:61:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1Heuristics.cpp:98:20: style: Condition 'readVal>=(unsigned char)0x20' is always true [knownConditionTrueFalse] libwpd-0.10.3/src/lib/WP1Heuristics.cpp:94:15: note: Assuming that condition 'readVal<(unsigned char)0x20' is not redundant libwpd-0.10.3/src/lib/WP1Heuristics.cpp:98:20: note: Condition 'readVal>=(unsigned char)0x20' is always true libwpd-0.10.3/src/lib/WP1JustificationGroup.cpp:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1MarginResetGroup.cpp:43:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1Parser.cpp:52:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1Parser.cpp:243:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1Parser.h:48:7: performance:inconclusive: Technically the member function 'WP1Parser::parse' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WP1Parser.cpp:47:17: note: Technically the member function 'WP1Parser::parse' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WP1Parser.h:48:7: note: Technically the member function 'WP1Parser::parse' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXStylesListener.h:36:2: style: Class 'WPXStylesListener' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libwpd-0.10.3/src/lib/WP1Parser.cpp:97:20: style: Condition 'readVal>=(unsigned char)0x20' is always true [knownConditionTrueFalse] libwpd-0.10.3/src/lib/WP1Parser.cpp:71:15: note: Assuming that condition 'readVal<(unsigned char)0x20' is not redundant libwpd-0.10.3/src/lib/WP1Parser.cpp:97:20: note: Condition 'readVal>=(unsigned char)0x20' is always true libwpd-0.10.3/src/lib/WP1Parser.cpp:232:25: style: The scope of the variable 'pageList' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP1PictureGroup.cpp:56:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1PointSizeGroup.cpp:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1SetTabsGroup.cpp:45:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1SetTabsGroup.cpp:49:9: style: The scope of the variable 'tmpTabPosition' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP1SetTabsGroup.cpp:49:24: style: Variable 'tmpTabPosition' is assigned a value that is never used. [unreadVariable] libwpd-0.10.3/src/lib/WP1SpacingResetGroup.cpp:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1StylesListener.cpp:124:21: style: Variable 'marginInch' is assigned a value that is never used. [unreadVariable] libwpd-0.10.3/src/lib/WP1SubDocument.cpp:40:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1TopMarginGroup.cpp:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1VariableLengthGroup.cpp:74:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP1VariableLengthGroup.cpp:121:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3Listener.h:57:70: performance: Function parameter 'tabStops' should be passed by const reference. [passedByValue] libwpd-0.10.3/src/lib/WP3ContentListener.cpp:860:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPD_FILE_FORMAT_WP5 [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3ContentListener.cpp:481:87: performance: Function parameter 'tabStops' should be passed by const reference. [passedByValue] libwpd-0.10.3/src/lib/WP3DefinitionGroup.cpp:61:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3DisplayGroup.cpp:50:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3FixedLengthGroup.cpp:78:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3FixedLengthGroup.cpp:107:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3FontGroup.cpp:53:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3FootnoteEndnoteGroup.cpp:45:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3HeaderFooterGroup.cpp:46:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3MiscellaneousGroup.cpp:57:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3PageFormatGroup.cpp:68:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3PageFormatGroup.cpp:60:14: style: The scope of the variable 'tmpTabType' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP3PageFormatGroup.cpp:61:9: style: The scope of the variable 'tmpTabPosition' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP3Parser.cpp:65:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3Parser.cpp:164:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3Parser.cpp:87:20: style: Condition 'readVal>=(unsigned char)0x01' is always true [knownConditionTrueFalse] libwpd-0.10.3/src/lib/WP3Parser.cpp:82:15: note: Assuming that condition 'readVal==0' is not redundant libwpd-0.10.3/src/lib/WP3Parser.cpp:87:20: note: Condition 'readVal>=(unsigned char)0x01' is always true libwpd-0.10.3/src/lib/WP3Parser.cpp:152:25: style: The scope of the variable 'pageList' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP3Parser.cpp:104:54: style:inconclusive: Function 'parse' argument 1 names different: declaration 'documentInterface' definition 'textInterface'. [funcArgNamesDifferent] libwpd-0.10.3/src/lib/WP3Parser.h:41:44: note: Function 'parse' argument 1 names different: declaration 'documentInterface' definition 'textInterface'. libwpd-0.10.3/src/lib/WP3Parser.cpp:104:54: note: Function 'parse' argument 1 names different: declaration 'documentInterface' definition 'textInterface'. libwpd-0.10.3/src/lib/WP3Parser.cpp:150:65: style:inconclusive: Function 'parseSubDocument' argument 1 names different: declaration 'documentInterface' definition 'textInterface'. [funcArgNamesDifferent] libwpd-0.10.3/src/lib/WP3Parser.h:42:55: note: Function 'parseSubDocument' argument 1 names different: declaration 'documentInterface' definition 'textInterface'. libwpd-0.10.3/src/lib/WP3Parser.cpp:150:65: note: Function 'parseSubDocument' argument 1 names different: declaration 'documentInterface' definition 'textInterface'. libwpd-0.10.3/src/lib/WP3ContentListener.h:83:62: performance: Function parameter 'tabStops' should be passed by const reference. [passedByValue] libwpd-0.10.3/src/lib/WP3ResourceFork.cpp:35:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3StylesListener.cpp:46:2: performance: Variable 'm_pageListHardPageMark' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libwpd-0.10.3/src/lib/WP3SubDocument.cpp:40:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3TablesGroup.cpp:67:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3VariableLengthGroup.cpp:89:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3VariableLengthGroup.cpp:137:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP3VariableLengthGroup.cpp:87:28: warning: Invalid test for overflow 'startPosition+size=(unsigned char)0x20' is always true [knownConditionTrueFalse] libwpd-0.10.3/src/lib/WP42Heuristics.cpp:95:15: note: Assuming that condition 'readVal<(unsigned char)0x20' is not redundant libwpd-0.10.3/src/lib/WP42Heuristics.cpp:99:20: note: Condition 'readVal>=(unsigned char)0x20' is always true libwpd-0.10.3/src/lib/WP42MarginResetGroup.cpp:44:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP42Parser.cpp:53:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP42Parser.h:45:7: performance:inconclusive: Technically the member function 'WP42Parser::parse' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WP42Parser.cpp:49:18: note: Technically the member function 'WP42Parser::parse' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WP42Parser.h:45:7: note: Technically the member function 'WP42Parser::parse' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WP42Parser.cpp:96:20: style: Condition 'readVal>=(unsigned char)0x20' is always true [knownConditionTrueFalse] libwpd-0.10.3/src/lib/WP42Parser.cpp:70:15: note: Assuming that condition 'readVal<(unsigned char)0x20' is not redundant libwpd-0.10.3/src/lib/WP42Parser.cpp:96:20: note: Condition 'readVal>=(unsigned char)0x20' is always true libwpd-0.10.3/src/lib/WP42Parser.cpp:210:25: style: The scope of the variable 'pageList' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP42SubDocument.cpp:40:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5BoxGroup.cpp:62:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5ContentListener.h:86:7: performance:inconclusive: Technically the member function 'WP5ContentListener::paragraphMarginChange' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WP5DefinitionGroup.cpp:40:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5FixedLengthGroup.cpp:74:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5FixedLengthGroup.cpp:103:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5FontGroup.cpp:51:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5FootnoteEndnoteGroup.cpp:53:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5GeneralPacketData.cpp:60:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5GeneralPacketData.cpp:39:158: style: Parameter 'packetIndex' can be declared as pointer to const [constParameterPointer] libwpd-0.10.3/src/lib/WP5Header.cpp:34:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5HeaderFooterGroup.cpp:45:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5IndentGroup.cpp:44:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5ListFontsUsedPacket.cpp:53:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5ListFontsUsedPacket.cpp:49:11: style: The scope of the variable 'tempFontNameOffset' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP5PageFormatGroup.cpp:64:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5Parser.cpp:60:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5Parser.cpp:208:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5Parser.h:47:17: performance:inconclusive: Technically the member function 'WP5Parser::getPrefixData' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WP5Parser.cpp:51:27: note: Technically the member function 'WP5Parser::getPrefixData' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WP5Parser.h:47:17: note: Technically the member function 'WP5Parser::getPrefixData' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WP5Parser.cpp:81:20: style: Condition 'readVal>=(unsigned char)0x01' is always true [knownConditionTrueFalse] libwpd-0.10.3/src/lib/WP5Parser.cpp:77:15: note: Assuming that condition 'readVal==0' is not redundant libwpd-0.10.3/src/lib/WP5Parser.cpp:81:20: note: Condition 'readVal>=(unsigned char)0x01' is always true libwpd-0.10.3/src/lib/WP5Parser.cpp:196:25: style: The scope of the variable 'pageList' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP5PrefixData.cpp:78:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5StylesListener.cpp:87:32: performance:inconclusive: Use const reference for 'headerFooterList' to avoid unnecessary data copying. [redundantCopyLocalConst] libwpd-0.10.3/src/lib/WP5SubDocument.cpp:40:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5TabGroup.cpp:43:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5TableEOLGroup.cpp:70:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5VariableLengthGroup.cpp:82:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP5VariableLengthGroup.cpp:124:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP61Header.cpp:36:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6BoxGroup.cpp:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6GraphicsFilenamePacket.h:40:7: style: The function 'parse' overrides a function in a base class but is identical to the overridden function [uselessOverride] libwpd-0.10.3/src/lib/WP6PrefixDataPacket.h:43:15: note: Virtual function in base class libwpd-0.10.3/src/lib/WP6GraphicsFilenamePacket.h:40:7: note: Function in derived class libwpd-0.10.3/src/lib/WP6GraphicsBoxStylePacket.h:40:7: style: The function 'parse' overrides a function in a base class but is identical to the overridden function [uselessOverride] libwpd-0.10.3/src/lib/WP6PrefixDataPacket.h:43:15: note: Virtual function in base class libwpd-0.10.3/src/lib/WP6GraphicsBoxStylePacket.h:40:7: note: Function in derived class libwpd-0.10.3/src/lib/WP6CommentAnnotationPacket.h:38:7: style: The function 'parse' overrides a function in a base class but is identical to the overridden function [uselessOverride] libwpd-0.10.3/src/lib/WP6PrefixDataPacket.h:43:15: note: Virtual function in base class libwpd-0.10.3/src/lib/WP6CommentAnnotationPacket.h:38:7: note: Function in derived class libwpd-0.10.3/src/lib/WP6ColumnGroup.cpp:68:19: style: The scope of the variable 'tmpWidth' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP6ColumnGroup.cpp:69:18: style: The scope of the variable 'tmpDefinition' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP6ContentListener.h:147:19: style:inconclusive: Technically the member function 'WP6OutlineDefinition::getListType' can be const. [functionConst] libwpd-0.10.3/src/lib/WP6ContentListener.h:86:2: style: Struct 'WP6ContentParsingState' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libwpd-0.10.3/src/lib/WP6GraphicsCachedFileDataPacket.h:38:7: style: The function 'parse' overrides a function in a base class but is identical to the overridden function [uselessOverride] libwpd-0.10.3/src/lib/WP6PrefixDataPacket.h:43:15: note: Virtual function in base class libwpd-0.10.3/src/lib/WP6GraphicsCachedFileDataPacket.h:38:7: note: Function in derived class libwpd-0.10.3/src/lib/WP6ContentListener.cpp:201:13: style: Checking if unsigned expression 'retVal' is less than zero. [unsignedLessThanZero] libwpd-0.10.3/src/lib/WP6ContentListener.cpp:58:19: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] libwpd-0.10.3/src/lib/WP6EOLGroup.cpp:78:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6FillStylePacket.h:41:7: style: The function 'parse' overrides a function in a base class but is identical to the overridden function [uselessOverride] libwpd-0.10.3/src/lib/WP6PrefixDataPacket.h:43:15: note: Virtual function in base class libwpd-0.10.3/src/lib/WP6FillStylePacket.h:41:7: note: Function in derived class libwpd-0.10.3/src/lib/WP6ExtendedDocumentSummaryPacket.cpp:81:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6FillStylePacket.cpp:53:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6FixedLengthGroup.cpp:80:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6FixedLengthGroup.cpp:109:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6FontDescriptorPacket.cpp:124:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6GeneralTextPacket.cpp:49:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6GraphicsBoxStylePacket.cpp:64:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6GraphicsFilenamePacket.h:41:30: performance: Function 'getChildIds()' should return member 'm_childIds' by const reference. [returnByReference] libwpd-0.10.3/src/lib/WP6Header.cpp:37:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6Header.cpp:56:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6OutlineStylePacket.cpp:50:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6OutlineStylePacket.cpp:39:19: style: Consider using std::fill algorithm instead of a raw loop. [useStlAlgorithm] libwpd-0.10.3/src/lib/WP6OutlineStylePacket.cpp:58:19: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] libwpd-0.10.3/src/lib/WP6PageGroup.cpp:96:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6ParagraphGroup.cpp:126:16: style: The scope of the variable 'tabType' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP6ParagraphGroup.cpp:325:19: style: Consider using std::fill or std::generate algorithm instead of a raw loop. [useStlAlgorithm] libwpd-0.10.3/src/lib/WP6ParagraphGroup.cpp:126:24: style: Variable 'tabType' is assigned a value that is never used. [unreadVariable] libwpd-0.10.3/src/lib/WP6Parser.cpp:79:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6Parser.cpp:240:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6StylesListener.h:145:7: performance:inconclusive: Technically the member function 'WP6StylesListener::_flushText' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WP6StylesListener.h:146:7: performance:inconclusive: Technically the member function 'WP6StylesListener::_changeList' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WP6Parser.h:52:7: performance:inconclusive: Technically the member function 'WP6Parser::parsePacket' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WP6Parser.cpp:154:17: note: Technically the member function 'WP6Parser::parsePacket' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WP6Parser.h:52:7: note: Technically the member function 'WP6Parser::parsePacket' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WP6Parser.h:53:7: performance:inconclusive: Technically the member function 'WP6Parser::parsePackets' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WP6Parser.cpp:166:17: note: Technically the member function 'WP6Parser::parsePackets' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WP6Parser.h:53:7: note: Technically the member function 'WP6Parser::parsePackets' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WP6Parser.cpp:140:20: style: Condition 'readVal>=(unsigned char)0x21' is always true [knownConditionTrueFalse] libwpd-0.10.3/src/lib/WP6Parser.cpp:136:20: note: Assuming that condition 'readVal<=(unsigned char)0x20' is not redundant libwpd-0.10.3/src/lib/WP6Parser.cpp:140:20: note: Condition 'readVal>=(unsigned char)0x21' is always true libwpd-0.10.3/src/lib/WP6Parser.cpp:228:25: style: The scope of the variable 'pageList' can be reduced. [variableScope] libwpd-0.10.3/src/lib/WP6Parser.cpp:154:44: style: Parameter 'prefixData' can be declared as pointer to const [constParameterPointer] libwpd-0.10.3/src/lib/WP6Parser.cpp:166:45: style: Parameter 'prefixData' can be declared as pointer to const [constParameterPointer] libwpd-0.10.3/src/lib/WP6PrefixDataPacket.cpp:109:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6TableStylePacket.h:38:7: style: The function 'parse' overrides a function in a base class but is identical to the overridden function [uselessOverride] libwpd-0.10.3/src/lib/WP6PrefixDataPacket.h:43:15: note: Virtual function in base class libwpd-0.10.3/src/lib/WP6TableStylePacket.h:38:7: note: Function in derived class libwpd-0.10.3/src/lib/WP6SubDocument.cpp:40:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6TabGroup.cpp:62:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6VariableLengthGroup.cpp:103:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WP6VariableLengthGroup.cpp:162:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPDocument.cpp:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPD_CONFIDENCE_NONE [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPDocument.cpp:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPD_PASSWORD_MATCH_DONTKNOW [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPDocument.cpp:226:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPD_FILE_ACCESS_ERROR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPDocument.cpp:364:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WPD_FILE_ACCESS_ERROR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPXContentListener.cpp:218:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_TWIP [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPXContentListener.cpp:280:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_POINT [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPXContentListener.cpp:608:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_PERCENT [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPXContentListener.cpp:881:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_POINT [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPXContentListener.cpp:1019:18: style:inconclusive: Boolean expression 'isHeaderRow' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] libwpd-0.10.3/src/lib/WPXContentListener.h:178:7: performance:inconclusive: Technically the member function 'WPXContentListener::_appendJustification' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WPXContentListener.cpp:556:26: note: Technically the member function 'WPXContentListener::_appendJustification' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.h:178:7: note: Technically the member function 'WPXContentListener::_appendJustification' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.h:199:9: style:inconclusive: Technically the member function 'WPXContentListener::_movePositionToFirstColumn' can be const. [functionConst] libwpd-0.10.3/src/lib/WPXContentListener.cpp:1430:28: note: Technically the member function 'WPXContentListener::_movePositionToFirstColumn' can be const. libwpd-0.10.3/src/lib/WPXContentListener.h:199:9: note: Technically the member function 'WPXContentListener::_movePositionToFirstColumn' can be const. libwpd-0.10.3/src/lib/WPXContentListener.h:206:7: style:inconclusive: Technically the member function 'WPXContentListener::_insertBreakIfNecessary' can be const. [functionConst] libwpd-0.10.3/src/lib/WPXContentListener.cpp:660:26: note: Technically the member function 'WPXContentListener::_insertBreakIfNecessary' can be const. libwpd-0.10.3/src/lib/WPXContentListener.h:206:7: note: Technically the member function 'WPXContentListener::_insertBreakIfNecessary' can be const. libwpd-0.10.3/src/lib/WPXContentListener.h:215:25: performance:inconclusive: Technically the member function 'WPXContentListener::_colorToString' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WPXContentListener.cpp:1380:44: note: Technically the member function 'WPXContentListener::_colorToString' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.h:215:25: note: Technically the member function 'WPXContentListener::_colorToString' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.h:216:25: performance:inconclusive: Technically the member function 'WPXContentListener::_mergeColorsToString' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WPXContentListener.cpp:1399:44: note: Technically the member function 'WPXContentListener::_mergeColorsToString' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.h:216:25: note: Technically the member function 'WPXContentListener::_mergeColorsToString' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.h:217:11: performance:inconclusive: Technically the member function 'WPXContentListener::_mapSymbolFontCharacter' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WPXContentListener.cpp:1461:30: note: Technically the member function 'WPXContentListener::_mapSymbolFontCharacter' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.h:217:11: note: Technically the member function 'WPXContentListener::_mapSymbolFontCharacter' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.h:218:11: performance:inconclusive: Technically the member function 'WPXContentListener::_mapDingbatsFontCharacter' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WPXContentListener.cpp:1506:30: note: Technically the member function 'WPXContentListener::_mapDingbatsFontCharacter' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.h:218:11: note: Technically the member function 'WPXContentListener::_mapDingbatsFontCharacter' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXContentListener.cpp:1019:18: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libwpd-0.10.3/src/lib/WPXContentListener.cpp:250:102: style:inconclusive: Function '_insertPageNumberParagraph' argument 2 names different: declaration 'type' definition 'numberingType'. [funcArgNamesDifferent] libwpd-0.10.3/src/lib/WPXContentListener.h:208:83: note: Function '_insertPageNumberParagraph' argument 2 names different: declaration 'type' definition 'numberingType'. libwpd-0.10.3/src/lib/WPXContentListener.cpp:250:102: note: Function '_insertPageNumberParagraph' argument 2 names different: declaration 'type' definition 'numberingType'. libwpd-0.10.3/src/lib/WPXContentListener.cpp:376:31: performance:inconclusive: Use const reference for 'headerFooterList' to avoid unnecessary data copying. [redundantCopyLocalConst] libwpd-0.10.3/src/lib/WPXHeader.cpp:59:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_SET [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPXMemoryStream.cpp:70:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RVNG_SEEK_CUR [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPXPageSpan.cpp:194:37: performance:inconclusive: Use const reference for 'headerFooterList1' to avoid unnecessary data copying. [redundantCopyLocalConst] libwpd-0.10.3/src/lib/WPXPageSpan.cpp:195:37: performance:inconclusive: Use const reference for 'headerFooterList2' to avoid unnecessary data copying. [redundantCopyLocalConst] libwpd-0.10.3/src/lib/WPXPageSpan.cpp:147:13: style: Variable 'iter' can be declared as reference to const [constVariableReference] libwpd-0.10.3/src/lib/WPXPageSpan.cpp:137:3: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] libwpd-0.10.3/src/lib/WPXPageSpan.cpp:147:2: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] libwpd-0.10.3/src/lib/WPXTable.cpp:107:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_rowSpan [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPXTable.cpp:138:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_rowSpan [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/WPXTable.cpp:138:27: style: Array index 'i1' is used before limits check. [arrayIndexThenCheck] libwpd-0.10.3/src/lib/WPXTable.h:76:7: performance:inconclusive: Technically the member function 'WPXTable::_makeCellBordersConsistent' can be static (but you may consider moving to unnamed namespace). [functionStatic] libwpd-0.10.3/src/lib/WPXTable.cpp:81:16: note: Technically the member function 'WPXTable::_makeCellBordersConsistent' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/WPXTable.h:76:7: note: Technically the member function 'WPXTable::_makeCellBordersConsistent' can be static (but you may consider moving to unnamed namespace). libwpd-0.10.3/src/lib/libwpd_internal.cpp:1296:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int_ [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/libwpd_internal.cpp:1403:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] libwpd-0.10.3/src/lib/libwpd_internal.cpp:663:6: style: The scope of the variable 'i' can be reduced. [variableScope] diff: DONE