kscreen-6.1.1-1.fc41
List of Defects
Error: COMPILER_WARNING (CWE-563): [#def1]
kscreen-6.1.1-build/kscreen-6.1.1/kcm/config_handler.cpp: scope_hint: In lambda function
kscreen-6.1.1-build/kscreen-6.1.1/kcm/config_handler.cpp:48:87: warning[-Wunused-parameter]: unused parameter ‘topLeft’
# 48 | connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
# | ~~~~~~~~~~~~~~~~~~~^~~~~~~
# 46| m_lastNormalizedScreenSize = screenSize();
# 47|
# 48|-> connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
# 49| Q_UNUSED(bottomRight)
# 50| // Do not run checks during interactive reaarange
Error: COMPILER_WARNING (CWE-563): [#def2]
kscreen-6.1.1-build/kscreen-6.1.1/kcm/config_handler.cpp:48:146: warning[-Wunused-parameter]: unused parameter ‘roles’
# 48 | connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
# | ~~~~~~~~~~~~~~~~~~^~~~~
# 46| m_lastNormalizedScreenSize = screenSize();
# 47|
# 48|-> connect(m_outputModel, &OutputModel::dataChanged, this, [this](const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) {
# 49| Q_UNUSED(bottomRight)
# 50| // Do not run checks during interactive reaarange
Error: CLANG_WARNING: [#def3]
kscreen-6.1.1-build/kscreen-6.1.1/kded/daemon.cpp:175:1: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
# 173| }
# 174| });
# 175|-> }
# 176|
# 177| void KScreenDaemon::applyConfig()
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 | kscreen-6.1.1-1.fc41 |
store-results-to | /tmp/tmpphuf0phk/kscreen-6.1.1-1.fc41.tar.xz |
time-created | 2024-07-03 14:25:30 |
time-finished | 2024-07-03 14:27:54 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpphuf0phk/kscreen-6.1.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpphuf0phk/kscreen-6.1.1-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |