plasma-workspace-6.2.3-1.fc42
List of Findings
Error: SHELLCHECK_WARNING (CWE-569): [#def1]
/usr/libexec/kf6/kauth/fontinst_x11:17:10: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-758): [#def2]
/usr/libexec/plasma-sourceenv.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-88): [#def3]
/usr/libexec/plasma-sourceenv.sh:1:10: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: COMPILER_WARNING (CWE-665): [#def4]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/applets/devicenotifier/plugin/devicecontrol.cpp:24:1: warning[-Wreorder]: when initialized here
Error: COMPILER_WARNING (CWE-665): [#def5]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/applets/devicenotifier/plugin/devicecontrol.h:81:22: warning[-Wreorder]: ‘Solid::Predicate DeviceControl::m_encryptedPredicate’
Error: COMPILER_WARNING (CWE-665): [#def6]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/applets/devicenotifier/plugin/devicecontrol.cpp:7: included_from: Included from here.
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/applets/devicenotifier/plugin/devicecontrol.h: scope_hint: In constructor ‘DeviceControl::DeviceControl(QObject*)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/applets/devicenotifier/plugin/devicecontrol.h:82:47: warning[-Wreorder]: ‘DeviceControl::m_types’ will be initialized after
Error: COMPILER_WARNING (CWE-195): [#def7]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/dataengines/powermanagement/powermanagementjob.cpp: scope_hint: In member function ‘virtual void PowerManagementJob::start()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/dataengines/powermanagement/powermanagementjob.cpp:94:37: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’
Error: COMPILER_WARNING (CWE-195): [#def8]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/dataengines/powermanagement/powermanagementjob.cpp:134:36: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’
Error: COMPILER_WARNING (CWE-252): [#def9]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/dataengines/time/timeengine.cpp: scope_hint: In lambda function
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/dataengines/time/timeengine.cpp:71:13: warning[-Wunused-result]: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-477): [#def10]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/icons/main.cpp: scope_hint: In member function ‘void IconModule::ghnsEntriesChanged()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/icons/main.cpp:132:41: warning[-Wdeprecated-declarations]: ‘void KIconLoader::newIconLoader()’ is deprecated: Since 5.0. Use KIconLoader::emitChange(Group)
/usr/include/KF6/KIconThemes/KIconLoader:1: included_from: Included from here.
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/icons/main.cpp:31: included_from: Included from here.
/usr/include/KF6/KIconThemes/kiconloader.h:641:10: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def11]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/icons/main.cpp: scope_hint: In member function ‘void IconModule::installThemeFile(const QString&)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/icons/main.cpp:186:41: warning[-Wdeprecated-declarations]: ‘void KIconLoader::newIconLoader()’ is deprecated: Since 5.0. Use KIconLoader::emitChange(Group)
/usr/include/KF6/KIconThemes/kiconloader.h:641:10: note: declared here
Error: COMPILER_WARNING (CWE-252): [#def12]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/dbus/FontInst.cpp: scope_hint: In function ‘bool KFI::renameFontFile(const QString&, const QString&, int, int)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/dbus/FontInst.cpp:401:16: warning[-Wunused-result]: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def13]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/dbus/Helper.cpp: scope_hint: In function ‘bool KFI::renameFontFile(const QString&, const QString&, int, int)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/dbus/Helper.cpp:190:16: warning[-Wunused-result]: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def14]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/dbus/Helper.cpp: scope_hint: In member function ‘int KFI::Helper::move(const QVariantMap&)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/dbus/Helper.cpp:225:28: warning[-Wunused-result]: ignoring return value of ‘int chown(const char*, __uid_t, __gid_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-477): [#def15]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/viewpart/CharTip.cpp: scope_hint: In member function ‘void KFI::CCharTip::showTip()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/viewpart/CharTip.cpp:158:34: warning[-Wdeprecated-declarations]: ‘static QString QString::fromUcs4(const uint*, qsizetype)’ is deprecated: Use char32_t* overload.
/usr/include/qt6/QtCore/qhashfunctions.h:9: included_from: Included from here.
/usr/include/qt6/QtCore/qlist.h:10: included_from: Included from here.
/usr/include/qt6/QtCore/qstringlist.h:5: included_from: Included from here.
/usr/include/qt6/QtGui/qcolor.h:10: included_from: Included from here.
/usr/include/qt6/QtGui/QColor:1: included_from: Included from here.
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/lib/FcEngine.h:8: included_from: Included from here.
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/viewpart/CharTip.h:8: included_from: Included from here.
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/kfontinst/viewpart/CharTip.cpp:12: included_from: Included from here.
/usr/include/qt6/QtCore/qstring.h:696:20: note: declared here
Error: COMPILER_WARNING (CWE-563): [#def16]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/wallpaper/wallpapermodule.cpp: scope_hint: In member function ‘virtual void WallpaperModule::save()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/kcms/wallpaper/wallpapermodule.cpp:324:26: warning[-Wunused-variable]: unused variable ‘output’
Error: COMPILER_WARNING (CWE-758): [#def17]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/ksmserver/legacy.cpp: scope_hint: In member function ‘void KSMServer::performLegacySessionSave()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/ksmserver/legacy.cpp:181:30: warning[-Wrestrict]: passing argument 2 to ‘restrict’-qualified parameter aliases with argument 4
Error: COMPILER_WARNING (CWE-563): [#def18]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/ksmserver/server.cpp:177:24: warning[-Wunused-variable]: ‘remTempFile’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def19]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/ksmserver/server.cpp:309:13: warning[-Wunused-function]: ‘void fprintfhex(FILE*, unsigned int, char*)’ defined but not used
Error: COMPILER_WARNING (CWE-665): [#def20]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/libnotificationmanager/jobsmodel_p.cpp:39:1: warning[-Wreorder]: when initialized here
Error: COMPILER_WARNING (CWE-665): [#def21]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/libnotificationmanager/jobsmodel_p.h:82:13: warning[-Wreorder]: ‘QTimer* NotificationManager::JobsModelPrivate::m_compressUpdatesTimer’
Error: COMPILER_WARNING (CWE-665): [#def22]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/libnotificationmanager/jobsmodel_p.cpp:7: included_from: Included from here.
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/libnotificationmanager/jobsmodel_p.h: scope_hint: In constructor ‘NotificationManager::JobsModelPrivate::JobsModelPrivate(QObject*)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/libnotificationmanager/jobsmodel_p.h:87:26: warning[-Wreorder]: ‘NotificationManager::JobsModelPrivate::m_serviceWatcher’ will be initialized after
Error: COMPILER_WARNING (CWE-563): [#def23]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/shell/panelconfigview.cpp: scope_hint: In member function ‘void PanelConfigView::focusVisibilityCheck(QWindow*)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/shell/panelconfigview.cpp:403:14: warning[-Wunused-variable]: unused variable ‘desktop’
Error: COMPILER_WARNING (CWE-1023): [#def24]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/shell/panelview.cpp:102:16: warning[-Wswitch]: enumeration value ‘Desktop’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def25]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/shell/panelview.cpp: scope_hint: In lambda function
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/shell/panelview.cpp:102:16: warning[-Wswitch]: enumeration value ‘Floating’ not handled in switch
Error: COMPILER_WARNING (CWE-1023): [#def26]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/shell/panelview.cpp:102:16: warning[-Wswitch]: enumeration value ‘FullScreen’ not handled in switch
Error: COMPILER_WARNING (CWE-563): [#def27]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/shell/panelview.cpp: scope_hint: In member function ‘void PanelView::updateExclusiveZone()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/shell/panelview.cpp:1489:10: warning[-Wunused-but-set-variable]: variable ‘exclusiveMargin’ set but not used
Error: COMPILER_WARNING (CWE-252): [#def28]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/kcminit/main.cpp: scope_hint: In function ‘void sendReady()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/kcminit/main.cpp:37:10: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def29]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/kcminit/main.cpp: scope_hint: In function ‘void waitForReady()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/kcminit/main.cpp:46:9: warning[-Wunused-result]: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def30]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/kcminit/main.cpp: scope_hint: In function ‘int main(int, char**)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/kcminit/main.cpp:154:9: warning[-Wunused-result]: ignoring return value of ‘int pipe(int*)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def31]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/plasma-session/signalhandler.cpp: scope_hint: In static member function ‘static void SignalHandler::signalHandler(int)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/plasma-session/signalhandler.cpp:45:12: warning[-Wunused-result]: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def32]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/plasma-session/signalhandler.cpp: scope_hint: In member function ‘void SignalHandler::handleSignal()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/plasma-session/signalhandler.cpp:52:11: warning[-Wunused-result]: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def33]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/startplasma.cpp: scope_hint: In function ‘void {anonymous}::canberraFinishCallback(ca_context*, uint32_t, int, void*)’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/startkde/startplasma.cpp:789:83: warning[-Wunused-parameter]: unused parameter ‘userdata’
Error: COMPILER_WARNING (CWE-477): [#def34]
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/wallpapers/image/plugin/utils/mediaproxy.cpp: scope_hint: In member function ‘virtual void MediaProxy::componentComplete()’
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/wallpapers/image/plugin/utils/mediaproxy.cpp:55:40: warning[-Wdeprecated-declarations]: ‘void QGuiApplication::paletteChanged(const QPalette&)’ is deprecated: Handle QEvent::ApplicationPaletteChange instead
/usr/include/qt6/QtGui/QGuiApplication:1: included_from: Included from here.
plasma-workspace-6.2.3-build/plasma-workspace-6.2.3/wallpapers/image/plugin/utils/mediaproxy.cpp:13: included_from: Included from here.
/usr/include/qt6/QtGui/qguiapplication.h:161:89: note: declared here
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
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-94.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | plasma-workspace-6.2.3-1.fc42 |
store-results-to | /tmp/tmpg26hyk1w/plasma-workspace-6.2.3-1.fc42.tar.xz |
time-created | 2024-11-13 02:48:57 |
time-finished | 2024-11-13 03:11:03 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpg26hyk1w/plasma-workspace-6.2.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpg26hyk1w/plasma-workspace-6.2.3-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |