libplasma-6.1.1-1.fc41
List of Defects
Error: COMPILER_WARNING (CWE-563): [#def1]
libplasma-6.1.1-build/libplasma-6.1.1/src/plasma/pluginloader.cpp: scope_hint: In member function ‘Plasma::ContainmentActions* Plasma::PluginLoader::loadContainmentActions(Plasma::Containment*, const QString&, const QVariantList&)’
libplasma-6.1.1-build/libplasma-6.1.1/src/plasma/pluginloader.cpp:101:71: warning[-Wunused-parameter]: unused parameter ‘parent’
# 101 | ContainmentActions *PluginLoader::loadContainmentActions(Containment *parent, const QString &name, const QVariantList &args)
# | ~~~~~~~~~~~~~^~~~~~
# 99| }
# 100|
# 101|-> ContainmentActions *PluginLoader::loadContainmentActions(Containment *parent, const QString &name, const QVariantList &args)
# 102| {
# 103| if (name.isEmpty()) {
Error: COMPILER_WARNING (CWE-563): [#def2]
libplasma-6.1.1-build/libplasma-6.1.1/src/plasma/pluginloader.cpp:101:120: warning[-Wunused-parameter]: unused parameter ‘args’
# 101 | ContainmentActions *PluginLoader::loadContainmentActions(Containment *parent, const QString &name, const QVariantList &args)
# | ~~~~~~~~~~~~~~~~~~~~^~~~
# 99| }
# 100|
# 101|-> ContainmentActions *PluginLoader::loadContainmentActions(Containment *parent, const QString &name, const QVariantList &args)
# 102| {
# 103| if (name.isEmpty()) {
Error: CLANG_WARNING: [#def3]
libplasma-6.1.1-build/libplasma-6.1.1/src/plasma/pluginloader.cpp:208:5: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
# 206| QList<KPluginMetaData> PluginLoader::listContainmentsMetaData(std::function<bool(const KPluginMetaData &)> filter)
# 207| {
# 208|-> auto ownFilter = [filter](const KPluginMetaData &md) -> bool {
# 209| return isContainmentMetaData(md) && filter(md);
# 210| };
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-228.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | libplasma-6.1.1-1.fc41 |
store-results-to | /tmp/tmpytpmbdxp/libplasma-6.1.1-1.fc41.tar.xz |
time-created | 2024-07-03 15:56:44 |
time-finished | 2024-07-03 16:02:56 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpytpmbdxp/libplasma-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpytpmbdxp/libplasma-6.1.1-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |