kf5-kcoreaddons-5.116.0-1.fc41

List of Defects

Error: COMPILER_WARNING: [#def1]
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp: scope_hint: In member function ‘QList<QList<QVariant> > KDirWatch_UnitTest::waitForDirtySignal(KDirWatch&, int)’
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp:163:29: warning[-Wredundant-move]: redundant move in return statement
#  163 |             return std::move(spyDirty);
#      |                    ~~~~~~~~~^~~~~~~~~~
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp:163:29: note: remove ‘std::move’ call
#  161|           if (++numTries > s_maxTries) {
#  162|               qWarning() << "Timeout waiting for KDirWatch. Got" << spyDirty.count() << "dirty() signals, expected" << expected;
#  163|->             return std::move(spyDirty);
#  164|           }
#  165|           spyDirty.wait(50);

Error: COMPILER_WARNING: [#def2]
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp:167:21: warning[-Wredundant-move]: redundant move in return statement
#  167 |     return std::move(spyDirty);
#      |            ~~~~~~~~~^~~~~~~~~~
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp:167:21: note: remove ‘std::move’ call
#  165|           spyDirty.wait(50);
#  166|       }
#  167|->     return std::move(spyDirty);
#  168|   }
#  169|   

Error: COMPILER_WARNING: [#def3]
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp: scope_hint: In member function ‘QList<QList<QVariant> > KDirWatch_UnitTest::waitForDeletedSignal(KDirWatch&, int)’
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp:251:29: warning[-Wredundant-move]: redundant move in return statement
#  251 |             return std::move(spyDeleted);
#      |                    ~~~~~~~~~^~~~~~~~~~~~
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp:251:29: note: remove ‘std::move’ call
#  249|           if (++numTries > s_maxTries) {
#  250|               qWarning() << "Timeout waiting for KDirWatch. Got" << spyDeleted.count() << "deleted() signals, expected" << expected;
#  251|->             return std::move(spyDeleted);
#  252|           }
#  253|           spyDeleted.wait(50);

Error: COMPILER_WARNING: [#def4]
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp:255:21: warning[-Wredundant-move]: redundant move in return statement
#  255 |     return std::move(spyDeleted);
#      |            ~~~~~~~~~^~~~~~~~~~~~
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kdirwatch_unittest.cpp:255:21: note: remove ‘std::move’ call
#  253|           spyDeleted.wait(50);
#  254|       }
#  255|->     return std::move(spyDeleted);
#  256|   }
#  257|   

Error: CLANG_WARNING: [#def5]
kf5-kcoreaddons-5.116.0-build/kcoreaddons-5.116.0/autotests/kjobtest.cpp:450:5: warning[cplusplus.NewDeleteLeaks]: Potential leak of memory pointed to by 'job2'
#  448|       QPointer<TestJobUiDelegate> guard(delegate);
#  449|   
#  450|->     QVERIFY(job1->uiDelegate() == nullptr);
#  451|       job1->setUiDelegate(delegate);
#  452|       QVERIFY(job1->uiDelegate() == delegate);

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-84.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf5-kcoreaddons-5.116.0-1.fc41
store-results-to/tmp/tmp19x4xkkh/kf5-kcoreaddons-5.116.0-1.fc41.tar.xz
time-created2024-07-03 13:48:02
time-finished2024-07-03 13:51:40
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp19x4xkkh/kf5-kcoreaddons-5.116.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp19x4xkkh/kf5-kcoreaddons-5.116.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9