Error: COMPILER_WARNING (CWE-252): [#def1] kirigami-addons-1.7.0/src/components/nameutils.cpp: scope_hint: In member function ‘bool NameUtils::isStringUnsuitableForInitials(const QString&)’ kirigami-addons-1.7.0/src/components/nameutils.cpp:163:16: warning[-Wunused-result]: ignoring return value of ‘bool std::any_of(_IIter, _IIter, _Predicate) [with _IIter = const QChar*; _Predicate = NameUtils::isStringUnsuitableForInitials(const QString&)::<lambda(const QChar&)>]’, declared with attribute ‘nodiscard’ # 163 | std::any_of(string.cbegin(), string.cend(), [](const QChar &character) { # | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 164 | return std::find(scripts.begin(), scripts.end(), character.script()) == scripts.end(); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 165 | }); # | ~~ /usr/include/c++/15/algorithm:63: included_from: Included from here. /usr/include/qt6/QtCore/qflags.h:10: included_from: Included from here. /usr/include/qt6/QtCore/qglobal.h:49: included_from: Included from here. /usr/include/qt6/QtGui/qtguiglobal.h:7: included_from: Included from here. /usr/include/qt6/QtGui/qcolor.h:7: included_from: Included from here. /usr/include/qt6/QtGui/QColor:1: included_from: Included from here. kirigami-addons-1.7.0/src/components/nameutils.h:7: included_from: Included from here. kirigami-addons-1.7.0/src/components/nameutils.cpp:5: included_from: Included from here. /usr/include/c++/15/bits/stl_algo.h:449:5: note: declared here # 449 | any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) # | ^~~~~~ # 161| QChar::Script_Han, QChar::Script_Hangul, QChar::Script_Cyrillic}; # 162| # 163|-> std::any_of(string.cbegin(), string.cend(), [](const QChar &character) { # 164| return std::find(scripts.begin(), scripts.end(), character.script()) == scripts.end(); # 165| }); Error: COMPILER_WARNING (CWE-477): [#def2] kirigami-addons-1.7.0/src/treeview/treeviewplugin.cpp:7: included_from: Included from here. kirigami-addons-1.7.0/src/treeview/treeviewplugin.h: scope_hint: In member function ‘QString TreeViewPlugin::resolveFilePath(const QString&) const’ kirigami-addons-1.7.0/src/treeview/treeviewplugin.h:24:23: warning[-Wdeprecated-declarations]: ‘QUrl QQmlExtensionPlugin::baseUrl() const’ is deprecated: Provide a qmldir file to remove the need for calling baseUrl # 24 | return baseUrl().toLocalFile() + QLatin1Char('/') + path; # | ~~~~~~~^~ /usr/include/qt6/QtQml/QQmlExtensionPlugin:1: included_from: Included from here. kirigami-addons-1.7.0/src/treeview/treeviewplugin.h:9: included_from: Included from here. /usr/include/qt6/QtQml/qqmlextensionplugin.h:39:10: note: declared here # 39 | QUrl baseUrl() const; # | ^~~~~~~ # 22| QString resolveFilePath(const QString &path) const # 23| { # 24|-> return baseUrl().toLocalFile() + QLatin1Char('/') + path; # 25| } # 26| QString resolveFileUrl(const QString &filePath) const Error: COMPILER_WARNING (CWE-477): [#def3] kirigami-addons-1.7.0/src/treeview/treeviewplugin.h: scope_hint: In member function ‘QString TreeViewPlugin::resolveFileUrl(const QString&) const’ kirigami-addons-1.7.0/src/treeview/treeviewplugin.h:28:23: warning[-Wdeprecated-declarations]: ‘QUrl QQmlExtensionPlugin::baseUrl() const’ is deprecated: Provide a qmldir file to remove the need for calling baseUrl # 28 | return baseUrl().toString() + QLatin1Char('/') + filePath; # | ~~~~~~~^~ /usr/include/qt6/QtQml/qqmlextensionplugin.h:39:10: note: declared here # 39 | QUrl baseUrl() const; # | ^~~~~~~ # 26| QString resolveFileUrl(const QString &filePath) const # 27| { # 28|-> return baseUrl().toString() + QLatin1Char('/') + filePath; # 29| } # 30| QStringList m_stylesFallbackChain;
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-69.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | kf6-kirigami-addons-1.7.0-2.fc43 |
store-results-to | /tmp/tmpa4j6xmbe/kf6-kirigami-addons-1.7.0-2.fc43.tar.xz |
time-created | 2025-04-25 13:36:37 |
time-finished | 2025-04-25 13:40:03 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpa4j6xmbe/kf6-kirigami-addons-1.7.0-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpa4j6xmbe/kf6-kirigami-addons-1.7.0-2.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |