1. Introduction¶
This chapter covers the technical integration of the Axivion Suite into IT infrastructure. An installation of the Axivion Suite provides the following components:
- Analysis agent
Tools to compile, link, and analyze your source code. The compiler and linker are provided as direct replacements for the target compiler and linker, designed to be used by a project’s original build system. Additional tools analyze the resulting linked IR file and upload the results to the dashboard server.
- Dashboard server
The web application serving the analysis results.
- User frontend
Options for inspecting analysis results served by the dashboard server:
Web browser (viewing the dashboard web interface),
Azure DevOps plugin,
CLion plugin,
Eclipse plugin,
Qt Creator plugin,
Visual Studio Code plugin,
Visual Studio plugin.
The IDE plugins also run Local Analysis on the developer’s workstation; see Deployment Model.
For architecture modeling, as well as the analysis and inspection of architecture-level results (including cycles, dead code, and architecture checking):
Gravis
Deployment Model
The Axivion Suite is deployed centrally. A production setup consists of:
a single dashboard server, installed as a system service and shared by all users and projects,
any number of analysis agents, run by your CI/CD system, which analyze each project periodically or on each change and upload the results to the dashboard server.
This setup is required. Running all components on a single workstation is intended for evaluation only; see Evaluation.
Integration of Axivion Suite with IT infrastructure¶
The Axivion Suite is independent of the choice of CI/CD system; even a simple batch file can be sufficient. For each analysis run, the CI/CD system:
checks out a project’s source code from the version control system,
starts the
axivion_citool, which in turn:builds the software via its normal build system, using the
cafeCCcompiler and linker frontend supplied by the Axivion Suite,analyzes the software by executing the configured set of analysis rules and uploads the results to the dashboard server.
The dashboard server serves the analysis results of all projects at a configurable HTTP/HTTPS URL. Users view the results with a web browser or one of the IDE plugins.
On their workstations, developers use the IDE plugins or the command line tools for Local Analysis, which consists of:
- Local Build
Analyzes the developer’s uncommitted changes with the project’s CI configuration and shows which findings the changes add or remove compared to the latest CI analysis; see Local Build.
- Single File Analysis
Analyzes a single source file and reports its findings immediately.
A Local Build fetches its reference version from the dashboard server. Therefore, a project can only be built locally after an analysis agent has analyzed it at least once and it appears on the dashboard server. The Offline Local Build of the Axivion Visual Studio Code Plugin is the exception; it runs without a dashboard server.
No dashboard server needs to be manually installed or configured on a development workstation. The IDE plugins connect to the central dashboard server and initiate the local processes for Local Analysis, including a transient local dashboard server that displays the Local Build results (this transient dashboard server requires a Java Runtime Environment on the workstation; see Dashboard Server).
Section Installation Overview provides an overview of the steps required to set up the individual aspects. It highlights some integration choices that should be considered. Please start from this section to plan the integration and follow the references to find the detailed instructions.
The detailed system requirements for the individual aspects can be found in Section System Requirements.
If any questions remain or you find things not sufficiently documented, please do not hesitate to contact our support team via axivion.support@qt.io.