2026-01-17 18:34 ftp://ftp.de.debian.org/debian/pool/main/l/lomiri-messaging-app/lomiri-messaging-app_2.0.1.orig.tar.bz2 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 -j8 platform: Linux-6.17.12+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.11 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-12) 15.2.0 cppcheck: head 2.19.0 head-info: ae060ded (2026-01-17 14:25:56 +0100) count: 42 40 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: lomiri-messaging-app-2.0.1/src/fileoperations.cpp:41:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CacheLocation [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/fileoperations.h:32:5: style: Class 'FileOperations' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lomiri-messaging-app-2.0.1/tests/qml/tst_QmlTests.cpp:56:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dirs [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/audiorecorder.cpp:34:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable State [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/audiorecorder.cpp:121:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RecordingState [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/audiorecorder.cpp:126:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StoppedState [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/audiorecorder.cpp:131:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PausedState [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/audiorecorder.cpp:142:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CacheLocation [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:216:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dirs [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:166:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Status [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:238:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ready [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:277:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FullyDecoded [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:312:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:331:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTIFY_URGENCY_LOW [valueFlowBailoutIncompleteVar] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:61:16: style: Error code from the return value of function m_database.open() is not used. [ignoredReturnErrorCode] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:73:11: style: Error code from the return value of function query.prepare() is not used. [ignoredReturnErrorCode] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:84:11: style: Error code from the return value of function query.prepare() is not used. [ignoredReturnErrorCode] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:237:11: style: Error code from the return value of function query.prepare() is not used. [ignoredReturnErrorCode] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:252:11: style: Error code from the return value of function query.prepare() is not used. [ignoredReturnErrorCode] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:277:11: style: Error code from the return value of function query.prepare() is not used. [ignoredReturnErrorCode] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:300:11: style: Error code from the return value of function query.prepare() is not used. [ignoredReturnErrorCode] lomiri-messaging-app-2.0.1/src/audiorecorder.h:88:5: style: Class 'AudioRecorder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:117:30: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:311:30: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:197:24: style:inconclusive: Either there is a missing 'override', or the member function 'StickersPackModel::getEntryIndex' can be const. [functionConst] lomiri-messaging-app-2.0.1/src/stickers-pack-model.h:89:9: note: Either there is a missing 'override', or the member function 'StickersPackModel::getEntryIndex' can be const. lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:197:24: note: Either there is a missing 'override', or the member function 'StickersPackModel::getEntryIndex' can be const. lomiri-messaging-app-2.0.1/src/stickers-history-model.h:41:5: style: Class 'StickersHistoryModel' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:45:5: performance: Variable 'm_database' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] lomiri-messaging-app-2.0.1/src/stickers-pack-model.h:30:13: performance: Function 'name()' should return member 'm_name' by const reference. [returnByReference] lomiri-messaging-app-2.0.1/src/stickers-pack-model.h:31:13: performance: Function 'path()' should return member 'm_path' by const reference. [returnByReference] lomiri-messaging-app-2.0.1/src/stickers-pack-model.h:34:13: performance: Function 'thumbnail()' should return member 'm_thumbnail' by const reference. [returnByReference] lomiri-messaging-app-2.0.1/src/stickers-pack-model.h:66:19: performance: Function 'stickerPath()' should return member 'm_stickerPath' by const reference. [returnByReference] lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:96:5: performance: Variable 'mValidSchemes' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:320:31: style:inconclusive: Either there is a missing 'override', or the member function 'MessagingApplication::fileMimeType' can be const. [functionConst] lomiri-messaging-app-2.0.1/src/messagingapplication.h:50:13: note: Either there is a missing 'override', or the member function 'MessagingApplication::fileMimeType' can be const. lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:320:31: note: Either there is a missing 'override', or the member function 'MessagingApplication::fileMimeType' can be const. lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:230:42: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:115:28: style: The scope of the variable 'roles' can be reduced. [variableScope] lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:309:28: style: The scope of the variable 'roles' can be reduced. [variableScope] lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:112:40: style:inconclusive: Function 'get' argument 1 names different: declaration 'index' definition 'i'. [funcArgNamesDifferent] lomiri-messaging-app-2.0.1/src/stickers-pack-model.h:73:37: note: Function 'get' argument 1 names different: declaration 'index' definition 'i'. lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:112:40: note: Function 'get' argument 1 names different: declaration 'index' definition 'i'. lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:306:43: style:inconclusive: Function 'get' argument 1 names different: declaration 'index' definition 'i'. [funcArgNamesDifferent] lomiri-messaging-app-2.0.1/src/stickers-history-model.h:62:37: note: Function 'get' argument 1 names different: declaration 'index' definition 'i'. lomiri-messaging-app-2.0.1/src/stickers-history-model.cpp:306:43: note: Function 'get' argument 1 names different: declaration 'index' definition 'i'. lomiri-messaging-app-2.0.1/src/stickers-pack-model.h:80:36: performance: Function parameter 'packName' should be passed by const reference. [passedByValue] lomiri-messaging-app-2.0.1/src/stickers-pack-model.h:81:36: performance: Function parameter 'packName' should be passed by const reference. [passedByValue] lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:58:40: performance: Function parameter 'thumbnail' should be passed by const reference. [passedByValue] lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:131:42: style: C-style pointer casting [cstyleCast] diff: head lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:320:31: style:inconclusive: Either there is a missing 'override', or the member function 'MessagingApplication::fileMimeType' can be const. [functionConst] lomiri-messaging-app-2.0.1/src/messagingapplication.h:50:13: note: Either there is a missing 'override', or the member function 'MessagingApplication::fileMimeType' can be const. lomiri-messaging-app-2.0.1/src/messagingapplication.cpp:320:31: note: Either there is a missing 'override', or the member function 'MessagingApplication::fileMimeType' can be const. head lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:197:24: style:inconclusive: Either there is a missing 'override', or the member function 'StickersPackModel::getEntryIndex' can be const. [functionConst] lomiri-messaging-app-2.0.1/src/stickers-pack-model.h:89:9: note: Either there is a missing 'override', or the member function 'StickersPackModel::getEntryIndex' can be const. lomiri-messaging-app-2.0.1/src/stickers-pack-model.cpp:197:24: note: Either there is a missing 'override', or the member function 'StickersPackModel::getEntryIndex' can be const. DONE