plasma-integration-6.2.3-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
plasma-integration-6.2.3-build/plasma-integration-6.2.3/qt5/src/platformtheme/kdirselectdialog.cpp:263:83: warning[-Wunused-parameter]: unused parameter ‘parent’
#  263 | KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#      |                                                                          ~~~~~~~~~^~~~~~
#  261|   }
#  262|   
#  263|-> KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#  264|       // #ifdef Q_OS_WIN
#  265|       //     : QDialog(parent, Qt::WindowMinMaxButtonsHint),

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

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

Error: COMPILER_WARNING (CWE-477): [#def4]
plasma-integration-6.2.3-build/plasma-integration-6.2.3/qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp: scope_hint: In constructor ‘SystemTrayMenu::SystemTrayMenu()’
plasma-integration-6.2.3-build/plasma-integration-6.2.3/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.2.3-build/plasma-integration-6.2.3/qt6/src/platformtheme/kdeplatformsystemtrayicon.h:9: included_from: Included from here.
plasma-integration-6.2.3-build/plasma-integration-6.2.3/qt6/src/platformtheme/kdeplatformsystemtrayicon.cpp:6: included_from: Included from here.
/usr/include/qt6/QtCore/qvariant.h:429:14: note: declared here
#  429 |     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.2.3-build/plasma-integration-6.2.3/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:429:14: note: declared here
#  429 |     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.2.3-build/plasma-integration-6.2.3/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:429:14: note: declared here
#  429 |     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.2.3-build/plasma-integration-6.2.3/qt6/src/platformtheme/kdirselectdialog.cpp: scope_hint: In constructor ‘KDirSelectDialog::KDirSelectDialog(const QUrl&, bool, QWidget*)’
plasma-integration-6.2.3-build/plasma-integration-6.2.3/qt6/src/platformtheme/kdirselectdialog.cpp:263:83: warning[-Wunused-parameter]: unused parameter ‘parent’
#  263 | KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#      |                                                                          ~~~~~~~~~^~~~~~
#  261|   }
#  262|   
#  263|-> KDirSelectDialog::KDirSelectDialog(const QUrl &startDir, bool localOnly, QWidget *parent)
#  264|       // #ifdef Q_OS_WIN
#  265|       //     : QDialog(parent, Qt::WindowMinMaxButtonsHint),

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

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-40.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameplasma-integration-6.2.3-1.fc42
store-results-to/tmp/tmpuq2_giu6/plasma-integration-6.2.3-1.fc42.tar.xz
time-created2024-11-13 02:26:41
time-finished2024-11-13 02:29:03
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpuq2_giu6/plasma-integration-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/tmpuq2_giu6/plasma-integration-6.2.3-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9