2026-05-06 04:50 ftp://ftp.de.debian.org/debian/pool/main/a/appstream-generator/appstream-generator_0.10.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=libcurl --library=gtk --library=icu --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 217 217 elapsed-time: 4.3 3.9 head-timing-info: old-timing-info: head results: appstream-generator-0.10.2/src/logging.h:48:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Args [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/alpinelinux/apkindexutils.cpp:58:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/alpinelinux/apkindexutils.cpp:38:5: performance: Variable 'm_lines' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] appstream-generator-0.10.2/src/backends/alpinelinux/apkpkg.h:43:17: style: Virtual function 'name' is called from constructor 'AlpinePackage(const std::string&pkgname,const std::string&pkgver,const std::string&pkgarch)' at line 43. Dynamic binding is not used. [virtualCallInConstructor] appstream-generator-0.10.2/src/backends/alpinelinux/apkpkg.cpp:43:59: note: Calling name appstream-generator-0.10.2/src/backends/alpinelinux/apkpkg.h:43:17: note: name is a virtual function appstream-generator-0.10.2/src/backends/alpinelinux/apkpkg.h:46:17: style: Virtual function 'ver' is called from constructor 'AlpinePackage(const std::string&pkgname,const std::string&pkgver,const std::string&pkgarch)' at line 43. Dynamic binding is not used. [virtualCallInConstructor] appstream-generator-0.10.2/src/backends/alpinelinux/apkpkg.cpp:43:67: note: Calling ver appstream-generator-0.10.2/src/backends/alpinelinux/apkpkg.h:46:17: note: ver is a virtual function appstream-generator-0.10.2/src/backends/alpinelinux/apkpkg.h:49:17: style: Virtual function 'arch' is called from constructor 'AlpinePackage(const std::string&pkgname,const std::string&pkgver,const std::string&pkgarch)' at line 43. Dynamic binding is not used. [virtualCallInConstructor] appstream-generator-0.10.2/src/backends/alpinelinux/apkpkg.cpp:43:74: note: Calling arch appstream-generator-0.10.2/src/backends/alpinelinux/apkpkg.h:49:17: note: arch is a virtual function appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.cpp:84:48: style: Unused private function: 'AlpinePackageIndex::parseApkIndex' [unusedPrivateFunction] appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.h:77:32: note: Unused private function: 'AlpinePackageIndex::parseApkIndex' appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.cpp:84:48: note: Unused private function: 'AlpinePackageIndex::parseApkIndex' appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.cpp:53:26: style: The member function 'ASGenerator::AlpinePackageIndex::setPkgDescription' can be static. [functionStatic] appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.h:72:10: note: The member function 'ASGenerator::AlpinePackageIndex::setPkgDescription' can be static. appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.cpp:53:26: note: The member function 'ASGenerator::AlpinePackageIndex::setPkgDescription' can be static. appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.cpp:84:48: style: The member function 'ASGenerator::AlpinePackageIndex::parseApkIndex' can be static. [functionStatic] appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.h:77:32: note: The member function 'ASGenerator::AlpinePackageIndex::parseApkIndex' can be static. appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.cpp:84:48: note: The member function 'ASGenerator::AlpinePackageIndex::parseApkIndex' can be static. appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.cpp:62:33: style: The member function 'ASGenerator::AlpinePackageIndex::downloadIfNecessary' can be static. [functionStatic] appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.h:78:17: note: The member function 'ASGenerator::AlpinePackageIndex::downloadIfNecessary' can be static. appstream-generator-0.10.2/src/backends/alpinelinux/apkpkgindex.cpp:62:33: note: The member function 'ASGenerator::AlpinePackageIndex::downloadIfNecessary' can be static. appstream-generator-0.10.2/src/backends/archlinux/alpkgindex.cpp:44:24: style: The member function 'ASGenerator::ArchPackageIndex::setPkgDescription' can be static. [functionStatic] appstream-generator-0.10.2/src/backends/archlinux/alpkgindex.h:63:10: note: The member function 'ASGenerator::ArchPackageIndex::setPkgDescription' can be static. appstream-generator-0.10.2/src/backends/archlinux/alpkgindex.cpp:44:24: note: The member function 'ASGenerator::ArchPackageIndex::setPkgDescription' can be static. appstream-generator-0.10.2/src/backends/archlinux/alpkgindex.cpp:146:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/backends/debian/debpkg.cpp:303:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/debian/debpkg.h:69:17: style: Virtual function 'name' is called from constructor 'DebPackage(const std::string&pname,const std::string&pver,const std::string&parch,std::shared_ptrl10nTexts=nullptr)' at line 66. Dynamic binding is not used. [virtualCallInConstructor] appstream-generator-0.10.2/src/backends/debian/debpkg.cpp:66:5: note: Calling updateTmpDirPath appstream-generator-0.10.2/src/backends/debian/debpkg.cpp:164:59: note: Calling name appstream-generator-0.10.2/src/backends/debian/debpkg.h:69:17: note: name is a virtual function appstream-generator-0.10.2/src/backends/debian/debpkg.h:82:10: style: Virtual function 'finish' is called from destructor '~DebPackage()' at line 71. Dynamic binding is not used. [virtualCallInConstructor] appstream-generator-0.10.2/src/backends/debian/debpkg.cpp:71:5: note: Calling finish appstream-generator-0.10.2/src/backends/debian/debpkg.h:82:10: note: finish is a virtual function appstream-generator-0.10.2/src/backends/debian/debpkgindex.cpp:77:33: style: The member function 'ASGenerator::DebianPackageIndex::packageDescToAppStreamDesc' can be static. [functionStatic] appstream-generator-0.10.2/src/backends/debian/debpkgindex.h:65:17: note: The member function 'ASGenerator::DebianPackageIndex::packageDescToAppStreamDesc' can be static. appstream-generator-0.10.2/src/backends/debian/debpkgindex.cpp:77:33: note: The member function 'ASGenerator::DebianPackageIndex::packageDescToAppStreamDesc' can be static. appstream-generator-0.10.2/src/backends/debian/debpkgindex.cpp:173:33: style:inconclusive: Technically the member function 'ASGenerator::DebianPackageIndex::getIndexFile' can be const. [functionConst] appstream-generator-0.10.2/src/backends/debian/debpkgindex.h:72:17: note: Technically the member function 'ASGenerator::DebianPackageIndex::getIndexFile' can be const. appstream-generator-0.10.2/src/backends/debian/debpkgindex.cpp:173:33: note: Technically the member function 'ASGenerator::DebianPackageIndex::getIndexFile' can be const. appstream-generator-0.10.2/src/backends/debian/debpkgindex.cpp:299:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/backends/debian/debutils.cpp:54:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/debian/tagfile.cpp:85:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/dummy/pkgindex.h:39:5: style: Class 'DummyPackageIndex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] appstream-generator-0.10.2/src/backends/freebsd/fbsdpkg.cpp:143:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/freebsd/fbsdpkgindex.cpp:48:9: error: Resource leak: libUtil [resourceLeak] appstream-generator-0.10.2/src/backends/freebsd/fbsdpkgindex.cpp:51:1: error: Resource leak: libUtil [resourceLeak] appstream-generator-0.10.2/src/backends/interfaces.cpp:71:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/rpmmd/rpmpkgindex.cpp:120:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML_ELEMENT_NODE [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/rpmmd/rpmpkgindex.h:42:6: style: The destructor '~RPMPackageIndex' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] appstream-generator-0.10.2/src/backends/interfaces.h:202:14: note: Virtual destructor in base class appstream-generator-0.10.2/src/backends/rpmmd/rpmpkgindex.h:42:6: note: Destructor in derived class appstream-generator-0.10.2/src/backends/rpmmd/rpmpkgindex.cpp:337:25: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/backends/ubuntu/ubupkg.cpp:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/ubuntu/ubupkg.cpp:154:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/ubuntu/ubupkg.cpp:222:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/ubuntu/ubupkg.cpp:293:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/backends/ubuntu/ubupkg.cpp:150:32: style: Variable 'arg' can be declared as reference to const [constVariableReference] appstream-generator-0.10.2/src/backends/ubuntu/ubupkg.cpp:151:30: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/backends/ubuntu/ubupkgindex.cpp:41:5: performance: Variable 'm_langpacks' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] appstream-generator-0.10.2/src/config.cpp:53:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AS_FORMAT_VERSION_V1_0 [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/config.cpp:158:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FYNT_MAPPING [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/config.cpp:53:5: performance: Variable 'formatVersion' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] appstream-generator-0.10.2/src/config.cpp:406:46: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/contentsstore.cpp:107:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOMETASYNC [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/contentsstore.cpp:209:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOTFOUND [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/contentsstore.cpp:228:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_RDONLY [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/contentsstore.cpp:346:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_RDONLY [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/contentsstore.cpp:413:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_RDONLY [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/contentsstore.cpp:504:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOTFOUND [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/contentsstore.cpp:43:5: performance: Variable 'm_knownIconPaths' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] appstream-generator-0.10.2/src/contentsstore.cpp:63:21: style: The member function 'ASGenerator::ContentsStore::checkError' can be static. [functionStatic] appstream-generator-0.10.2/src/contentsstore.h:92:10: note: The member function 'ASGenerator::ContentsStore::checkError' can be static. appstream-generator-0.10.2/src/contentsstore.cpp:63:21: note: The member function 'ASGenerator::ContentsStore::checkError' can be static. appstream-generator-0.10.2/src/contentsstore.cpp:165:24: style: The member function 'ASGenerator::ContentsStore::makeDbValue' can be static. [functionStatic] appstream-generator-0.10.2/src/contentsstore.h:93:13: note: The member function 'ASGenerator::ContentsStore::makeDbValue' can be static. appstream-generator-0.10.2/src/contentsstore.cpp:165:24: note: The member function 'ASGenerator::ContentsStore::makeDbValue' can be static. appstream-generator-0.10.2/src/contentsstore.cpp:192:21: style: The member function 'ASGenerator::ContentsStore::quitTransaction' can be static. [functionStatic] appstream-generator-0.10.2/src/contentsstore.h:96:10: note: The member function 'ASGenerator::ContentsStore::quitTransaction' can be static. appstream-generator-0.10.2/src/contentsstore.cpp:192:21: note: The member function 'ASGenerator::ContentsStore::quitTransaction' can be static. appstream-generator-0.10.2/src/contentsstore.h:42:5: style: Class 'ContentsStore' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] appstream-generator-0.10.2/src/contentsstore.cpp:255:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/cptmodifiers.cpp:75:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FYNT_MAPPING [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/cptmodifiers.cpp:169:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/cptmodifiers.cpp:97:25: style: The scope of the variable 'entryKey' can be reduced. [variableScope] appstream-generator-0.10.2/src/datainjectpkg.cpp:113:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:59:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32_t [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:293:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOMETASYNC [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:413:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_RDONLY [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:516:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:622:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOTFOUND [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:643:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_RDONLY [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:679:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_RDONLY [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:784:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skip_permission_denied [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:876:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOTFOUND [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:917:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_RDONLY [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:951:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_RDONLY [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:996:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOTFOUND [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:1018:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_APPEND [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:1075:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_NOTFOUND [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:1090:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MDB_RDONLY [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:121:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uint32_t [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/datastore.cpp:241:17: style: The member function 'ASGenerator::DataStore::checkError' can be static. [functionStatic] appstream-generator-0.10.2/src/datastore.h:253:10: note: The member function 'ASGenerator::DataStore::checkError' can be static. appstream-generator-0.10.2/src/datastore.cpp:241:17: note: The member function 'ASGenerator::DataStore::checkError' can be static. appstream-generator-0.10.2/src/datastore.cpp:248:17: style: The member function 'ASGenerator::DataStore::printVersionDbg' can be static. [functionStatic] appstream-generator-0.10.2/src/datastore.h:258:10: note: The member function 'ASGenerator::DataStore::printVersionDbg' can be static. appstream-generator-0.10.2/src/datastore.cpp:248:17: note: The member function 'ASGenerator::DataStore::printVersionDbg' can be static. appstream-generator-0.10.2/src/datastore.cpp:356:20: style: The member function 'ASGenerator::DataStore::makeDbValue' can be static. [functionStatic] appstream-generator-0.10.2/src/datastore.h:263:13: note: The member function 'ASGenerator::DataStore::makeDbValue' can be static. appstream-generator-0.10.2/src/datastore.cpp:356:20: note: The member function 'ASGenerator::DataStore::makeDbValue' can be static. appstream-generator-0.10.2/src/datastore.cpp:385:17: style: The member function 'ASGenerator::DataStore::quitTransaction' can be static. [functionStatic] appstream-generator-0.10.2/src/datastore.h:278:10: note: The member function 'ASGenerator::DataStore::quitTransaction' can be static. appstream-generator-0.10.2/src/datastore.cpp:385:17: note: The member function 'ASGenerator::DataStore::quitTransaction' can be static. appstream-generator-0.10.2/src/datastore.cpp:744:17: style: The member function 'ASGenerator::DataStore::cleanupDirs' can be static. [functionStatic] appstream-generator-0.10.2/src/datastore.h:308:10: note: The member function 'ASGenerator::DataStore::cleanupDirs' can be static. appstream-generator-0.10.2/src/datastore.cpp:744:17: note: The member function 'ASGenerator::DataStore::cleanupDirs' can be static. appstream-generator-0.10.2/src/datastore.cpp:678:63: style: The scope of the variable 'result' can be reduced. [variableScope] appstream-generator-0.10.2/src/datastore.cpp:592:22: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/dataunits.cpp:85:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AS_BUNDLE_KIND_PACKAGE [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/dataunits.cpp:107:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/dataunits.cpp:202:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable asg_package_unit_parent_class [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/dataunits.cpp:318:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AS_BUNDLE_KIND_UNKNOWN [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/dataunits.cpp:342:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPtrArray [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/dataunits.cpp:423:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable asg_locale_unit_parent_class [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/dataunits.cpp:251:9: performance: Variable 'package_list' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] appstream-generator-0.10.2/src/dataunits.cpp:202:5: style: C-style pointer casting [cstyleCast] appstream-generator-0.10.2/src/dataunits.cpp:423:5: style: C-style pointer casting [cstyleCast] appstream-generator-0.10.2/src/dataunits.cpp:207:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] appstream-generator-0.10.2/src/dataunits.cpp:428:34: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] appstream-generator-0.10.2/src/dataunits.cpp:309:113: performance: Function parameter 'pkgList' should be passed by const reference. [passedByValue] appstream-generator-0.10.2/src/dataunits.cpp:351:49: style: Parameter 'unit' can be declared as pointer to const. However it seems that 'asg_locale_unit_close_impl' is a callback function, if 'unit' is declared with const you might also need to cast function pointer(s). [constParameterCallback] appstream-generator-0.10.2/src/dataunits.cpp:434:25: note: You might need to cast the function pointer here appstream-generator-0.10.2/src/dataunits.cpp:351:49: note: Parameter 'unit' can be declared as pointer to const appstream-generator-0.10.2/src/dataunits.cpp:356:58: style: Parameter 'unit' can be declared as pointer to const. However it seems that 'asg_locale_unit_dir_exists_impl' is a callback function, if 'unit' is declared with const you might also need to cast function pointer(s). [constParameterCallback] appstream-generator-0.10.2/src/dataunits.cpp:435:30: note: You might need to cast the function pointer here appstream-generator-0.10.2/src/dataunits.cpp:356:58: note: Parameter 'unit' can be declared as pointer to const appstream-generator-0.10.2/src/dataunits.cpp:151:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/downloader.cpp:95:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/downloader.cpp:136:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_GLOBAL_DEFAULT [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/downloader.cpp:163:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/downloader.cpp:263:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/downloader.cpp:345:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/downloader.cpp:61:35: style: Parameter 'contents' can be declared as pointer to const. However it seems that 'writeCallback' is a callback function, if 'contents' is declared with const you might also need to cast function pointer(s). [constParameterCallback] appstream-generator-0.10.2/src/downloader.cpp:264:55: note: You might need to cast the function pointer here appstream-generator-0.10.2/src/downloader.cpp:61:35: note: Parameter 'contents' can be declared as pointer to const appstream-generator-0.10.2/src/engine.cpp:137:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASGEN_VERSION [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/engine.cpp:163:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AsgLocaleUnit [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/engine.cpp:579:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASC_ICON_STATE_IGNORED [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/engine.cpp:1280:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/engine.cpp:1299:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/engine.cpp:140:14: style: The member function 'ASGenerator::Engine::checkLibfyamlVersion' can be static. [functionStatic] appstream-generator-0.10.2/src/engine.h:131:10: note: The member function 'ASGenerator::Engine::checkLibfyamlVersion' can be static. appstream-generator-0.10.2/src/engine.cpp:140:14: note: The member function 'ASGenerator::Engine::checkLibfyamlVersion' can be static. appstream-generator-0.10.2/src/engine.cpp:805:30: style:inconclusive: Technically the member function 'ASGenerator::Engine::checkSuiteUsable' can be const. [functionConst] appstream-generator-0.10.2/src/engine.h:203:26: note: Technically the member function 'ASGenerator::Engine::checkSuiteUsable' can be const. appstream-generator-0.10.2/src/engine.cpp:805:30: note: Technically the member function 'ASGenerator::Engine::checkSuiteUsable' can be const. appstream-generator-0.10.2/src/engine.cpp:684:16: style: Variable 'pkg' can be declared as reference to const [constVariableReference] appstream-generator-0.10.2/src/engine.cpp:1118:49: performance: Searching before insertion is not necessary. Instead of 'lastStatData[ssid]=entry.serialize()' consider using 'lastStatData.try_emplace(ssid, entry.serialize());'. [stlFindInsert] appstream-generator-0.10.2/src/engine.cpp:812:34: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/engine.cpp:860:37: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/engine.cpp:990:37: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/engine.cpp:1074:37: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/extractor.cpp:75:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASC_COMPOSE_FLAG_IGNORE_ICONS [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/extractor.cpp:190:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/extractor.cpp:273:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/hintregistry.cpp:71:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FYNT_MAPPING [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/hintregistry.cpp:162:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/hintregistry.cpp:207:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AS_ISSUE_SEVERITY_UNKNOWN [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/hintregistry.cpp:225:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FY_NT [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/iconhandler.cpp:55:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GKeyFile [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/iconhandler.cpp:251:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASC_ICON_STATE_IGNORED [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/iconhandler.cpp:415:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AS_ICON_KIND_LOCAL [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/iconhandler.cpp:530:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASC_IMAGE_FORMAT_UNKNOWN [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/iconhandler.cpp:802:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AS_COMPONENT_KIND_FONT [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/iconhandler.cpp:472:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] appstream-generator-0.10.2/src/iconhandler.cpp:407:26: style: The member function 'ASGenerator::IconHandler::getIconNameAndClear' can be static. [functionStatic] appstream-generator-0.10.2/src/iconhandler.h:131:17: note: The member function 'ASGenerator::IconHandler::getIconNameAndClear' can be static. appstream-generator-0.10.2/src/iconhandler.cpp:407:26: note: The member function 'ASGenerator::IconHandler::getIconNameAndClear' can be static. appstream-generator-0.10.2/src/logging.cpp:43:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_relaxed [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/logging.cpp:48:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable memory_order_relaxed [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/logging.cpp:70:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/logging.cpp:74:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] appstream-generator-0.10.2/src/main.cpp:63:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/main.cpp:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/main.cpp:87:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/main.cpp:118:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/main.cpp:169:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/reportgenerator.cpp:375:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AsMetadata [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/reportgenerator.cpp:663:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/reportgenerator.cpp:69:21: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] appstream-generator-0.10.2/src/reportgenerator.cpp:65:23: style:inconclusive: Technically the member function 'ASGenerator::ReportGenerator::setupInjaContext' can be const. [functionConst] appstream-generator-0.10.2/src/reportgenerator.h:101:10: note: Technically the member function 'ASGenerator::ReportGenerator::setupInjaContext' can be const. appstream-generator-0.10.2/src/reportgenerator.cpp:65:23: note: Technically the member function 'ASGenerator::ReportGenerator::setupInjaContext' can be const. appstream-generator-0.10.2/src/reportgenerator.cpp:146:31: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/reportgenerator.cpp:158:28: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/reportgenerator.cpp:172:30: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/reportgenerator.cpp:186:27: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/reportgenerator.cpp:219:35: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/reportgenerator.cpp:328:28: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/reportgenerator.cpp:676:31: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/reportgenerator.cpp:738:27: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] appstream-generator-0.10.2/src/result.cpp:38:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AS_BUNDLE_KIND_PACKAGE [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/result.cpp:46:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AS_BUNDLE_KIND_PACKAGE [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/result.cpp:129:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/result.cpp:152:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FY_NT [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/result.cpp:231:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/result.cpp:298:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:474:38: debug: Function::addArguments found argument 'c' with varid 0. [varid0] appstream-generator-0.10.2/src/utils.cpp:57:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:135:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:147:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:160:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable overwrite_existing [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:198:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable recursive [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:213:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:241:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:327:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:356:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AS_ICON_KIND_STOCK [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:376:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:388:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:474:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/utils.cpp:377:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] appstream-generator-0.10.2/src/utils.cpp:381:17: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] appstream-generator-0.10.2/src/yaml-utils.cpp:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FYPCF_JSON_FORCE [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/yaml-utils.cpp:73:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FYNT_SCALAR [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/yaml-utils.cpp:83:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FYNT_SCALAR [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/yaml-utils.cpp:101:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FYNT_SCALAR [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/yaml-utils.cpp:117:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FYNT_SEQUENCE [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/yaml-utils.cpp:133:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FYNT_MAPPING [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/yaml-utils.cpp:151:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fy_document_destroy [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/yaml-utils.cpp:91:17: style: The scope of the variable 'strValue' can be reduced. [variableScope] appstream-generator-0.10.2/src/zarchive.cpp:71:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_EOF [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:104:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_read_free [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:127:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_read_free [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:160:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:248:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:266:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:298:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:321:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable overwrite_existing [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:354:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_read_free [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:408:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:492:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_read_free [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:512:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_read_free [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:533:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_read_free [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:580:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_write_free [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:645:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_OK [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:668:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable archive_entry_free [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/src/zarchive.cpp:230:27: style: The member function 'ASGenerator::ArchiveDecompressor::pathMatches' can be static. [functionStatic] appstream-generator-0.10.2/src/zarchive.h:85:10: note: The member function 'ASGenerator::ArchiveDecompressor::pathMatches' can be static. appstream-generator-0.10.2/src/zarchive.cpp:230:27: note: The member function 'ASGenerator::ArchiveDecompressor::pathMatches' can be static. appstream-generator-0.10.2/src/zarchive.cpp:241:43: style: The member function 'ASGenerator::ArchiveDecompressor::readEntry' can be static. [functionStatic] appstream-generator-0.10.2/src/zarchive.h:86:26: note: The member function 'ASGenerator::ArchiveDecompressor::readEntry' can be static. appstream-generator-0.10.2/src/zarchive.cpp:241:43: note: The member function 'ASGenerator::ArchiveDecompressor::readEntry' can be static. appstream-generator-0.10.2/src/zarchive.cpp:256:27: style: The member function 'ASGenerator::ArchiveDecompressor::extractEntryTo' can be static. [functionStatic] appstream-generator-0.10.2/src/zarchive.h:87:10: note: The member function 'ASGenerator::ArchiveDecompressor::extractEntryTo' can be static. appstream-generator-0.10.2/src/zarchive.cpp:256:27: note: The member function 'ASGenerator::ArchiveDecompressor::extractEntryTo' can be static. appstream-generator-0.10.2/src/zarchive.cpp:283:32: style: Condition 'bytes_to_write>size' is always false [knownConditionTrueFalse] appstream-generator-0.10.2/src/zarchive.cpp:277:33: note: bytes_to_write is assigned 'size' here. appstream-generator-0.10.2/src/zarchive.cpp:283:32: note: Condition 'bytes_to_write>size' is always false appstream-generator-0.10.2/src/zarchive.cpp:135:50: style: C-style pointer casting [cstyleCast] appstream-generator-0.10.2/src/zarchive.cpp:458:33: style: The scope of the variable 'hardlinkTargetStr' can be reduced. [variableScope] appstream-generator-0.10.2/tests/tests-backend-debian.cpp:227:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-backend-debian.cpp:413:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-backend-debian.cpp:35:5: style: Class 'TestableDebianPackageIndex' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] appstream-generator-0.10.2/tests/tests-db.cpp:315:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-db.cpp:684:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XML [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-engine.cpp:39:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Debian [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-engine.cpp:56:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dummy [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-icons.cpp:39:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-icons.cpp:88:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-misc.cpp:151:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable runtime_error [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-misc.cpp:343:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AscHint [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-misc.cpp:61:52: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] appstream-generator-0.10.2/tests/tests-net.cpp:123:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DownloadException [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-net.cpp:190:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DownloadException [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-report.cpp:111:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YAML [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-report.cpp:238:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_htmlDir [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-report.cpp:302:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_htmlDir [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-report.cpp:332:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m_htmlDir [valueFlowBailoutIncompleteVar] appstream-generator-0.10.2/tests/tests-report.cpp:45:9: performance: Variable 'm_tempDir' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] diff: DONE