Newly introduced defects

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
kf6-prison-6.3.0-build/prison-6.3.0/src/scanner/imagescanner.cpp: scope_hint: In function ‘ZXing::Result Prison::ImageScanner::readBarcode(const QImage&, Prison::Format::BarcodeFormats)’
kf6-prison-6.3.0-build/prison-6.3.0/src/scanner/imagescanner.cpp:26:24: warning[-Wdeprecated-declarations]: ‘using ZXing::DecodeHints = class ZXing::ReaderOptions’ is deprecated
#   26 |     ZXing::DecodeHints hints;
#      |                        ^~~~~
/usr/include/ZXing/Content.h:10: included_from: Included from here.
/usr/include/ZXing/Result.h:12: included_from: Included from here.
kf6-prison-6.3.0-build/prison-6.3.0/src/scanner/imagescanner_p.h:12: included_from: Included from here.
kf6-prison-6.3.0-build/prison-6.3.0/src/scanner/imagescanner.cpp:11: included_from: Included from here.
/usr/include/ZXing/ReaderOptions.h:176:7: note: declared here
#  176 | using DecodeHints [[deprecated]] = ReaderOptions;
#      |       ^~~~~~~~~~~
#   24|   ZXing::Result ImageScanner::readBarcode(const QImage &image, Format::BarcodeFormats formats)
#   25|   {
#   26|->     ZXing::DecodeHints hints;
#   27|       hints.setFormats(formats == Format::NoFormat ? ZXing::BarcodeFormats::all() : Format::toZXing(formats));
#   28|   

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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-17.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namekf6-prison-6.0.0-1.fc40
diffbase-store-results-to/tmp/tmpg2tmiv_q/kf6-prison-6.0.0-1.fc40.tar.xz
diffbase-time-created2024-07-03 14:19:29
diffbase-time-finished2024-07-03 14:21:37
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpg2tmiv_q/kf6-prison-6.0.0-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpg2tmiv_q/kf6-prison-6.0.0-1.fc40.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-17.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekf6-prison-6.3.0-1.fc41
store-results-to/tmp/tmpdc0tyma3/kf6-prison-6.3.0-1.fc41.tar.xz
time-created2024-07-03 14:21:51
time-finished2024-07-03 14:23:32
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpdc0tyma3/kf6-prison-6.3.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpdc0tyma3/kf6-prison-6.3.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9