Axivion

可以连接到 Axivion 面板服务器,并将面板项目映射到本地项目。

注意: 启用 Axivion 插件才能使用。

连接到仪表盘服务器

要连接到 Axivion 面板服务器,请执行以下操作

  1. 转到首选项>Analyzer >Axivion

    分析仪首选项中的 Axivion 选项卡

  2. 选择Add 可添加新连接到 Axivion 面板服务器,选择Edit 可更改现有连接:

    编辑仪表板配置对话框

    • Dashboard URL 中,输入服务器的 URL。
    • Username 中,输入访问服务器的用户名。

选择Remove 可删除当前选定的 Axivion 面板服务器连接。

首次访问服务器时,必须输入与用户名匹配的密码。密码会安全地保存在操作系统提供的钥匙串中,供以后使用。

选择Highlight marks 可在编辑器的滚动条上高亮显示发现的问题。

映射路径

仪表板上的项目可能有子项目,这些子项目也会出现在仪表板上,因为它们是单独分析的。

将仪表板项目映射到本地项目:

  1. Path Mapping 中,选择Add
  2. Project name 中,输入仪表板上的项目名称。
  3. Analysis path 中,输入子项目的分析路径。只有在映射子项目的分析时才需要。
  4. Local path 中,输入计算机上项目的路径。

本地分析

要执行本地分析,请指定附加设置。

Axivion Suite path 中,输入本地安装的 Axivion Suite 的路径。

BAUHAUS_PYTHON 中,如果本地分析无法自动找到 python 可执行文件,请输入该文件的路径。

JAVA_HOME 中,如果无法自动找到 Java 运行时或 Java 开发工具包,请输入其路径。

选择Save all open files before starting an analysis 可在开始分析前自动保存在编辑器中打开的文件。

另请参阅 启用和禁用插件查看 Axivion 静态代码分析结果本地分析

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.