plasma-integration-6.5.4-1.fc44

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
plasma-integration-6.5.4/qt5/src/platformtheme/kdirselectdialog.cpp:289:83: warning[-Wunused-parameter]: unused parameter ‘parent’
#  289 | KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#      |                                                                          ~~~~~~~~~^~~~~~
#  287|   }
#  288|   
#  289|-> KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#  290|       // #ifdef Q_OS_WIN
#  291|       //     : QDialog(parent, Qt::WindowMinMaxButtonsHint),

Error: COMPILER_WARNING: [#def2]
plasma-integration-6.5.4/qt5/src/platformtheme/kdirselectdialog.cpp: scope_hint: In constructor ‘KDirSelectDialog::KDirSelectDialog(const QUrl&, bool, QWidget*)’
plasma-integration-6.5.4/qt5/src/platformtheme/kdirselectdialog.cpp:384:44: warning[-Wdeprecated-enum-enum-conversion]: bitwise operation between different enumeration types ‘Qt::Modifier’ and ‘Qt::Key’ is deprecated
#  384 |     d->deleteAction->setShortcut(Qt::SHIFT | Qt::Key_Delete);
#      |                                  ~~~~~~~~~~^~~~~~~~~~~~~~~~
#  382|       d->m_actions->addAction(d->deleteAction->objectName(), d->deleteAction);
#  383|       d->deleteAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-delete")));
#  384|->     d->deleteAction->setShortcut(Qt::SHIFT | Qt::Key_Delete);
#  385|       connect(d->deleteAction, &QAction::triggered, this, [this]() {
#  386|           d->slotDelete();

Error: COMPILER_WARNING: [#def3]
plasma-integration-6.5.4/qt5/src/platformtheme/kdirselectdialog.cpp:402:43: warning[-Wdeprecated-enum-enum-conversion]: bitwise operation between different enumeration types ‘Qt::Modifier’ and ‘Qt::Key’ is deprecated
#  402 |     propertiesAction->setShortcut(Qt::ALT | Qt::Key_Return);
#      |                                   ~~~~~~~~^~~~~~~~~~~~~~~~
#  400|       d->m_actions->addAction(propertiesAction->objectName(), propertiesAction);
#  401|       propertiesAction->setIcon(QIcon::fromTheme(QStringLiteral("document-properties")));
#  402|->     propertiesAction->setShortcut(Qt::ALT | Qt::Key_Return);
#  403|       connect(propertiesAction, &QAction::triggered, this, [this]() {
#  404|           d->slotProperties();

Error: COMPILER_WARNING (CWE-477): [#def4]
plasma-integration-6.5.4/qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp: scope_hint: In constructor ‘SystemTrayMenu::SystemTrayMenu()’
plasma-integration-6.5.4/qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp:19:7: warning[-Wdeprecated-declarations]: ‘QVariant::QVariant(Type)’ is deprecated: Use the constructor taking a QMetaType instead.
#   19 |     , m_enabled(QVariant::Bool)
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/QVariant:1: included_from: Included from here.
plasma-integration-6.5.4/qt6/src/platformtheme/kdeplatformsystemtrayicon.h:9: included_from: Included from here.
plasma-integration-6.5.4/qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp:6: included_from: Included from here.
/usr/include/qt6/QtCore/qvariant.h:560:14: note: declared here
#  560 |     explicit QVariant(Type type)
#      |              ^~~~~~~~
#   17|   SystemTrayMenu::SystemTrayMenu()
#   18|       : QPlatformMenu()
#   19|->     , m_enabled(QVariant::Bool)
#   20|       , m_visible(QVariant::Bool)
#   21|       , m_separatorsCollapsible(QVariant::Bool)

Error: COMPILER_WARNING (CWE-477): [#def5]
plasma-integration-6.5.4/qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp:20:7: warning[-Wdeprecated-declarations]: ‘QVariant::QVariant(Type)’ is deprecated: Use the constructor taking a QMetaType instead.
#   20 |     , m_visible(QVariant::Bool)
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h:560:14: note: declared here
#  560 |     explicit QVariant(Type type)
#      |              ^~~~~~~~
#   18|       : QPlatformMenu()
#   19|       , m_enabled(QVariant::Bool)
#   20|->     , m_visible(QVariant::Bool)
#   21|       , m_separatorsCollapsible(QVariant::Bool)
#   22|       , m_tag(0)

Error: COMPILER_WARNING (CWE-477): [#def6]
plasma-integration-6.5.4/qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp:21:7: warning[-Wdeprecated-declarations]: ‘QVariant::QVariant(Type)’ is deprecated: Use the constructor taking a QMetaType instead.
#   21 |     , m_separatorsCollapsible(QVariant::Bool)
#      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/qt6/QtCore/qvariant.h:560:14: note: declared here
#  560 |     explicit QVariant(Type type)
#      |              ^~~~~~~~
#   19|       , m_enabled(QVariant::Bool)
#   20|       , m_visible(QVariant::Bool)
#   21|->     , m_separatorsCollapsible(QVariant::Bool)
#   22|       , m_tag(0)
#   23|   {

Error: COMPILER_WARNING (CWE-563): [#def7]
plasma-integration-6.5.4/qt6/src/platformtheme/kdirselectdialog.cpp: scope_hint: In constructor ‘KDirSelectDialog::KDirSelectDialog(const QUrl&, bool, QWidget*)’
plasma-integration-6.5.4/qt6/src/platformtheme/kdirselectdialog.cpp:274:83: warning[-Wunused-parameter]: unused parameter ‘parent’
#  274 | KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#      |                                                                          ~~~~~~~~~^~~~~~
#  272|   }
#  273|   
#  274|-> KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#  275|       // #ifdef Q_OS_WIN
#  276|       //     : QDialog(parent, Qt::WindowMinMaxButtonsHint),

Error: COMPILER_WARNING (CWE-477): [#def8]
plasma-integration-6.5.4/qt6/src/platformtheme/khintssettings.cpp: scope_hint: In member function ‘void KHintsSettings::slotNotifyChange(int, int)’
plasma-integration-6.5.4/qt6/src/platformtheme/khintssettings.cpp:254:40: warning[-Wdeprecated-declarations]: ‘void QGuiApplication::paletteChanged(const QPalette&)’ is deprecated: Handle QEvent::ApplicationPaletteChange instead
#  254 |             Q_EMIT qApp->paletteChanged(palette);
#      |                                        ^
/usr/include/qt6/QtWidgets/qapplication.h:14: included_from: Included from here.
/usr/include/qt6/QtWidgets/QApplication:1: included_from: Included from here.
plasma-integration-6.5.4/qt6/src/platformtheme/khintssettings.cpp:12: included_from: Included from here.
/usr/include/qt6/QtGui/qguiapplication.h:161:89: note: declared here
#  161 |     QT_DEPRECATED_VERSION_X_6_0("Handle QEvent::ApplicationPaletteChange instead") void paletteChanged(const QPalette &pal);
#      |                                                                                         ^~~~~~~~~~~~~~
#  252|               // so things like SystemPalette QtQuick item that use it won't notice a palette
#  253|               // change when a QApplication which causes e.g. QML System Settings modules to not update
#  254|->             Q_EMIT qApp->paletteChanged(palette);
#  255|           } else if (qobject_cast<QGuiApplication *>(QCoreApplication::instance())) {
#  256|               QGuiApplication::setPalette(*m_palettes[QPlatformTheme::SystemPalette]);

Error: COMPILER_WARNING (CWE-252): [#def9]
plasma-integration-6.5.4/qt6/src/platformtheme/khintssettings.cpp: scope_hint: In member function ‘void KHintsSettings::loadPalettes()’
plasma-integration-6.5.4/qt6/src/platformtheme/khintssettings.cpp:424:18: warning[-Wunused-result]: ignoring return value of ‘bool QTemporaryFile::open()’, declared with attribute ‘nodiscard’
#  424 |         file.open();
#      |         ~~~~~~~~~^~
/usr/include/qt6/QtCore/QTemporaryFile:1: included_from: Included from here.
plasma-integration-6.5.4/qt6/src/platformtheme/khintssettings.cpp:24: included_from: Included from here.
/usr/include/qt6/QtCore/qtemporaryfile.h:52:32: note: declared here
#   52 |     QFILE_MAYBE_NODISCARD bool open() { return open(QIODevice::ReadWrite); }
#      |                                ^~~~
#  422|           // Construct a temporary KConfig file containing color setting so we can create a KColorScheme from it
#  423|           QTemporaryFile file;
#  424|->         file.open();
#  425|   
#  426|           KSharedConfigPtr tempConfig = KSharedConfig::openConfig(file.fileName(), KConfig::SimpleConfig);

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-8.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameplasma-integration-6.5.4-1.fc44
store-results-to/tmp/tmp6b8fm_bz/plasma-integration-6.5.4-1.fc44.tar.xz
time-created2026-01-08 20:21:48
time-finished2026-01-08 20:24:24
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp6b8fm_bz/plasma-integration-6.5.4-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp6b8fm_bz/plasma-integration-6.5.4-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9