Error: SHELLCHECK_WARNING: [#def1] /usr/bin/startlxqt:5:5: warning[SC3043]: In POSIX sh, 'local' is undefined. # 3| contains() # 4| { # 5|-> local str="$1" substr="$2" # 6| [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ] # 7| } Error: SHELLCHECK_WARNING (CWE-477): [#def2] /usr/bin/startlxqt:6:26: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. # 4| { # 5| local str="$1" substr="$2" # 6|-> [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ] # 7| } # 8| Error: SHELLCHECK_WARNING (CWE-477): [#def3] /usr/bin/startlxqt:6:52: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. # 4| { # 5| local str="$1" substr="$2" # 6|-> [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ] # 7| } # 8| Error: SHELLCHECK_WARNING (CWE-477): [#def4] /usr/bin/startlxqt:6:80: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. # 4| { # 5| local str="$1" substr="$2" # 6|-> [ "$str" = "$substr" -o -z "${str##$substr:*}" -o -z "${str##*:$substr:*}" -o -z "${str%%*:$substr}" ] # 7| } # 8|
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-153.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | lxqt-session-2.1.1-6.fc43 |
store-results-to | /tmp/tmpfyjshtni/lxqt-session-2.1.1-6.fc43.tar.xz |
time-created | 2025-04-25 14:24:05 |
time-finished | 2025-04-25 14:25:58 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpfyjshtni/lxqt-session-2.1.1-6.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpfyjshtni/lxqt-session-2.1.1-6.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |