plasma-integration-6.3.4-1.fc43

List of Findings

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

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

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

Error: COMPILER_WARNING (CWE-477): [#def4]
plasma-integration-6.3.4/qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp: scope_hint: In constructor ‘SystemTrayMenu::SystemTrayMenu()’
plasma-integration-6.3.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.3.4/qt6/src/platformtheme/kdeplatformsystemtrayicon.h:9: included_from: Included from here.
plasma-integration-6.3.4/qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp:6: included_from: Included from here.
/usr/include/qt6/QtCore/qvariant.h:428:14: note: declared here
#  428 |     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.3.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:428:14: note: declared here
#  428 |     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.3.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:428:14: note: declared here
#  428 |     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.3.4/qt6/src/platformtheme/kdirselectdialog.cpp: scope_hint: In constructor ‘KDirSelectDialog::KDirSelectDialog(const QUrl&, bool, QWidget*)’
plasma-integration-6.3.4/qt6/src/platformtheme/kdirselectdialog.cpp:268:83: warning[-Wunused-parameter]: unused parameter ‘parent’
#  268 | KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#      |                                                                          ~~~~~~~~~^~~~~~
#  266|   }
#  267|   
#  268|-> KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#  269|       // #ifdef Q_OS_WIN
#  270|       //     : QDialog(parent, Qt::WindowMinMaxButtonsHint),

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

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-185.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameplasma-integration-6.3.4-1.fc43
store-results-to/tmp/tmpbcxtej9m/plasma-integration-6.3.4-1.fc43.tar.xz
time-created2025-04-25 14:53:50
time-finished2025-04-25 14:56:25
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpbcxtej9m/plasma-integration-6.3.4-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpbcxtej9m/plasma-integration-6.3.4-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9