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-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-57.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | plasma-systemsettings-6.0.3-1.fc40 |
store-results-to | /tmp/tmponszwgne/plasma-systemsettings-6.0.3-1.fc40.tar.xz |
time-created | 2024-07-03 16:56:06 |
time-finished | 2024-07-03 16:58:40 |
tool | csmock |
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-version | csmock-3.5.3-1.el9 |