2025-07-11 00:57 ftp://ftp.de.debian.org/debian/pool/main/q/qt-qml-models/qt-qml-models_0~0.0.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 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 36 34 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: QQmlObjectListModel.h:103:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] QQmlObjectListModel.h:112:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] QQmlObjectListModel.h:330:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] QQmlObjectListModel.h:346:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UniqueConnection [valueFlowBailoutIncompleteVar] QQmlObjectListModel.h:385:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DisplayRole [valueFlowBailoutIncompleteVar] QQmlObjectListModel.h:146:9: style: The function 'roleForName' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:38:17: note: Virtual function in base class QQmlObjectListModel.h:146:9: note: Function in derived class QQmlObjectListModel.h:149:9: style: The function 'count' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:34:17: note: Virtual function in base class QQmlObjectListModel.h:149:9: note: Function in derived class QQmlObjectListModel.h:152:9: style: The function 'size' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:33:17: note: Virtual function in base class QQmlObjectListModel.h:152:9: note: Function in derived class QQmlObjectListModel.h:155:10: style: The function 'isEmpty' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:35:18: note: Virtual function in base class QQmlObjectListModel.h:155:10: note: Function in derived class QQmlObjectListModel.h:164:10: style: The function 'clear' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:39:18: note: Virtual function in base class QQmlObjectListModel.h:164:10: note: Function in derived class QQmlObjectListModel.h:244:10: style: The function 'move' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:43:18: note: Virtual function in base class QQmlObjectListModel.h:244:10: note: Function in derived class QQmlObjectListModel.h:259:10: style: The function 'remove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:45:18: note: Virtual function in base class QQmlObjectListModel.h:259:10: note: Function in derived class QQmlObjectListModel.h:279:10: style: The function 'append' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:40:18: note: Virtual function in base class QQmlObjectListModel.h:279:10: note: Function in derived class QQmlObjectListModel.h:282:10: style: The function 'prepend' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:41:18: note: Virtual function in base class QQmlObjectListModel.h:282:10: note: Function in derived class QQmlObjectListModel.h:285:10: style: The function 'insert' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:42:18: note: Virtual function in base class QQmlObjectListModel.h:285:10: note: Function in derived class QQmlObjectListModel.h:288:10: style: The function 'remove' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:44:18: note: Virtual function in base class QQmlObjectListModel.h:288:10: note: Function in derived class QQmlObjectListModel.h:291:10: style: The function 'contains' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:36:18: note: Virtual function in base class QQmlObjectListModel.h:291:10: note: Function in derived class QQmlObjectListModel.h:294:9: style: The function 'indexOf' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:37:17: note: Virtual function in base class QQmlObjectListModel.h:294:9: note: Function in derived class QQmlObjectListModel.h:300:15: style: The function 'get' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:46:23: note: Virtual function in base class QQmlObjectListModel.h:300:15: note: Function in derived class QQmlObjectListModel.h:303:15: style: The function 'get' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:47:23: note: Virtual function in base class QQmlObjectListModel.h:303:15: note: Function in derived class QQmlObjectListModel.h:306:15: style: The function 'getFirst' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:48:23: note: Virtual function in base class QQmlObjectListModel.h:306:15: note: Function in derived class QQmlObjectListModel.h:309:15: style: The function 'getLast' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:49:23: note: Virtual function in base class QQmlObjectListModel.h:309:15: note: Function in derived class QQmlObjectListModel.h:312:18: style: The function 'toVarArray' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:50:26: note: Virtual function in base class QQmlObjectListModel.h:312:18: note: Function in derived class QQmlObjectListModel.h:375:10: style: The function 'onItemPropertyChanged' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] QQmlObjectListModel.h:53:18: note: Virtual function in base class QQmlObjectListModel.h:375:10: note: Function in derived class QQmlObjectListModel.h:118:28: performance: Function 'roleNames()' should return member 'm_roles' by const reference. [returnByReference] QQmlQListVariantConverter.h:11:88: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] QQmlQListVariantConverter.h:21:93: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] QQmlObjectListModel.h:167:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] QQmlObjectListModel.h:209:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] QQmlObjectListModel.h:221:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] QQmlObjectListModel.h:235:13: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] QQmlObjectListModel.h:343:114: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] QQmlVariantListModel.cpp:82:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] QQmlVariantListModel.cpp:118:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] QQmlVariantListModel.cpp:220:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UserRole [valueFlowBailoutIncompleteVar] QQmlVariantListModel.h:21:28: performance: Function 'roleNames()' should return member 'm_roles' by const reference. [returnByReference] diff: head QQmlObjectListModel.h:118:28: performance: Function 'roleNames()' should return member 'm_roles' by const reference. [returnByReference] head QQmlVariantListModel.h:21:28: performance: Function 'roleNames()' should return member 'm_roles' by const reference. [returnByReference] DONE