2026-10-06 03:52 ftp://ftp.de.debian.org/debian/pool/main/d/danmaq/danmaq_0.3.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.12.107+deb13-amd64-x86_64-with-glibc2.41 python: 3.12.14 client-version: 1.4.0 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.22.0 head-info: 746b3a7 (2026-10-04 08:53:56 +0200) count: 37 37 elapsed-time: 0.1 0.1 head-timing-info: old-timing-info: head results: danmaQ-0.3.0/src/DMCanvas.cpp:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMCanvas.cpp:135:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMCanvas.cpp:156:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMCanvas.cpp:187:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMCanvas.cpp:191:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMCanvas.cpp:139:15: style:inconclusive: Either there is a missing 'override', or the member function 'DMCanvas::slot_y' can be const. [functionConst] danmaQ-0.3.0/src/DMCanvas.hpp:34:7: note: Either there is a missing 'override', or the member function 'DMCanvas::slot_y' can be const. danmaQ-0.3.0/src/DMCanvas.cpp:139:15: note: Either there is a missing 'override', or the member function 'DMCanvas::slot_y' can be const. danmaQ-0.3.0/src/DMCanvas.cpp:76:18: style:inconclusive: Either there is a missing 'override', or the member function 'DMCanvas::getGlboalPoint' can be const. [functionConst] danmaQ-0.3.0/src/DMCanvas.hpp:36:10: note: Either there is a missing 'override', or the member function 'DMCanvas::getGlboalPoint' can be const. danmaQ-0.3.0/src/DMCanvas.cpp:76:18: note: Either there is a missing 'override', or the member function 'DMCanvas::getGlboalPoint' can be const. danmaQ-0.3.0/src/DMMainWindow.hpp:36:3: style: Class 'DMTrayIcon' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] danmaQ-0.3.0/src/DMMainWindow.hpp:52:3: style: Class 'DMMainWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] danmaQ-0.3.0/src/DMCanvas.hpp:29:3: style: Class 'DMCanvas' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] danmaQ-0.3.0/src/Subscriber.hpp:29:3: style: Class 'Subscriber' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] danmaQ-0.3.0/src/DMCanvas.cpp:80:38: style:inconclusive: Function 'allocate_slot' argument 1 names different: declaration '' definition 'position'. [funcArgNamesDifferentUnnamed] danmaQ-0.3.0/src/DMCanvas.cpp:143:40: style:inconclusive: Function 'escape_text' argument 1 names different: declaration '' definition 'text'. [funcArgNamesDifferentUnnamed] danmaQ-0.3.0/src/DMCanvas.cpp:173:40: style:inconclusive: Function 'delete_danmaku' argument 1 names different: declaration '' definition 'dm'. [funcArgNamesDifferentUnnamed] danmaQ-0.3.0/src/DMCanvas.cpp:143:40: style: Parameter 'text' can be declared as reference to const [constParameterReference] danmaQ-0.3.0/src/DMCanvas.cpp:173:40: style: Either there is a missing override/final keyword, or the parameter 'dm' can be declared as pointer to const. However it seems that 'delete_danmaku' is a callback function, if 'dm' is declared with const you might also need to cast function pointer(s). [constParameterCallback] danmaQ-0.3.0/src/DMCanvas.cpp:169:55: note: You might need to cast the function pointer here danmaQ-0.3.0/src/DMCanvas.cpp:173:40: note: Either there is a missing override/final keyword, or the parameter 'dm' can be declared as pointer to const danmaQ-0.3.0/src/DMMainWindow.cpp:69:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hide [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMMainWindow.cpp:83:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMMainWindow.cpp:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMMainWindow.cpp:159:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMMainWindow.cpp:167:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMMainWindow.cpp:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/DMMainWindow.cpp:213:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Trigger [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/Danmaku.cpp:58:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WA_DeleteOnClose [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/Danmaku.cpp:146:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DeleteWhenStopped [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/Danmaku.cpp:81:7: style: Condition 'enableShadow' is always true [knownConditionTrueFalse] danmaQ-0.3.0/src/Danmaku.cpp:79:18: note: Assignment 'enableShadow=true', assigned value is 1 danmaQ-0.3.0/src/Danmaku.cpp:81:7: note: Condition 'enableShadow' is always true danmaQ-0.3.0/src/Danmaku.cpp:103:38: performance: Function parameter 'text' should be passed by const reference. [passedByValue] danmaQ-0.3.0/src/Subscriber.cpp:30:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deleteLater [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/Subscriber.cpp:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/Subscriber.cpp:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __PRETTY_FUNCTION__ [valueFlowBailoutIncompleteVar] danmaQ-0.3.0/src/Subscriber.cpp:20:13: warning: Member variable 'Subscriber::webView' is not initialized in the constructor. [uninitMemberVar] danmaQ-0.3.0/src/Subscriber.cpp:20:13: warning: Member variable 'Subscriber::webChannel' is not initialized in the constructor. [uninitMemberVar] danmaQ-0.3.0/src/Subscriber.cpp:42:21: style:inconclusive: Either there is a missing 'override', or the member function 'Subscriber::get_server' can be const. [functionConst] danmaQ-0.3.0/src/Subscriber.hpp:37:11: note: Either there is a missing 'override', or the member function 'Subscriber::get_server' can be const. danmaQ-0.3.0/src/Subscriber.cpp:42:21: note: Either there is a missing 'override', or the member function 'Subscriber::get_server' can be const. danmaQ-0.3.0/src/Subscriber.cpp:20:32: performance: Function parameter 'server' should be passed by const reference. [passedByValue] danmaQ-0.3.0/src/Subscriber.cpp:46:35: performance: Function parameter 'text' should be passed by const reference. [passedByValue] danmaQ-0.3.0/src/Subscriber.cpp:50:31: performance: Function parameter 'text' should be passed by const reference. [passedByValue] danmaQ-0.3.0/src/main.cpp:40:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Name [valueFlowBailoutIncompleteVar] diff: DONE