View Axivion static code analysis results

Connect to an Axivion dashboard server from Qt Creator to view results of code analysis.

Note: Enable the Axivion plugin to use it.

To use the plugin, you must have access to an Axivion dashboard server. To inspect issues found during the analyses:

  • Go to Analyze > Axivion.
  • Switch to the Debug mode, and select Axivion in the debugger toolbar.

The editor shows found issues as inline annotations if the project matches the currently open one and the respective file is part of the project. Hover the mouse over an annotation to bring up a tooltip with a short description of the issue.

{Annotation popup}

Select to view detailed information about the issue in the Issue Details view.

{Issue Details view}

View issues

To view issues, select a dashboard and a project.

The Axivion dashboard displays the following types of issues that Axivion found in the selected project:

IconTypeDescription
AVArchitecture violations, such as hidden dependencies.
CLClones, such as duplicates and similar pieces of code.
CYCyclic dependencies, such as call, component, and include cycles.
DEDead entities are callable entities in the source code that cannot be reached from the entry points of the system under analysis.
MVViolations of metrics based on lines and tokens, nesting, cyclomatic complexity, control flow, and so on.
SVStyle violations, such as deviations from the naming or coding conventions.

Filter issues

{Issues in Axivion view}

To filter issues, select:

  • The icon of an issue type.
  • Two analyzed versions to compare. Select EMPTY to see issues from the version you select in the right-side version box.
  • to see only added issues.
  • to see only removed issues.
  • The owner of the issue. Select ANYBODY to see all issues, NOBODY to see issues that are not associated with a user, or a user name to see issues owned by a particular user.
  • Path patterns to show issues in the files in the directories that match the pattern.

Select for a column to set or clear the filter expression for the column.

The information you see depends on the issue type. Double-click an issue to see more information about it in the Issue Details view.

Jump to issues in the editor

Typically, the details for cycles and clones show several paths. To view the issues in the editor:

  • Click in a location column (that shows a file or line) to open the respective location (if it can be found).
  • Click in other columns to open the first link in the issue details. Usually, it leads to the Left location or Source location.

The easiest way to jump to the Right location is to select the link in the details or in the Right Path or Target Path column.

See also Enable and disable plugins, How To: Analyze, Analyzers, Axivion, and Analyzing Code.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.