2025-11-19 01:28 ftp://ftp.de.debian.org/debian/pool/main/q/qtspell/qtspell_1.0.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --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 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: 1ca1246 (2025-11-18 18:56:39 +0100) count: 57 55 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: qtspell-1.0.2/examples/example.hpp:51:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ActionRole [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/Codetable.cpp:62:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISO_CODES_PREFIX [valueFlowBailoutIncompleteVar] qtspell-1.0.2/examples/example.cpp:34:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TranslationsPath [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/Codetable.cpp:103:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/Codetable.cpp:99:17: performance:inconclusive: Technically the member function 'QtSpell::Codetable::parse' can be static (but you may consider moving to unnamed namespace). [functionStatic] qtspell-1.0.2/src/Codetable.hpp:59:7: note: Technically the member function 'QtSpell::Codetable::parse' can be static (but you may consider moving to unnamed namespace). qtspell-1.0.2/src/Codetable.cpp:99:17: note: Technically the member function 'QtSpell::Codetable::parse' can be static (but you may consider moving to unnamed namespace). qtspell-1.0.2/src/Checker_p.hpp:47:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/Checker.cpp:58:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TranslationsPath [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:53:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/UndoRedoStack.cpp:86:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable End [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/UndoRedoStack.cpp:154:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/UndoRedoStack.cpp:187:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/UndoRedoStack.cpp:37:3: performance: Variable 'text' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] qtspell-1.0.2/src/UndoRedoStack.cpp:53:3: performance: Variable 'text' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] qtspell-1.0.2/src/Checker_p.hpp:47:2: performance:inconclusive: Technically the member function 'QtSpell::CheckerPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] qtspell-1.0.2/src/TextEditChecker_p.hpp:53:2: performance:inconclusive: Technically the member function 'QtSpell::TextEditCheckerPrivate::d_func' can be static (but you may consider moving to unnamed namespace). [functionStatic] qtspell-1.0.2/src/UndoRedoStack.hpp:34:2: style: Class 'UndoRedoStack' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtspell-1.0.2/src/QtSpell.hpp:227:2: style: Class 'TextEditChecker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtspell-1.0.2/src/TextEditChecker_p.hpp:64:2: style: Class 'TextCursor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtspell-1.0.2/src/TextEditChecker_p.hpp:66:2: style: Class 'TextCursor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtspell-1.0.2/src/TextEditChecker_p.hpp:68:2: style: Class 'TextCursor' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtspell-1.0.2/src/TextEditChecker_p.hpp:146:2: style: Class 'TextEditProxyT' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtspell-1.0.2/src/QtSpell.hpp:232:3: style: The destructor '~TextEditChecker' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/QtSpell.hpp:61:11: note: Virtual destructor in base class qtspell-1.0.2/src/QtSpell.hpp:232:3: note: Destructor in derived class qtspell-1.0.2/src/QtSpell.hpp:264:7: style: The function 'checkSpelling' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/QtSpell.hpp:68:15: note: Virtual function in base class qtspell-1.0.2/src/QtSpell.hpp:264:7: note: Function in derived class qtspell-1.0.2/src/QtSpell.hpp:320:10: style: The function 'getWord' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/QtSpell.hpp:190:18: note: Virtual function in base class qtspell-1.0.2/src/QtSpell.hpp:320:10: note: Function in derived class qtspell-1.0.2/src/QtSpell.hpp:321:7: style: The function 'insertWord' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/QtSpell.hpp:198:15: note: Virtual function in base class qtspell-1.0.2/src/QtSpell.hpp:321:7: note: Function in derived class qtspell-1.0.2/src/QtSpell.hpp:322:7: style: The function 'isAttached' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/QtSpell.hpp:204:15: note: Virtual function in base class qtspell-1.0.2/src/QtSpell.hpp:322:7: note: Function in derived class qtspell-1.0.2/src/TextEditChecker.cpp:65:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StartOfWord [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:41:11: style: The destructor '~TextEditCheckerPrivate' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/Checker_p.hpp:35:11: note: Virtual destructor in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:41:11: note: Destructor in derived class qtspell-1.0.2/src/TextEditChecker.cpp:84:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EndOfWord [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:151:14: style: The function 'textCursor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:125:22: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:151:14: note: Function in derived class qtspell-1.0.2/src/TextEditChecker.cpp:133:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable contentsChange [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:152:17: style: The function 'document' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:126:25: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:152:17: note: Function in derived class qtspell-1.0.2/src/TextEditChecker.cpp:188:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:153:9: style: The function 'mapToGlobal' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:127:17: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:153:9: note: Function in derived class qtspell-1.0.2/src/TextEditChecker.cpp:209:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable End [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:154:9: style: The function 'createStandardContextMenu' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:128:17: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:154:9: note: Function in derived class qtspell-1.0.2/src/TextEditChecker.cpp:259:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserProperty [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:155:14: style: The function 'cursorForPosition' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:129:22: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:155:14: note: Function in derived class qtspell-1.0.2/src/TextEditChecker.cpp:307:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:156:7: style: The function 'setContextMenuPolicy' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:130:15: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:156:7: note: Function in derived class qtspell-1.0.2/src/TextEditChecker.cpp:320:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeepAnchor [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:157:7: style: The function 'setTextCursor' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:131:15: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:157:7: note: Function in derived class qtspell-1.0.2/src/TextEditChecker.cpp:371:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable End [valueFlowBailoutIncompleteVar] qtspell-1.0.2/src/TextEditChecker_p.hpp:158:24: style: The function 'contextMenuPolicy' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:132:32: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:158:24: note: Function in derived class qtspell-1.0.2/src/TextEditChecker_p.hpp:159:7: style: The function 'installEventFilter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:133:15: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:159:7: note: Function in derived class qtspell-1.0.2/src/TextEditChecker_p.hpp:160:7: style: The function 'removeEventFilter' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:134:15: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:160:7: note: Function in derived class qtspell-1.0.2/src/TextEditChecker_p.hpp:161:7: style: The function 'ensureCursorVisible' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] qtspell-1.0.2/src/TextEditChecker_p.hpp:135:15: note: Virtual function in base class qtspell-1.0.2/src/TextEditChecker_p.hpp:161:7: note: Function in derived class qtspell-1.0.2/src/Checker.cpp:85:9: warning: Class 'CheckerPrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] qtspell-1.0.2/src/Checker.cpp:85:9: warning: Class 'CheckerPrivate' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] qtspell-1.0.2/src/UndoRedoStack.cpp:119:15: style: Local variable 'c' shadows outer variable [shadowVariable] qtspell-1.0.2/src/UndoRedoStack.cpp:85:14: note: Shadowed declaration qtspell-1.0.2/src/UndoRedoStack.cpp:119:15: note: Shadow variable qtspell-1.0.2/src/UndoRedoStack.cpp:99:19: style: Variable 'undoAction' can be declared as pointer to const [constVariablePointer] qtspell-1.0.2/src/UndoRedoStack.cpp:122:19: style: Variable 'undoAction' can be declared as pointer to const [constVariablePointer] qtspell-1.0.2/src/Checker.cpp:274:2: style: Variable 'd' can be declared as pointer to const [constVariablePointer] qtspell-1.0.2/src/Checker.cpp:365:11: style: Variable 'action' can be declared as pointer to const [constVariablePointer] qtspell-1.0.2/src/TextEditChecker_p.hpp:146:2: style: Class 'TextEditProxyT < QTextEdit >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtspell-1.0.2/src/TextEditChecker_p.hpp:146:2: style: Class 'TextEditProxyT < QPlainTextEdit >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] qtspell-1.0.2/src/TextEditChecker.cpp:268:115: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] diff: head qtspell-1.0.2/src/Checker.cpp:85:9: warning: Class 'CheckerPrivate' does not have a copy constructor which is recommended since it has dynamic memory/resource management. [noCopyConstructor] head qtspell-1.0.2/src/Checker.cpp:85:9: warning: Class 'CheckerPrivate' does not have a operator= which is recommended since it has dynamic memory/resource management. [noOperatorEq] DONE