Your first code analysis
This article will walk you through your first code analysis with preZero. This process works with applications written using any language preZero supports.
Before you start
- Make sure that the machine on which you're running preZero meets the prerequisites for an optimal experience.
- Set up preZero.
Analyzing your code
Once you've set up your workstation to run preZero, you're ready to submit your code for analysis. To do so, run the following in the command line:
# preZero is capable of inferring from your code repository
# the language in which the code is written, as well as the
# application's name.
#
# If multiple languages are present, each individual language will be analyzed
sl analyze <path to code>
If no argument is given, the current working directory is used instead:
cd <path to code>
sl analyze
If no language flag is specified, preZero will decide the language(s) based off of the language(s) detected in most of the files (considering only supported languages). The automatic detection can be overridden with any of the language-specific flags.
You will see status updates regarding the analysis in the CLI; when your results are ready, you can view them using the Qwiet UI.
Advanced options
For information about language-specific features, please review the options available as part of sl analyze
or the page appropriate for your application: