2025-08-31 17:30 ftp://ftp.de.debian.org/debian/pool/main/k/karchive/karchive_5.116.0.orig.tar.xz 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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 131 275 elapsed-time: 0.8 2.8 head-timing-info: old-timing-info: head results: karchive-5.116.0/autotests/deprecatedtest.cpp:18:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] karchive-5.116.0/autotests/deprecatedtest.cpp:18:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] karchive-5.116.0/autotests/karchivetest.cpp:68:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:322:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PC_PATH_MAX [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:378:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:388:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QtWarningMsg [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:397:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QtWarningMsg [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:406:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:428:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:455:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:501:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:571:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:599:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:615:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:631:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:668:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:714:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:732:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:764:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:782:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:800:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:822:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:849:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:865:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:913:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:949:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:956:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:987:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1032:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1043:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1054:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1092:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1118:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1147:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1206:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1238:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1251:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1266:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1279:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1297:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:1336:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/karchivetest.cpp:168:41: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] karchive-5.116.0/autotests/karchivetest.cpp:228:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] karchive-5.116.0/autotests/karchivetest.cpp:240:9: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] karchive-5.116.0/autotests/karchivetest.cpp:647:33: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] karchive-5.116.0/autotests/karchivetest.cpp:641:14: style: Local variable 'tar' shadows outer variable [shadowVariable] karchive-5.116.0/autotests/karchivetest.cpp:631:10: note: Shadowed declaration karchive-5.116.0/autotests/karchivetest.cpp:641:14: note: Shadow variable karchive-5.116.0/autotests/karchivetest.cpp:1284:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] karchive-5.116.0/autotests/kcompressiondevicetest.cpp:34:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable finished [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kcompressiondevicetest.cpp:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kcompressiondevicetest.cpp:123:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GZip [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kcompressiondevicetest.cpp:157:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GZip [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kcompressiondevicetest.cpp:173:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GZip [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kcompressiondevicetest.cpp:193:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFFER_SIZE [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kcompressiondevicetest.cpp:202:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dataSize [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:51:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:155:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:208:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:243:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:278:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:323:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:339:105: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GZip [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:360:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mimeType [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:389:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GZip [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:415:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:440:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GZip [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:452:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileName [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:495:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:507:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/autotests/kfiltertest.cpp:369:31: style: C-style pointer casting [cstyleCast] karchive-5.116.0/autotests/kfiltertest.cpp:369:79: style: C-style pointer casting [cstyleCast] karchive-5.116.0/autotests/kfiltertest.cpp:176:8: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] karchive-5.116.0/autotests/kfiltertest.cpp:451:30: style: Variable 'currentdir' is assigned a value that is never used. [unreadVariable] karchive-5.116.0/autotests/kfiltertest.cpp:451:19: style: Variable 'currentdir' is assigned a value that is never used. [unreadVariable] karchive-5.116.0/autotests/klimitediodevicetest.cpp:31:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/examples/bzip2gzip/main.cpp:50:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZip2 [valueFlowBailoutIncompleteVar] karchive-5.116.0/examples/helloworld/main.cpp:30:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/examples/tarlocalfiles/main.cpp:33:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/examples/unzipper/main.cpp:38:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/karchive.h:190:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] karchive-5.116.0/src/karchive.h:190:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] karchive-5.116.0/src/kcompressiondevice.cpp:68:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kcompressiondevice.cpp:78:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitive [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kcompressiondevice.cpp:241:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kcompressiondevice.cpp:270:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoError [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kcompressiondevice.cpp:300:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kcompressiondevice.cpp:357:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kcompressiondevice.cpp:432:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kcompressiondevice.cpp:38:5: warning: Member variable 'KCompressionDevicePrivate::result' is not initialized in the constructor. [uninitMemberVar] karchive-5.116.0/src/kcompressiondevice.cpp:38:5: warning: Member variable 'KCompressionDevicePrivate::filter' is not initialized in the constructor. [uninitMemberVar] karchive-5.116.0/src/kcompressiondevice.h:85:10: style: Virtual function 'close' is called from destructor '~KCompressionDevice()' at line 219. Dynamic binding is not used. [virtualCallInConstructor] karchive-5.116.0/src/kcompressiondevice.cpp:219:9: note: Calling close karchive-5.116.0/src/kcompressiondevice.h:85:10: note: close is a virtual function karchive-5.116.0/src/kcompressiondevice.h:62:5: style: Class 'KCompressionDevice' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] karchive-5.116.0/src/kcompressiondevice.cpp:38:5: style: Class 'KCompressionDevicePrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] karchive-5.116.0/src/kcompressiondevice.cpp:105:99: style:inconclusive: Function 'compressionTypeForMimeType' argument 1 names different: declaration 'mimetype' definition 'mimeType'. [funcArgNamesDifferent] karchive-5.116.0/src/kcompressiondevice.h:121:70: note: Function 'compressionTypeForMimeType' argument 1 names different: declaration 'mimetype' definition 'mimeType'. karchive-5.116.0/src/kcompressiondevice.cpp:105:99: note: Function 'compressionTypeForMimeType' argument 1 names different: declaration 'mimetype' definition 'mimeType'. karchive-5.116.0/src/kfilterdev.h:14:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] karchive-5.116.0/src/kfilterdev.h:14:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] karchive-5.116.0/src/kgzipfilter.cpp:76:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kgzipfilter.cpp:110:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kgzipfilter.cpp:129:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kgzipfilter.cpp:279:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kgzipfilter.cpp:338:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/kgzipfilter.cpp:340:18: style: The scope of the variable 'p' can be reduced. [variableScope] karchive-5.116.0/src/kgzipfilter.cpp:341:11: style: The scope of the variable 'len' can be reduced. [variableScope] karchive-5.116.0/src/kgzipfilter.cpp:158:12: style: Variable 'i' is assigned a value that is never used. [unreadVariable] karchive-5.116.0/src/klimitediodevice.cpp:16:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/klimitediodevice.cpp:22:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/klimitediodevice_p.h:37:10: style: Virtual function 'open' is called from constructor 'KLimitedIODevice(QIODevice*dev,qint64 start,qint64 length)' at line 16. Dynamic binding is not used. [virtualCallInConstructor] karchive-5.116.0/src/klimitediodevice.cpp:16:5: note: Calling open karchive-5.116.0/src/klimitediodevice_p.h:37:10: note: open is a virtual function karchive-5.116.0/src/knonefilter.cpp:98:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/src/knonefilter.cpp:107:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/k7ziptest.cpp:62:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/k7ziptest.cpp:33:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] karchive-5.116.0/tests/kartest.cpp:48:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kartest.cpp:29:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] karchive-5.116.0/tests/krcctest.cpp:51:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/krcctest.cpp:32:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] karchive-5.116.0/tests/ktartest.cpp:51:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/ktartest.cpp:32:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] karchive-5.116.0/tests/kziptest.cpp:74:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:88:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:118:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:146:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:161:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:185:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:203:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadWrite [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:222:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:253:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZip2 [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:271:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZip2 [valueFlowBailoutIncompleteVar] karchive-5.116.0/tests/kziptest.cpp:45:40: warning: Either the condition 'e' is redundant or there is possible null pointer dereference: e. [nullPointerRedundantCheck] karchive-5.116.0/tests/kziptest.cpp:47:13: note: Assuming that condition 'e' is not redundant karchive-5.116.0/tests/kziptest.cpp:45:40: note: Null pointer dereference karchive-5.116.0/tests/kziptest.cpp:46:13: warning: Either the condition 'e' is redundant or there is possible null pointer dereference: e. [nullPointerRedundantCheck] karchive-5.116.0/tests/kziptest.cpp:47:13: note: Assuming that condition 'e' is not redundant karchive-5.116.0/tests/kziptest.cpp:46:13: note: Null pointer dereference karchive-5.116.0/tests/kziptest.cpp:98:13: warning: Either the condition 'e' is redundant or there is possible null pointer dereference: e. [nullPointerRedundantCheck] karchive-5.116.0/tests/kziptest.cpp:99:13: note: Assuming that condition 'e' is not redundant karchive-5.116.0/tests/kziptest.cpp:98:13: note: Null pointer dereference diff: head karchive-5.116.0/autotests/deprecatedtest.cpp:18:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head karchive-5.116.0/autotests/deprecatedtest.cpp:18:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1133:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTC [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1145:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1149:13: style: The scope of the variable 'type' can be reduced. [variableScope] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1235:43: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1275:5: style: Class 'RangeDecoder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1378:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prob [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1465:22: style: Local variable 'i' shadows outer variable [shadowVariable] karchive-5.116.0/src/k7zip.cpp:1432:17: note: Shadowed declaration karchive-5.116.0/src/k7zip.cpp:1465:22: note: Shadow variable 2.18.0 karchive-5.116.0/src/k7zip.cpp:1490:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1524:17: style: The scope of the variable 'temp' can be reduced. [variableScope] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1705:36: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1756:37: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:1764:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable countSize [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2063:34: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2096:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2120:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable packSizes [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:225:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2297:29: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2298:24: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2307:24: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2312:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2353:28: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2390:20: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2476:17: style: Local variable 'type' shadows outer variable [shadowVariable] karchive-5.116.0/src/k7zip.cpp:2397:9: note: Shadowed declaration karchive-5.116.0/src/k7zip.cpp:2476:17: note: Shadow variable 2.18.0 karchive-5.116.0/src/k7zip.cpp:2496:25: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2622:13: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2720:36: style: Local variable 'd' shadows outer variable [shadowVariable] karchive-5.116.0/src/k7zip.h:94:25: note: Shadowed declaration karchive-5.116.0/src/k7zip.cpp:2720:36: note: Shadow variable 2.18.0 karchive-5.116.0/src/k7zip.cpp:2737:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2779:34: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2846:38: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2895:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2945:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:2987:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:347:48: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 karchive-5.116.0/src/k7zip.cpp:357:50: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 karchive-5.116.0/src/k7zip.cpp:367:52: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] 2.18.0 karchive-5.116.0/src/k7zip.cpp:552:29: style:inconclusive: Function 'K7Zip' argument 1 names different: declaration 'filename' definition 'fileName'. [funcArgNamesDifferent] karchive-5.116.0/src/k7zip.h:29:35: note: Function 'K7Zip' argument 1 names different: declaration 'filename' definition 'fileName'. karchive-5.116.0/src/k7zip.cpp:552:29: note: Function 'K7Zip' argument 1 names different: declaration 'filename' definition 'fileName'. 2.18.0 karchive-5.116.0/src/k7zip.cpp:560:7: warning: Class 'K7Zip' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 karchive-5.116.0/src/k7zip.cpp:560:7: warning: Class 'K7Zip' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 karchive-5.116.0/src/k7zip.cpp:576:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:584:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:596:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:608:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:629:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:666:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:674:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:692:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:710:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:727:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:744:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:772:18: style: Local variable 'i' shadows outer variable [shadowVariable] karchive-5.116.0/src/k7zip.cpp:753:14: note: Shadowed declaration karchive-5.116.0/src/k7zip.cpp:772:18: note: Shadow variable 2.18.0 karchive-5.116.0/src/k7zip.cpp:794:22: style: Local variable 'i' shadows outer variable [shadowVariable] karchive-5.116.0/src/k7zip.cpp:753:14: note: Shadowed declaration karchive-5.116.0/src/k7zip.cpp:794:22: note: Shadow variable 2.18.0 karchive-5.116.0/src/k7zip.cpp:841:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:870:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:913:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.cpp:982:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/k7zip.h:90:10: style: The function 'virtual_hook' overrides a function in a base class but just delegates back to the base class. [uselessOverride] karchive-5.116.0/src/karchive.h:425:18: note: Virtual function in base class karchive-5.116.0/src/k7zip.h:90:10: note: Function in derived class 2.18.0 karchive-5.116.0/src/kar.cpp:126:19: style: Local variable 'mode' shadows outer argument [shadowArgument] karchive-5.116.0/src/kar.cpp:82:43: note: Shadowed declaration karchive-5.116.0/src/kar.cpp:126:19: note: Shadow variable 2.18.0 karchive-5.116.0/src/kar.cpp:42:7: warning: Class 'KAr' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 karchive-5.116.0/src/kar.cpp:42:7: warning: Class 'KAr' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 karchive-5.116.0/src/kar.cpp:57:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/kar.cpp:64:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/kar.cpp:71:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/kar.cpp:78:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/kar.cpp:86:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/kar.h:30:5: style: Class 'KAr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 karchive-5.116.0/src/kar.h:37:5: style: Class 'KAr' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 karchive-5.116.0/src/kar.h:96:10: style: The function 'virtual_hook' overrides a function in a base class but just delegates back to the base class. [uselessOverride] karchive-5.116.0/src/karchive.h:425:18: note: Virtual function in base class karchive-5.116.0/src/kar.h:96:10: note: Function in derived class 2.18.0 karchive-5.116.0/src/karchive.cpp:119:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:127:7: warning: Class 'KArchive' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 karchive-5.116.0/src/karchive.cpp:127:7: warning: Class 'KArchive' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 karchive-5.116.0/src/karchive.cpp:130:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:143:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotOpen [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:188:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:227:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:274:145: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:300:34: style: Condition 'symLinkTarget.isEmpty()' is always true [knownConditionTrueFalse] 2.18.0 karchive-5.116.0/src/karchive.cpp:357:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hidden [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:361:27: style: Local variable 'fileName' shadows outer function [shadowFunction] karchive-5.116.0/src/karchive.h:111:13: note: Shadowed declaration karchive-5.116.0/src/karchive.cpp:361:27: note: Shadow variable 2.18.0 karchive-5.116.0/src/karchive.cpp:52:5: style: Class 'KArchiveDirectoryPrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 karchive-5.116.0/src/karchive.cpp:533:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:625:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NotOpen [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:65:61: style: Parameter 'directory' can be declared as pointer to const [constParameterPointer] 2.18.0 karchive-5.116.0/src/karchive.cpp:697:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:702:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable date [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:707:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:717:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:722:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:742:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:761:38: style:inconclusive: Function 'KArchiveFile' argument 1 names different: declaration 'archive' definition 't'. [funcArgNamesDifferent] karchive-5.116.0/src/karchivefile.h:39:28: note: Function 'KArchiveFile' argument 1 names different: declaration 'archive' definition 't'. karchive-5.116.0/src/karchive.cpp:761:38: note: Function 'KArchiveFile' argument 1 names different: declaration 'archive' definition 't'. 2.18.0 karchive-5.116.0/src/karchive.cpp:824:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ExeOther [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:841:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadWrite [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:875:48: style:inconclusive: Function 'KArchiveDirectory' argument 1 names different: declaration 'archive' definition 't'. [funcArgNamesDifferent] karchive-5.116.0/src/karchivedirectory.h:45:33: note: Function 'KArchiveDirectory' argument 1 names different: declaration 'archive' definition 't'. karchive-5.116.0/src/karchive.cpp:875:48: note: Function 'KArchiveDirectory' argument 1 names different: declaration 'archive' definition 't'. 2.18.0 karchive-5.116.0/src/karchive.cpp:897:62: style:inconclusive: Function 'entry' argument 1 names different: declaration 'name' definition '_name'. [funcArgNamesDifferent] karchive-5.116.0/src/karchivedirectory.h:70:47: note: Function 'entry' argument 1 names different: declaration 'name' definition '_name'. karchive-5.116.0/src/karchive.cpp:897:62: note: Function 'entry' argument 1 names different: declaration 'name' definition '_name'. 2.18.0 karchive-5.116.0/src/karchive.cpp:920:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:937:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.cpp:957:58: style:inconclusive: Function 'copyTo' argument 2 names different: declaration 'recursive' definition 'recursiveCopy'. [funcArgNamesDifferent] karchive-5.116.0/src/karchivedirectory.h:117:43: note: Function 'copyTo' argument 2 names different: declaration 'recursive' definition 'recursiveCopy'. karchive-5.116.0/src/karchive.cpp:957:58: note: Function 'copyTo' argument 2 names different: declaration 'recursive' definition 'recursiveCopy'. 2.18.0 karchive-5.116.0/src/karchive.cpp:978:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/karchive.h:111:13: performance: Function 'fileName()' should return member 'fileName' by const reference. [returnByReference] head karchive-5.116.0/src/karchive.h:190:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head karchive-5.116.0/src/karchive.h:190:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 karchive-5.116.0/src/karchive.h:85:13: performance: Function 'errorString()' should return member 'errorStr' by const reference. [returnByReference] 2.18.0 karchive-5.116.0/src/karchive_p.h:20:5: style: Class 'KArchivePrivate' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] head karchive-5.116.0/src/kfilterdev.h:14:0: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] head karchive-5.116.0/src/kfilterdev.h:14:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KARCHIVE_ENABLE_DEPRECATED_SINCE( ... ) [preprocessorErrorDirective] 2.18.0 karchive-5.116.0/src/krcc.cpp:105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/krcc.cpp:113:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/krcc.cpp:52:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/krcc.cpp:69:7: warning: Class 'KRcc' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 karchive-5.116.0/src/krcc.cpp:69:7: warning: Class 'KRcc' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 karchive-5.116.0/src/krcc.cpp:84:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/krcc.cpp:91:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/krcc.cpp:98:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/krcc.h:29:5: style: Class 'KRcc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 karchive-5.116.0/src/krcc.h:93:10: style: The function 'virtual_hook' overrides a function in a base class but just delegates back to the base class. [uselessOverride] karchive-5.116.0/src/karchive.h:425:18: note: Virtual function in base class karchive-5.116.0/src/krcc.h:93:10: note: Function in derived class 2.18.0 karchive-5.116.0/src/ktar.cpp:184:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:248:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:289:18: style: The scope of the variable 'typeflag' can be reduced. [variableScope] 2.18.0 karchive-5.116.0/src/ktar.cpp:328:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpFile [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:372:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:534:36: style: Local variable 'd' shadows outer variable [shadowVariable] karchive-5.116.0/src/ktar.h:111:24: note: Shadowed declaration karchive-5.116.0/src/ktar.cpp:534:36: note: Shadow variable 2.18.0 karchive-5.116.0/src/ktar.cpp:558:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpFile [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:591:12: style: The scope of the variable 'len' can be reduced. [variableScope] 2.18.0 karchive-5.116.0/src/ktar.cpp:612:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:626:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadWrite [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:69:27: style:inconclusive: Function 'KTar' argument 1 names different: declaration 'filename' definition 'fileName'. [funcArgNamesDifferent] karchive-5.116.0/src/ktar.h:38:34: note: Function 'KTar' argument 1 names different: declaration 'filename' definition 'fileName'. karchive-5.116.0/src/ktar.cpp:69:27: note: Function 'KTar' argument 1 names different: declaration 'filename' definition 'fileName'. 2.18.0 karchive-5.116.0/src/ktar.cpp:69:52: style:inconclusive: Function 'KTar' argument 2 names different: declaration 'mimetype' definition '_mimetype'. [funcArgNamesDifferent] karchive-5.116.0/src/ktar.h:38:59: note: Function 'KTar' argument 2 names different: declaration 'mimetype' definition '_mimetype'. karchive-5.116.0/src/ktar.cpp:69:52: note: Function 'KTar' argument 2 names different: declaration 'mimetype' definition '_mimetype'. 2.18.0 karchive-5.116.0/src/ktar.cpp:762:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:845:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:86:7: warning: Class 'KTar' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 karchive-5.116.0/src/ktar.cpp:86:7: warning: Class 'KTar' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 karchive-5.116.0/src/ktar.cpp:914:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.cpp:98:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/ktar.h:107:10: style: The function 'virtual_hook' overrides a function in a base class but just delegates back to the base class. [uselessOverride] karchive-5.116.0/src/karchive.h:425:18: note: Virtual function in base class karchive-5.116.0/src/ktar.h:107:10: note: Function in derived class 2.18.0 karchive-5.116.0/src/kzip.cpp:1043:46: style:inconclusive: Function 'doPrepareWriting' argument 6 names different: declaration 'atime' definition 'accessTime'. [funcArgNamesDifferent] karchive-5.116.0/src/kzip.h:136:44: note: Function 'doPrepareWriting' argument 6 names different: declaration 'atime' definition 'accessTime'. karchive-5.116.0/src/kzip.cpp:1043:46: note: Function 'doPrepareWriting' argument 6 names different: declaration 'atime' definition 'accessTime'. 2.18.0 karchive-5.116.0/src/kzip.cpp:1044:46: style:inconclusive: Function 'doPrepareWriting' argument 7 names different: declaration 'mtime' definition 'modificationTime'. [funcArgNamesDifferent] karchive-5.116.0/src/kzip.h:137:44: note: Function 'doPrepareWriting' argument 7 names different: declaration 'mtime' definition 'modificationTime'. karchive-5.116.0/src/kzip.cpp:1044:46: note: Function 'doPrepareWriting' argument 7 names different: declaration 'mtime' definition 'modificationTime'. 2.18.0 karchive-5.116.0/src/kzip.cpp:1050:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KArchiveLog [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/kzip.cpp:1321:32: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/kzip.cpp:1467:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/kzip.cpp:161:16: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] 2.18.0 karchive-5.116.0/src/kzip.cpp:161:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 karchive-5.116.0/src/kzip.cpp:196:16: style: Variable 'buffer' is assigned a value that is never used. [unreadVariable] 2.18.0 karchive-5.116.0/src/kzip.cpp:196:9: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] 2.18.0 karchive-5.116.0/src/kzip.cpp:413:27: style:inconclusive: Function 'KZip' argument 1 names different: declaration 'filename' definition 'fileName'. [funcArgNamesDifferent] karchive-5.116.0/src/kzip.h:48:25: note: Function 'KZip' argument 1 names different: declaration 'filename' definition 'fileName'. karchive-5.116.0/src/kzip.cpp:413:27: note: Function 'KZip' argument 1 names different: declaration 'filename' definition 'fileName'. 2.18.0 karchive-5.116.0/src/kzip.cpp:421:7: warning: Class 'KZip' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] 2.18.0 karchive-5.116.0/src/kzip.cpp:421:7: warning: Class 'KZip' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] 2.18.0 karchive-5.116.0/src/kzip.cpp:439:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/kzip.cpp:469:25: style: Variable 'startOfFile' is assigned a value that is never used. [unreadVariable] 2.18.0 karchive-5.116.0/src/kzip.cpp:684:18: style: The scope of the variable 'dataoffset' can be reduced. [variableScope] 2.18.0 karchive-5.116.0/src/kzip.cpp:823:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] 2.18.0 karchive-5.116.0/src/kzip.cpp:886:15: style: Local variable 'buffer' shadows outer variable [shadowVariable] karchive-5.116.0/src/kzip.cpp:832:10: note: Shadowed declaration karchive-5.116.0/src/kzip.cpp:886:15: note: Shadow variable 2.18.0 karchive-5.116.0/src/kzip.cpp:962:26: style: C-style pointer casting [cstyleCast] 2.18.0 karchive-5.116.0/src/kzip.h:168:10: style: The function 'virtual_hook' overrides a function in a base class but just delegates back to the base class. [uselessOverride] karchive-5.116.0/src/karchive.h:425:18: note: Virtual function in base class karchive-5.116.0/src/kzip.h:168:10: note: Function in derived class 2.18.0 karchive-5.116.0/src/kzip.h:48:5: style: Class 'KZip' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 karchive-5.116.0/src/kzip.h:57:5: style: Class 'KZip' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] DONE