plasma-systemsettings-6.0.3-1.fc40

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp: scope_hint: In lambda function
plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp:140:119: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20
#  140 |     reportPageSpecificBugAction = actionCollection()->addAction(QStringLiteral("report_bug_in_current_module"), this, [=] {
#      |                                                                                                                       ^
plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp:140:119: note: add explicit ‘this’ or ‘*this’ capture
#  138|       }
#  139|   
#  140|->     reportPageSpecificBugAction = actionCollection()->addAction(QStringLiteral("report_bug_in_current_module"), this, [=] {
#  141|           const QString bugReportUrlString =
#  142|               view->moduleView()->activeModuleMetadata().bugReportUrl() + QStringLiteral("&version=") + QGuiApplication::applicationVersion();

Error: COMPILER_WARNING (CWE-477): [#def2]
plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp: scope_hint: In lambda function
plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp:314:59: warning[-Wdeprecated]: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20
#  314 |     connect(moduleView, &ModuleView::moduleChanged, this, [=] {
#      |                                                           ^
plasma-systemsettings-6.0.3-build/systemsettings-6.0.3/app/SettingsBase.cpp:314:59: note: add explicit ‘this’ or ‘*this’ capture
#  312|       }
#  313|       auto moduleView = view->moduleView();
#  314|->     connect(moduleView, &ModuleView::moduleChanged, this, [=] {
#  315|           reportPageSpecificBugAction->setVisible(!moduleView->activeModuleMetadata().bugReportUrl().isEmpty());
#  316|           if (reportGeneralBugAction) {

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-57.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameplasma-systemsettings-6.0.3-1.fc40
store-results-to/tmp/tmponszwgne/plasma-systemsettings-6.0.3-1.fc40.tar.xz
time-created2024-07-03 16:56:06
time-finished2024-07-03 16:58:40
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmponszwgne/plasma-systemsettings-6.0.3-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmponszwgne/plasma-systemsettings-6.0.3-1.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9