1.3.1. Evaluation¶
This section describes the Axivion Suite in evaluation mode, available with limited functionality to users granted an evaluation license. This mode streamlines the configuration process and removes some features that are not directly related to the analysis itself—examples include the Dashboard and the IDE plugins.
In evaluation mode, the dashboard server and the analysis run on your workstation. This allows you to explore the analysis capabilities without setting up the central infrastructure. A production setup with a full license uses a central dashboard server and analysis agents in a CI/CD system instead; see Deployment Model.
To install the Axivion Suite, please refer to Basic Installation.
To configure the static analysis for your C/C++ project and run the analysis, follow these steps:
Run
axivion_configlocated in thebinfolder of your Axivion Suite installation directory. It will show a screen titled Axivion Project Wizard.Click the button
Use wizardand follow the prompts in the Project Wizard. When the wizard is complete, it will open the configuration in the standard user interface. ClickQuit.Once finished, the Project Wizard creates a start script inside your project configuration directory (by default, this is a folder called
axivioninside your project directory). The script is named:start_analysis.batandstart_analysis.ps1under Windowsstart_analysis.shunder macOS and Linux
Open a development shell (if you do not have one in your development environment, use
cmdunder Windows /bashunder macOS and Linux). Make sure that your compiler, build tools, and version control tools are in the PATH environment variable.Then execute the start script. It will:
Launch the Dashboard Server.
Build your project with Axivion’s compiler
cafeCCand run the analysis.
If any problems occur during the build or analysis, make sure the relevant tools and build steps are executable (possibly extend the PATH variable). If you think Axivion Suite should be configured differently, run the command
axivion_config .while in the configuration directory (please note the trailing dot). Please refer to Graphical Configuration Interface for more details.After the analysis has completed successfully, open your preferred browser and point it to the URL
http://localhost:9090/axivionto view the analysis results—see Dashboard Server for details.
One of the key features of the Axivion Suite is its ability to track analysis results throughout the entire lifetime of a project, rather than just for a single version. You can try this out by making changes to your source code files and re-running the analysis. The Dashboard will then show the effects of your changes. If you have configured a version control system, please remember to commit your changes first before re-running the analysis.
To run the analysis again, simply call the start script
start_analysis.bat/start_analysis.shin the project’s configuration folder.To view the current results, make sure the Dashboard Server is running and open the URL
http://localhost:9090/axivionin your browser or use an IDE plugin.