lxqt-session-2.2.0-5.fc44

List of Findings

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|   

Error: SHELLCHECK_WARNING: [#def5]
/usr/bin/startlxqt:51:76: warning[SC3067]: In POSIX sh, test -O is undefined.
#   49|   # Launch DBus if needed
#   50|   if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
#   51|->     if [ -z "$XDG_RUNTIME_DIR" ] || ! [ -S "$XDG_RUNTIME_DIR/bus" ] || ! [ -O "$XDG_RUNTIME_DIR/bus" ]; then
#   52|           eval "$(dbus-launch --sh-syntax --exit-with-session)" || echo "startlxqt: error executing dbus-launch" >&2
#   53|       fi

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
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-47.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-gcc-latest-x86_64
project-namelxqt-session-2.2.0-5.fc44
store-results-to/tmp/tmpuey4c2k1/lxqt-session-2.2.0-5.fc44.tar.xz
time-created2025-10-28 19:21:17
time-finished2025-10-28 19:23:14
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpuey4c2k1/lxqt-session-2.2.0-5.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpuey4c2k1/lxqt-session-2.2.0-5.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9