2024-04-08 00:28 ftp://ftp.de.debian.org/debian/pool/main/k/k4dirstat/k4dirstat_3.4.3.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.55 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 1b799d7 (2024-04-07 21:22:28 +0200) count: 139 100 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: k4dirstat-3.4.3/src/kfileinfo.h:78:3: style: Class 'KFileInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kfileinfo.h:89:3: style: Class 'KFileInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kdirinfo.h:40:3: style: Class 'KDirInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kdirinfo.h:51:3: style: Class 'KDirInfo' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kdirreadjob.h:59:3: style: Class 'KDirReadJob' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kdirreadjob.h:146:3: style: Class 'KObjDirReadJob' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kdirinfo.h:63:12: style: The destructor '~KDirInfo' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kfileinfo.h:101:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirinfo.h:63:12: note: Destructor in derived class k4dirstat-3.4.3/src/kdirreadjob.h:148:12: style: The destructor '~KObjDirReadJob' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirreadjob.h:64:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirreadjob.h:148:12: note: Destructor in derived class k4dirstat-3.4.3/src/kdirreadjob.h:181:12: style: The destructor '~KLocalDirReadJob' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirreadjob.h:64:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirreadjob.h:181:12: note: Destructor in derived class k4dirstat-3.4.3/src/kdirreadjob.h:228:12: style: The destructor '~KioDirReadJob' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirreadjob.h:148:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirreadjob.h:228:12: note: Destructor in derived class k4dirstat-3.4.3/src/kdirreadjob.h:297:12: style: The destructor '~KCacheReadJob' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirreadjob.h:148:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirreadjob.h:297:12: note: Destructor in derived class k4dirstat-3.4.3/src/kdirtree.h:144:29: performance: Function parameter 'url' should be passed by const reference. [passedByValue] k4dirstat-3.4.3/src/kcleanup.cpp:123:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Continue [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kcleanup.cpp:263:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WaitCursor [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kcleanupcollection.cpp:109:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kcleanupcollection.h:45:3: style: Class 'KCleanupCollection' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kcleanupcollection.cpp:40:50: style:inconclusive: Function 'add' argument 1 names different: declaration 'cleanup' definition 'newCleanup'. [funcArgNamesDifferent] k4dirstat-3.4.3/src/kcleanupcollection.h:71:32: note: Function 'add' argument 1 names different: declaration 'cleanup' definition 'newCleanup'. k4dirstat-3.4.3/src/kcleanupcollection.cpp:40:50: note: Function 'add' argument 1 names different: declaration 'cleanup' definition 'newCleanup'. k4dirstat-3.4.3/src/kcleanupcollection_p.h:10:26: performance: Function parameter 'cleanup' should be passed by const reference. [passedByValue] k4dirstat-3.4.3/src/kcleanupcollection.cpp:133:55: style: Parameter 'cleanups' can be declared as reference to const [constParameterReference] k4dirstat-3.4.3/src/kcleanup.h:192:8: style:inconclusive: Technically the member function 'KDirStat::KCleanup::isEnabledFromSelection' can be const. [functionConst] k4dirstat-3.4.3/src/kcleanup.cpp:76:16: note: Technically the member function 'KDirStat::KCleanup::isEnabledFromSelection' can be const. k4dirstat-3.4.3/src/kcleanup.h:192:8: note: Technically the member function 'KDirStat::KCleanup::isEnabledFromSelection' can be const. k4dirstat-3.4.3/src/kcleanup.h:208:8: style:inconclusive: Technically the member function 'KDirStat::KCleanup::executeRecursive' can be const. [functionConst] k4dirstat-3.4.3/src/kcleanup.cpp:170:16: note: Technically the member function 'KDirStat::KCleanup::executeRecursive' can be const. k4dirstat-3.4.3/src/kcleanup.h:208:8: note: Technically the member function 'KDirStat::KCleanup::executeRecursive' can be const. k4dirstat-3.4.3/src/kcleanup.h:214:8: style:inconclusive: Technically the member function 'KDirStat::KCleanup::confirmation' can be const. [functionConst] k4dirstat-3.4.3/src/kcleanup.cpp:106:16: note: Technically the member function 'KDirStat::KCleanup::confirmation' can be const. k4dirstat-3.4.3/src/kcleanup.h:214:8: note: Technically the member function 'KDirStat::KCleanup::confirmation' can be const. k4dirstat-3.4.3/src/kcleanup.h:219:17: performance:inconclusive: Technically the member function 'KDirStat::KCleanup::itemDir' can be static (but you may consider moving to unnamed namespace). [functionStatic] k4dirstat-3.4.3/src/kcleanup.cpp:195:25: note: Technically the member function 'KDirStat::KCleanup::itemDir' can be static (but you may consider moving to unnamed namespace). k4dirstat-3.4.3/src/kcleanup.h:219:17: note: Technically the member function 'KDirStat::KCleanup::itemDir' can be static (but you may consider moving to unnamed namespace). k4dirstat-3.4.3/src/kcleanup.h:244:11: performance:inconclusive: Technically the member function 'KDirStat::KCleanup::expandVariables' can be static (but you may consider moving to unnamed namespace). [functionStatic] k4dirstat-3.4.3/src/kcleanup.cpp:221:19: note: Technically the member function 'KDirStat::KCleanup::expandVariables' can be static (but you may consider moving to unnamed namespace). k4dirstat-3.4.3/src/kcleanup.h:244:11: note: Technically the member function 'KDirStat::KCleanup::expandVariables' can be static (but you may consider moving to unnamed namespace). k4dirstat-3.4.3/src/kcleanup.cpp:208:11: style: Local variable 'title' shadows outer function [shadowFunction] k4dirstat-3.4.3/src/kcleanup.h:78:18: note: Shadowed declaration k4dirstat-3.4.3/src/kcleanup.cpp:208:11: note: Shadow variable k4dirstat-3.4.3/src/kcleanup.cpp:25:57: performance: Function parameter 'title' should be passed by const reference. [passedByValue] k4dirstat-3.4.3/src/kcleanup.cpp:61:36: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] k4dirstat-3.4.3/src/kcleanup.cpp:106:40: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] k4dirstat-3.4.3/src/kcleanup.cpp:110:17: style: Variable 'item' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/kdirinfo.cpp:262:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirinfo.cpp:37:3: warning: Class 'KDirInfo' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] k4dirstat-3.4.3/src/kdirinfo.cpp:37:3: warning: Class 'KDirInfo' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] k4dirstat-3.4.3/src/kdirinfo.h:153:10: style: Virtual function 'numChildren' is called from destructor '~KDirInfo()' at line 67. Dynamic binding is not used. [virtualCallInConstructor] k4dirstat-3.4.3/src/kdirinfo.cpp:67:25: note: Calling numChildren k4dirstat-3.4.3/src/kdirinfo.h:153:10: note: numChildren is a virtual function k4dirstat-3.4.3/src/kdirinfo.cpp:260:32: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] k4dirstat-3.4.3/src/kdirinfo.cpp:253:50: note: outer condition: deletedChild->parent()==this k4dirstat-3.4.3/src/kdirinfo.cpp:260:32: note: opposite inner condition: deletedChild->parent()!=this k4dirstat-3.4.3/src/k4dirstat.cpp:239:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Key_Plus [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/k4dirstat.cpp:391:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/k4dirstat.cpp:490:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable No [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/k4dirstat.cpp:547:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AssumeLocalFile [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/k4dirstat.cpp:579:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDirOnRequestOnly [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirreadjob.cpp:59:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirreadjob.cpp:142:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirreadjob.cpp:244:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AssumeLocalFile [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirreadjob.cpp:264:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_FUNC_INFO [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirtree.cpp:146:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AssumeLocalFile [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirtree.cpp:276:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirreadjob.cpp:84:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] k4dirstat-3.4.3/src/kexcluderules.h:24:3: style: Class 'KExcludeRule' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kdirstatsettings.h:126:3: warning: Member variable 'KSettingsPage::_pageIndex' is not initialized in the constructor. [uninitMemberVar] k4dirstat-3.4.3/src/kdirstatsettings.h:50:3: style: Class 'KSettingsDialog' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kdirstatsettings.h:352:3: style: Class 'KCleanupListBox' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kdirtreeview.h:45:3: style: Class 'KDirTreeView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/ktreemapview.h:40:3: style: Class 'KTreemapView' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/ktreemapview.h:360:3: style: Class 'KTreemapSelectionRect' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] k4dirstat-3.4.3/src/kdirstatsettings.h:192:12: style: The destructor '~KTreeColorsPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirstatsettings.h:131:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirstatsettings.h:192:12: note: Destructor in derived class k4dirstat-3.4.3/src/kdirstatsettings.h:259:12: style: The destructor '~KCleanupPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirstatsettings.h:131:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirstatsettings.h:259:12: note: Destructor in derived class k4dirstat-3.4.3/src/kdirstatsettings.h:489:12: style: The destructor '~KGeneralSettingsPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirstatsettings.h:131:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirstatsettings.h:489:12: note: Destructor in derived class k4dirstat-3.4.3/src/kdirstatsettings.h:574:12: style: The destructor '~KTreemapPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirstatsettings.h:131:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirstatsettings.h:574:12: note: Destructor in derived class k4dirstat-3.4.3/src/kdirtree.cpp:106:23: style: C-style pointer casting [cstyleCast] k4dirstat-3.4.3/src/kdirtree.cpp:195:25: style: C-style pointer casting [cstyleCast] k4dirstat-3.4.3/src/k4dirstat.cpp:540:14: style: Variable 'sel' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/k4dirstat.cpp:558:39: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] k4dirstat-3.4.3/src/k4dirstat.cpp:561:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] k4dirstat-3.4.3/src/kdirtreeview.cpp:427:0: error: failed to expand 'loadIcon', Wrong number of parameters for macro 'loadIcon'. [preprocessorErrorDirective] k4dirstat-3.4.3/src/kexcluderules.cpp:59:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kexcluderules.h:39:8: style:inconclusive: Technically the member function 'KDirStat::KExcludeRule::match' can be const. [functionConst] k4dirstat-3.4.3/src/kexcluderules.cpp:23:20: note: Technically the member function 'KDirStat::KExcludeRule::match' can be const. k4dirstat-3.4.3/src/kexcluderules.h:39:8: note: Technically the member function 'KDirStat::KExcludeRule::match' can be const. k4dirstat-3.4.3/src/kexcluderules.cpp:45:39: style: Parameter 'rule' can be declared as pointer to const [constParameterPointer] k4dirstat-3.4.3/src/kexcluderules.cpp:55:28: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] k4dirstat-3.4.3/src/kexcluderules.cpp:74:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] k4dirstat-3.4.3/src/kdirstatsettings.cpp:46:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Ok [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kfileinfo.cpp:84:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ModificationTime [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirstatsettings.cpp:104:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Continue [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kfileinfo.cpp:152:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_FUNC_INFO [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirstatsettings.cpp:580:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CustomContextMenu [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kfileinfo.cpp:247:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AssumeLocalFile [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirstatsettings.cpp:701:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirstatsettings.cpp:724:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirstatsettings.cpp:752:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirstatsettings.cpp:914:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirstatsettings.cpp:939:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirstatsettings.cpp:971:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Minimum [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirstatsettings.cpp:979:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expanding [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirtreecache.cpp:38:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirtreecache.cpp:161:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirtreecache.cpp:174:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDirFinished [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirtreecache.cpp:384:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirtreecache.cpp:435:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kdirtreecache.cpp:473:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kfileinfo.cpp:23:3: performance: Variable '_name' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] k4dirstat-3.4.3/src/kfileinfo.cpp:24:3: performance: Variable '_device' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] k4dirstat-3.4.3/src/kfileinfo.cpp:29:3: performance: Variable '_mtime' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] k4dirstat-3.4.3/src/kfileinfo.cpp:178:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] k4dirstat-3.4.3/src/kstdcleanup.cpp:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kstdcleanup.cpp:45:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kstdcleanup.cpp:103:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kstdcleanup.cpp:118:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kstdcleanup.cpp:144:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DefaultConfirmation [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/kfileinfo.cpp:148:32: style:inconclusive: Function 'urlPart' argument 1 names different: declaration 'level' definition 'targetLevel'. [funcArgNamesDifferent] k4dirstat-3.4.3/src/kfileinfo.h:147:23: note: Function 'urlPart' argument 1 names different: declaration 'level' definition 'targetLevel'. k4dirstat-3.4.3/src/kfileinfo.cpp:148:32: note: Function 'urlPart' argument 1 names different: declaration 'level' definition 'targetLevel'. k4dirstat-3.4.3/src/kfileinfo.cpp:169:14: style: Local variable 'parent' shadows outer function [shadowFunction] k4dirstat-3.4.3/src/kfileinfo.h:315:13: note: Shadowed declaration k4dirstat-3.4.3/src/kfileinfo.cpp:169:14: note: Shadow variable k4dirstat-3.4.3/src/kfileinfo.cpp:169:14: style: Variable 'parent' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/kstdcleanup.cpp:50:49: style:inconclusive: Function 'compressSubtree' argument 1 names different: declaration 'icon' definition 'iconFile'. [funcArgNamesDifferent] k4dirstat-3.4.3/src/kstdcleanup.h:32:45: note: Function 'compressSubtree' argument 1 names different: declaration 'icon' definition 'iconFile'. k4dirstat-3.4.3/src/kstdcleanup.cpp:50:49: note: Function 'compressSubtree' argument 1 names different: declaration 'icon' definition 'iconFile'. k4dirstat-3.4.3/src/kdirstatsettings.cpp:218:3: performance: Variable '_workCleanupCollection' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] k4dirstat-3.4.3/src/kdirstatsettings.h:302:8: style: Virtual function 'setup' is called from constructor 'KCleanupPage(QWidget*parent,k4dirstat*mainWin)' at line 237. Dynamic binding is not used. [virtualCallInConstructor] k4dirstat-3.4.3/src/kdirstatsettings.cpp:237:3: note: Calling setup k4dirstat-3.4.3/src/kdirstatsettings.h:302:8: note: setup is a virtual function k4dirstat-3.4.3/src/kdirstatsettings.cpp:343:31: style: C-style pointer casting [cstyleCast] k4dirstat-3.4.3/src/kdirstatsettings.cpp:251:44: style:inconclusive: Function 'changeCleanup' argument 1 names different: declaration 'cleanup' definition 'newCleanup'. [funcArgNamesDifferent] k4dirstat-3.4.3/src/kdirstatsettings.h:310:32: note: Function 'changeCleanup' argument 1 names different: declaration 'cleanup' definition 'newCleanup'. k4dirstat-3.4.3/src/kdirstatsettings.cpp:251:44: note: Function 'changeCleanup' argument 1 names different: declaration 'cleanup' definition 'newCleanup'. k4dirstat-3.4.3/src/kdirstatsettings.cpp:342:54: style:inconclusive: Function 'selectCleanup' argument 1 names different: declaration 'item' definition 'listBoxItem'. [funcArgNamesDifferent] k4dirstat-3.4.3/src/kdirstatsettings.h:389:39: note: Function 'selectCleanup' argument 1 names different: declaration 'item' definition 'listBoxItem'. k4dirstat-3.4.3/src/kdirstatsettings.cpp:342:54: note: Function 'selectCleanup' argument 1 names different: declaration 'item' definition 'listBoxItem'. k4dirstat-3.4.3/src/kdirstatsettings.cpp:661:3: style: Variable 'excludeRule' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/ktreemapview.cpp:36:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ScrollBarAlwaysOff [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/ktreemapview.cpp:88:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/ktreemapview.cpp:417:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/main.cpp:35:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPL [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/ktreemaptile.cpp:81:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoPen [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/ktreemaptile.cpp:146:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_FUNC_INFO [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/ktreemaptile.cpp:184:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_FUNC_INFO [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/ktreemaptile.cpp:396:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Format_RGB32 [valueFlowBailoutIncompleteVar] k4dirstat-3.4.3/src/ktreemaptile.h:83:10: performance:inconclusive: Technically the member function 'KDirStat::KCushionSurface::squareRidge' can be static (but you may consider moving to unnamed namespace). [functionStatic] k4dirstat-3.4.3/src/ktreemaptile.cpp:512:25: note: Technically the member function 'KDirStat::KCushionSurface::squareRidge' can be static (but you may consider moving to unnamed namespace). k4dirstat-3.4.3/src/ktreemaptile.h:83:10: note: Technically the member function 'KDirStat::KCushionSurface::squareRidge' can be static (but you may consider moving to unnamed namespace). k4dirstat-3.4.3/src/ktreemaptile.h:89:10: performance:inconclusive: Technically the member function 'KDirStat::KCushionSurface::linearRidge' can be static (but you may consider moving to unnamed namespace). [functionStatic] k4dirstat-3.4.3/src/ktreemaptile.cpp:520:25: note: Technically the member function 'KDirStat::KCushionSurface::linearRidge' can be static (but you may consider moving to unnamed namespace). k4dirstat-3.4.3/src/ktreemaptile.h:89:10: note: Technically the member function 'KDirStat::KCushionSurface::linearRidge' can be static (but you may consider moving to unnamed namespace). k4dirstat-3.4.3/src/ktreemaptile.cpp:22:8: style:inconclusive: Technically the member function 'childSizeComparator::operator()' can be const. [functionConst] k4dirstat-3.4.3/src/ktreemaptile.cpp:178:55: style:inconclusive: Function 'squarify' argument 5 names different: declaration 'output' definition 'row'. [funcArgNamesDifferent] k4dirstat-3.4.3/src/ktreemaptile.h:212:43: note: Function 'squarify' argument 5 names different: declaration 'output' definition 'row'. k4dirstat-3.4.3/src/ktreemaptile.cpp:178:55: note: Function 'squarify' argument 5 names different: declaration 'output' definition 'row'. k4dirstat-3.4.3/src/ktreemaptile.cpp:294:5: style: Variable 'it' is assigned a value that is never used. [unreadVariable] k4dirstat-3.4.3/src/kdirtreecache.cpp:148:3: performance: Variable '_fileName' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] k4dirstat-3.4.3/src/kdirtreecache.cpp:158:3: performance: Variable '_cache' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] k4dirstat-3.4.3/src/kdirtreecache.cpp:174:3: warning: Either the condition '_toplevel' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] k4dirstat-3.4.3/src/kdirtreecache.cpp:190:7: note: Assuming that condition '_toplevel' is not redundant k4dirstat-3.4.3/src/kdirtreecache.cpp:184:21: note: Calling function 'setStateRecursive', 1st argument '_toplevel' value is 0 k4dirstat-3.4.3/src/kdirtreecache.cpp:174:3: note: Null pointer dereference k4dirstat-3.4.3/src/kdirtreecache.cpp:175:25: warning: Either the condition '_toplevel' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] k4dirstat-3.4.3/src/kdirtreecache.cpp:190:7: note: Assuming that condition '_toplevel' is not redundant k4dirstat-3.4.3/src/kdirtreecache.cpp:184:21: note: Calling function 'setStateRecursive', 1st argument '_toplevel' value is 0 k4dirstat-3.4.3/src/kdirtreecache.cpp:175:25: note: Null pointer dereference k4dirstat-3.4.3/src/kdirtreecache.cpp:31:66: style: Parameter 'tree' can be declared as pointer to const [constParameterPointer] k4dirstat-3.4.3/src/kdirtreecache.cpp:74:55: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] k4dirstat-3.4.3/src/kdirtreecache.cpp:222:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/kdirtreecache.cpp:224:9: style: Variable 'size_str' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/kdirtreecache.cpp:225:9: style: Variable 'mtime_str' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/kdirtreecache.cpp:226:9: style: Variable 'blocks_str' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/kdirtreecache.cpp:227:9: style: Variable 'links_str' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/kdirtreecache.cpp:230:11: style: Variable 'keyword' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/kdirtreecache.cpp:407:11: style: Variable 'type' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/kdirtreecache.cpp:422:15: style: Variable 'line' is assigned a value that is never used. [unreadVariable] k4dirstat-3.4.3/src/kdirtreecache.cpp:440:21: style: Variable 'version' is assigned a value that is never used. [unreadVariable] k4dirstat-3.4.3/src/ktreemapview.cpp:223:10: warning: Either the condition 'newRootTile' is redundant or there is possible null pointer dereference: newRootTile. [nullPointerRedundantCheck] k4dirstat-3.4.3/src/ktreemapview.cpp:229:7: note: Assuming that condition 'newRootTile' is not redundant k4dirstat-3.4.3/src/ktreemapview.cpp:223:10: note: Null pointer dereference k4dirstat-3.4.3/src/ktreemapview.cpp:262:10: warning: Either the condition 'newRootTile' is redundant or there is possible null pointer dereference: newRootTile. [nullPointerRedundantCheck] k4dirstat-3.4.3/src/ktreemapview.cpp:268:7: note: Assuming that condition 'newRootTile' is not redundant k4dirstat-3.4.3/src/ktreemapview.cpp:262:10: note: Null pointer dereference k4dirstat-3.4.3/src/ktreemapview.cpp:260:17: style: Variable 'newRootTile' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/ktreemapview.cpp:269:16: style: Variable 'newRoot' can be declared as pointer to const [constVariablePointer] k4dirstat-3.4.3/src/ktreemapview.cpp:362:17: style: Variable 'oldSelection' can be declared as pointer to const [constVariablePointer] diff: head k4dirstat-3.4.3/src/k4dirstat.cpp:391:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/k4dirstat.cpp:490:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable No [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/k4dirstat.cpp:547:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AssumeLocalFile [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/k4dirstat.cpp:579:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDirOnRequestOnly [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kcleanup.cpp:263:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WaitCursor [valueFlowBailoutIncompleteVar] 2.13.0 k4dirstat-3.4.3/src/kdirinfo.h:154:15: style: Virtual function 'child' is called from destructor '~KDirInfo()' at line 68. Dynamic binding is not used. [virtualCallInConstructor] k4dirstat-3.4.3/src/kdirinfo.cpp:68:12: note: Calling child k4dirstat-3.4.3/src/kdirinfo.h:154:15: note: child is a virtual function head k4dirstat-3.4.3/src/kdirinfo.h:63:12: style: The destructor '~KDirInfo' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kfileinfo.h:101:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirinfo.h:63:12: note: Destructor in derived class head k4dirstat-3.4.3/src/kdirreadjob.cpp:142:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirreadjob.cpp:244:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AssumeLocalFile [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirreadjob.cpp:264:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_FUNC_INFO [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirreadjob.h:148:12: style: The destructor '~KObjDirReadJob' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirreadjob.h:64:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirreadjob.h:148:12: note: Destructor in derived class head k4dirstat-3.4.3/src/kdirreadjob.h:181:12: style: The destructor '~KLocalDirReadJob' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirreadjob.h:64:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirreadjob.h:181:12: note: Destructor in derived class head k4dirstat-3.4.3/src/kdirreadjob.h:228:12: style: The destructor '~KioDirReadJob' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirreadjob.h:148:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirreadjob.h:228:12: note: Destructor in derived class head k4dirstat-3.4.3/src/kdirreadjob.h:297:12: style: The destructor '~KCacheReadJob' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirreadjob.h:148:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirreadjob.h:297:12: note: Destructor in derived class head k4dirstat-3.4.3/src/kdirstatsettings.cpp:104:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Continue [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirstatsettings.cpp:580:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CustomContextMenu [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirstatsettings.cpp:701:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Normal [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirstatsettings.cpp:724:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Yes [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirstatsettings.cpp:752:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Horizontal [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirstatsettings.cpp:914:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirstatsettings.cpp:939:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable black [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirstatsettings.cpp:971:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Minimum [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirstatsettings.cpp:979:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expanding [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirstatsettings.h:192:12: style: The destructor '~KTreeColorsPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirstatsettings.h:131:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirstatsettings.h:192:12: note: Destructor in derived class head k4dirstat-3.4.3/src/kdirstatsettings.h:259:12: style: The destructor '~KCleanupPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirstatsettings.h:131:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirstatsettings.h:259:12: note: Destructor in derived class head k4dirstat-3.4.3/src/kdirstatsettings.h:489:12: style: The destructor '~KGeneralSettingsPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirstatsettings.h:131:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirstatsettings.h:489:12: note: Destructor in derived class head k4dirstat-3.4.3/src/kdirstatsettings.h:574:12: style: The destructor '~KTreemapPage' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] k4dirstat-3.4.3/src/kdirstatsettings.h:131:12: note: Virtual destructor in base class k4dirstat-3.4.3/src/kdirstatsettings.h:574:12: note: Destructor in derived class head k4dirstat-3.4.3/src/kdirtree.cpp:276:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirtreecache.cpp:161:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirtreecache.cpp:174:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDirFinished [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirtreecache.cpp:384:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirtreecache.cpp:435:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kdirtreecache.cpp:473:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kfileinfo.cpp:152:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_FUNC_INFO [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kfileinfo.cpp:247:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AssumeLocalFile [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kstdcleanup.cpp:103:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kstdcleanup.cpp:118:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kstdcleanup.cpp:144:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DefaultConfirmation [valueFlowBailoutIncompleteVar] 2.13.0 k4dirstat-3.4.3/src/kstdcleanup.cpp:30:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noRefresh [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kstdcleanup.cpp:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/kstdcleanup.cpp:45:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CTRL [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/ktreemaptile.cpp:146:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_FUNC_INFO [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/ktreemaptile.cpp:184:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Q_FUNC_INFO [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/ktreemaptile.cpp:396:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Format_RGB32 [valueFlowBailoutIncompleteVar] head k4dirstat-3.4.3/src/ktreemapview.cpp:417:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] 2.13.0 k4dirstat-3.4.3/src/ktreemapview.cpp:54:11: warning: Either the condition 'tree' is redundant or there is possible null pointer dereference: tree. [nullPointerRedundantCheck] k4dirstat-3.4.3/src/ktreemapview.cpp:43:7: note: Assuming that condition 'tree' is not redundant k4dirstat-3.4.3/src/ktreemapview.cpp:54:11: note: Null pointer dereference 2.13.0 k4dirstat-3.4.3/src/ktreemapview.cpp:57:11: warning: Either the condition 'tree' is redundant or there is possible null pointer dereference: tree. [nullPointerRedundantCheck] k4dirstat-3.4.3/src/ktreemapview.cpp:43:7: note: Assuming that condition 'tree' is not redundant k4dirstat-3.4.3/src/ktreemapview.cpp:57:11: note: Null pointer dereference 2.13.0 k4dirstat-3.4.3/src/ktreemapview.cpp:60:11: warning: Either the condition 'tree' is redundant or there is possible null pointer dereference: tree. [nullPointerRedundantCheck] k4dirstat-3.4.3/src/ktreemapview.cpp:43:7: note: Assuming that condition 'tree' is not redundant k4dirstat-3.4.3/src/ktreemapview.cpp:60:11: note: Null pointer dereference head k4dirstat-3.4.3/src/ktreemapview.cpp:88:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] DONE