Shell
The Shell analyzer for SonarQube Server is designed to perform static code analysis on Bash and POSIX Shell scripts.
Last updated
Was this helpful?
The Shell analyzer for SonarQube Server is designed to perform static code analysis on Bash and POSIX Shell scripts.
You can discover and update the Shell-specific properties by going to Administration > Configuration General Settings > Languages > Shell.
The analyzer is designed to analyze Bash and POSIX shell scripts, which are the only officially supported shell flavors.
However, analysis for other shell flavors (e.g. ksh, zsh) is also possible. This support is partial, and the analyzer will perform best on scripts that use syntax compatible with or similar to POSIX and Bash. You may encounter parsing errors when analyzing scripts that rely on features or syntaxes specific to other shells. This may lead to raising issues unrelated to your shell flavor.
Last updated
Was this helpful?
Was this helpful?

