2026-05-02 18:49 ftp://ftp.de.debian.org/debian/pool/main/k/kdav/kdav_5.116.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --library=kde --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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 88 85 elapsed-time: 1.2 1.0 head-timing-info: old-timing-info: head results: kdav-5.116.0/autotests/davcollectionsmultifetchjobtest.cpp:31:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davcollectionsmultifetchjobtest.cpp:87:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/fakeserver.h:87:5: style: Class 'FakeServer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kdav-5.116.0/autotests/davcollectiontest.cpp:19:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davcollectiontest.cpp:30:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davcollectiontest.cpp:45:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davcollectiontest.cpp:69:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davitemfetchjobtest.cpp:25:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davitemslistjobtest.cpp:22:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davitemtest.cpp:28:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davitemtest.cpp:40:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davitemtest.cpp:57:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davitemtest.cpp:82:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davurltest.cpp:18:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CalDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davurltest.cpp:25:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davurltest.cpp:37:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/davurltest.cpp:51:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/fakeserver.cpp:38:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BlockingQueuedConnection [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/fakeserver.cpp:68:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LocalHost [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/fakeserver.cpp:99:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] kdav-5.116.0/autotests/fakeserver.cpp:127:5: style: Consider using std::all_of or std::none_of algorithm instead of a raw loop. [useStlAlgorithm] kdav-5.116.0/src/common/davcollection.cpp:15:1: debug: SymbolDatabase couldn't resolve all user defined types. [debug] kdav-5.116.0/src/common/davcollection.h:90:31: performance: Function 'CTag()' should return member 'mCTag' by const reference. [returnByReference] kdav-5.116.0/src/common/davcollection.h:110:31: performance: Function 'displayName()' should return member 'mDisplayName' by const reference. [returnByReference] kdav-5.116.0/src/common/davcollection.cpp:66:51: style:inconclusive: Function 'setDisplayName' argument 1 names different: declaration 'name' definition 'displayName'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davcollection.h:105:40: note: Function 'setDisplayName' argument 1 names different: declaration 'name' definition 'displayName'. kdav-5.116.0/src/common/davcollection.cpp:66:51: note: Function 'setDisplayName' argument 1 names different: declaration 'name' definition 'displayName'. kdav-5.116.0/src/common/davcollection.cpp:86:50: style:inconclusive: Function 'setContentTypes' argument 1 names different: declaration 'types' definition 'contentTypes'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davcollection.h:126:39: note: Function 'setContentTypes' argument 1 names different: declaration 'types' definition 'contentTypes'. kdav-5.116.0/src/common/davcollection.cpp:86:50: note: Function 'setContentTypes' argument 1 names different: declaration 'types' definition 'contentTypes'. kdav-5.116.0/src/common/davcollectiondeletejob.cpp:38:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HideProgressInfo [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davcollectiondeletejob.cpp:52:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR_NO_CONTENT [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davcollectionmodifyjob.cpp:41:57: style:inconclusive: Function 'setProperty' argument 1 names different: declaration 'property' definition 'prop'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davcollectionmodifyjob.h:47:37: note: Function 'setProperty' argument 1 names different: declaration 'property' definition 'prop'. kdav-5.116.0/src/common/davcollectionmodifyjob.cpp:41:57: note: Function 'setProperty' argument 1 names different: declaration 'property' definition 'prop'. kdav-5.116.0/src/common/davcollectionmodifyjob.cpp:58:60: style:inconclusive: Function 'removeProperty' argument 1 names different: declaration 'property' definition 'prop'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davcollectionmodifyjob.h:55:40: note: Function 'removeProperty' argument 1 names different: declaration 'property' definition 'prop'. kdav-5.116.0/src/common/davcollectionmodifyjob.cpp:58:60: note: Function 'removeProperty' argument 1 names different: declaration 'property' definition 'prop'. kdav-5.116.0/src/common/davcollectionsfetchjob.cpp:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davcollectionsfetchjob.cpp:83:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable result [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davcollectionsfetchjob.cpp:97:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDAV_LOG [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davcollectionsfetchjob.cpp:170:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davcollectionsfetchjob.cpp:39:5: style: The member function 'KDAV::DavCollectionsFetchJobPrivate::d_func' can be static. [functionStatic] kdav-5.116.0/src/common/davcollectionsmultifetchjob.h:56:43: performance: Function 'collections()' should return member 'mCollections' by const reference. [returnByReference] kdav-5.116.0/src/common/davcollectionsmultifetchjob.cpp:51:52: style:inconclusive: Function 'slotResult' argument 1 names different: declaration '' definition 'job'. [funcArgNamesDifferentUnnamed] kdav-5.116.0/src/common/davcollectionsmultifetchjob.cpp:63:33: style: Variable 'fetchJob' can be declared as pointer to const [constVariablePointer] kdav-5.116.0/src/common/daverror.cpp:70:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR_WORKER_DEFINED [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/daverror.h:59:31: performance: Function 'internalErrorText()' should return member 'mErrorText' by const reference. [returnByReference] kdav-5.116.0/src/common/davitem.h:86:31: performance: Function 'contentType()' should return member 'mContentType' by const reference. [returnByReference] kdav-5.116.0/src/common/davitem.h:96:34: performance: Function 'data()' should return member 'mData' by const reference. [returnByReference] kdav-5.116.0/src/common/davitem.h:108:31: performance: Function 'etag()' should return member 'mEtag' by const reference. [returnByReference] kdav-5.116.0/src/common/davitem.cpp:52:45: style:inconclusive: Function 'setContentType' argument 1 names different: declaration 'type' definition 'contentType'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davitem.h:81:40: note: Function 'setContentType' argument 1 names different: declaration 'type' definition 'contentType'. kdav-5.116.0/src/common/davitem.cpp:52:45: note: Function 'setContentType' argument 1 names different: declaration 'type' definition 'contentType'. kdav-5.116.0/src/common/davitem.cpp:82:44: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'out' definition 'stream'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davitem.h:114:50: note: Function 'operator<<' argument 1 names different: declaration 'out' definition 'stream'. kdav-5.116.0/src/common/davitem.cpp:82:44: note: Function 'operator<<' argument 1 names different: declaration 'out' definition 'stream'. kdav-5.116.0/src/common/davitem.cpp:92:44: style:inconclusive: Function 'operator>>' argument 1 names different: declaration 'in' definition 'stream'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davitem.h:115:50: note: Function 'operator>>' argument 1 names different: declaration 'in' definition 'stream'. kdav-5.116.0/src/common/davitem.cpp:92:44: note: Function 'operator>>' argument 1 names different: declaration 'in' definition 'stream'. kdav-5.116.0/src/common/davitemcreatejob.cpp:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemcreatejob.cpp:48:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HideProgressInfo [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemcreatejob.cpp:93:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemcreatejob.cpp:29:5: style: The member function 'KDAV::DavItemCreateJobPrivate::d_func' can be static. [functionStatic] kdav-5.116.0/src/common/davitemcreatejob.cpp:138:26: style: Variable 'fetchJob' can be declared as pointer to const [constVariablePointer] kdav-5.116.0/src/common/davitemdeletejob.cpp:43:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HideProgressInfo [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemdeletejob.cpp:70:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR_NO_CONTENT [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemdeletejob.cpp:98:22: style: Variable 'fetchJob' can be declared as pointer to const [constVariablePointer] kdav-5.116.0/src/common/davitemfetchjob.cpp:34:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemfetchjob.cpp:52:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HideProgressInfo [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemmodifyjob.cpp:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_ptr [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemmodifyjob.cpp:48:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HideProgressInfo [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemmodifyjob.cpp:101:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable result [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemmodifyjob.cpp:29:5: style: The member function 'KDAV::DavItemModifyJobPrivate::d_func' can be static. [functionStatic] kdav-5.116.0/src/common/davitemmodifyjob.cpp:144:26: style: Variable 'fetchJob' can be declared as pointer to const [constVariablePointer] kdav-5.116.0/src/common/davitemmodifyjob.cpp:154:22: style: Variable 'fetchJob' can be declared as pointer to const [constVariablePointer] kdav-5.116.0/src/common/davitemsfetchjob.cpp:132:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TolerantMode [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davitemslistjob.cpp:222:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TolerantMode [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davmanager.cpp:32:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HideProgressInfo [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davmanager.cpp:43:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HideProgressInfo [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davmanager.cpp:54:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HideProgressInfo [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davmanager.cpp:77:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDAV_LOG [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davprincipalhomesetsfetchjob.cpp:80:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable result [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davprincipalhomesetsfetchjob.cpp:100:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR_WORKER_DEFINED [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davprincipalhomesetsfetchjob.cpp:59:62: style:inconclusive: Function 'fetchHomeSets' argument 1 names different: declaration 'fetchHomeSetsOnly' definition 'homeSetsOnly'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davprincipalhomesetsfetchjob.cpp:39:29: note: Function 'fetchHomeSets' argument 1 names different: declaration 'fetchHomeSetsOnly' definition 'homeSetsOnly'. kdav-5.116.0/src/common/davprincipalhomesetsfetchjob.cpp:59:62: note: Function 'fetchHomeSets' argument 1 names different: declaration 'fetchHomeSetsOnly' definition 'homeSetsOnly'. kdav-5.116.0/src/common/davprincipalhomesetsfetchjob.cpp:101:17: style: Variable 'err' is assigned a value that is never used. [unreadVariable] kdav-5.116.0/src/common/davprincipalhomesetsfetchjob.cpp:103:17: style: Variable 'err' is assigned a value that is never used. [unreadVariable] kdav-5.116.0/src/common/davprincipalsearchjob.cpp:189:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TolerantMode [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/common/davprincipalsearchjob.cpp:24:1: warning: Member variable 'DavPrincipalSearchJobPrivate::mType' has no initializer. [uninitMemberVarNoCtor] kdav-5.116.0/src/common/davurl.cpp:67:44: style:inconclusive: Function 'operator<<' argument 1 names different: declaration 'out' definition 'stream'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davurl.h:81:50: note: Function 'operator<<' argument 1 names different: declaration 'out' definition 'stream'. kdav-5.116.0/src/common/davurl.cpp:67:44: note: Function 'operator<<' argument 1 names different: declaration 'out' definition 'stream'. kdav-5.116.0/src/common/davurl.cpp:75:44: style:inconclusive: Function 'operator>>' argument 1 names different: declaration 'in' definition 'stream'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davurl.h:82:50: note: Function 'operator>>' argument 1 names different: declaration 'in' definition 'stream'. kdav-5.116.0/src/common/davurl.cpp:75:44: note: Function 'operator>>' argument 1 names different: declaration 'in' definition 'stream'. kdav-5.116.0/src/common/davurl.cpp:75:60: style:inconclusive: Function 'operator>>' argument 2 names different: declaration 'url' definition 'davUrl'. [funcArgNamesDifferent] kdav-5.116.0/src/common/davurl.h:82:62: note: Function 'operator>>' argument 2 names different: declaration 'url' definition 'davUrl'. kdav-5.116.0/src/common/davurl.cpp:75:60: note: Function 'operator>>' argument 2 names different: declaration 'url' definition 'davUrl'. kdav-5.116.0/src/common/davurl.cpp:62:10: style: Local variable 'url' shadows outer function [shadowFunction] kdav-5.116.0/src/common/davurl.h:60:28: note: Shadowed declaration kdav-5.116.0/src/common/davurl.cpp:62:10: note: Shadow variable kdav-5.116.0/src/common/etagcache.h:100:42: performance: Function 'etagCacheMap()' should return member 'mCache' by const reference. [returnByReference] kdav-5.116.0/src/common/protocolinfo.cpp:53:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KDAV_LOG [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/protocols/caldavprotocol.cpp:383:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Calendar [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/protocols/caldavprotocol.cpp:343:87: style:inconclusive: Function 'collectionContentTypes' argument 1 names different: declaration 'propstat' definition 'propstatElement'. [funcArgNamesDifferent] kdav-5.116.0/src/protocols/caldavprotocol_p.h:28:99: note: Function 'collectionContentTypes' argument 1 names different: declaration 'propstat' definition 'propstatElement'. kdav-5.116.0/src/protocols/caldavprotocol.cpp:343:87: note: Function 'collectionContentTypes' argument 1 names different: declaration 'propstat' definition 'propstatElement'. kdav-5.116.0/src/protocols/carddavprotocol.cpp:172:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Contacts [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/protocols/carddavprotocol_p.h:28:99: style:inconclusive: Function 'collectionContentTypes' argument 1 names different: declaration 'propstat' definition ''. [funcArgNamesDifferentUnnamed] kdav-5.116.0/src/protocols/groupdavprotocol.cpp:128:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Events [valueFlowBailoutIncompleteVar] kdav-5.116.0/src/protocols/groupdavprotocol.cpp:104:89: style:inconclusive: Function 'collectionContentTypes' argument 1 names different: declaration 'propstat' definition 'propstatElement'. [funcArgNamesDifferent] kdav-5.116.0/src/protocols/groupdavprotocol_p.h:23:99: note: Function 'collectionContentTypes' argument 1 names different: declaration 'propstat' definition 'propstatElement'. kdav-5.116.0/src/protocols/groupdavprotocol.cpp:104:89: note: Function 'collectionContentTypes' argument 1 names different: declaration 'propstat' definition 'propstatElement'. kdav-5.116.0/test/testserver.cpp:29:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CardDav [valueFlowBailoutIncompleteVar] diff: head kdav-5.116.0/src/common/davcollectionsmultifetchjob.cpp:51:52: style:inconclusive: Function 'slotResult' argument 1 names different: declaration '' definition 'job'. [funcArgNamesDifferentUnnamed] head kdav-5.116.0/src/common/davprincipalsearchjob.cpp:24:1: warning: Member variable 'DavPrincipalSearchJobPrivate::mType' has no initializer. [uninitMemberVarNoCtor] head kdav-5.116.0/src/protocols/carddavprotocol_p.h:28:99: style:inconclusive: Function 'collectionContentTypes' argument 1 names different: declaration 'propstat' definition ''. [funcArgNamesDifferentUnnamed] DONE