kf6-kcodecs-6.22.0-1.fc44

List of Findings

Error: COMPILER_WARNING: [#def1]
kcodecs-6.22.0/src/kemailaddress.cpp: scope_hint: In function ‘bool KEmailAddress::isValidSimpleAddress(const QString&)’
kcodecs-6.22.0/src/kemailaddress.cpp:601:9: warning[-Wunused-but-set-variable=]: variable ‘atCount’ set but not used
#  601 |     int atCount = localPart.count(QLatin1Char('@'));
#      |         ^~~~~~~
#  599|   
#  600|       bool inQuotedString = false;
#  601|->     int atCount = localPart.count(QLatin1Char('@'));
#  602|   
#  603|       unsigned int strlen = localPart.length();

Error: COMPILER_WARNING (CWE-9001): [#def2]
kcodecs-6.22.0/src/probers/LangBulgarianModel.cpp:148:39: warning[-Wattributes]: ‘visibility’ attribute ignored
#  148 | const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {Latin5_BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "ISO-8859-5"};
#      |                                       ^~~~~~~~~~~~~~~~~~~~
#  146|   };
#  147|   
#  148|-> const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {Latin5_BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "ISO-8859-5"};
#  149|   
#  150|   const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {win1251BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "windows-1251"};

Error: COMPILER_WARNING (CWE-9001): [#def3]
kcodecs-6.22.0/src/probers/LangBulgarianModel.cpp:150:39: warning[-Wattributes]: ‘visibility’ attribute ignored
#  150 | const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {win1251BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "windows-1251"};
#      |                                       ^~~~~~~~~~~~~~~~~~~~~
#  148|   const SequenceModel KCODECS_NO_EXPORT Latin5BulgarianModel = {Latin5_BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "ISO-8859-5"};
#  149|   
#  150|-> const SequenceModel KCODECS_NO_EXPORT Win1251BulgarianModel = {win1251BulgarianCharToOrderMap, BulgarianLangModel, (float)0.969392, false, "windows-1251"};
#  151|   }

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-9.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namekf6-kcodecs-6.22.0-1.fc44
store-results-to/tmp/tmpdebdq1cx/kf6-kcodecs-6.22.0-1.fc44.tar.xz
time-created2026-01-08 17:34:48
time-finished2026-01-08 17:37:32
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpdebdq1cx/kf6-kcodecs-6.22.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpdebdq1cx/kf6-kcodecs-6.22.0-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9