CodeChecker 警告:自上次分析以来文件内容已更改或丢失

CodeChecker Warning: file contents changed or missing since the latest analysis

提问人:Roberto 提问时间:9/25/2023 最后编辑:Roberto 更新时间:9/25/2023 访问量:24

问:

我使用 Codechecker 在本地执行了静态分析。

现在我想使用命令将结果(在文件夹中生成)存储在 CodeChecker 数据库中reports

CodeChecker store ./reports --name my_first_run --url http://<codechecker_ip>:8555/Default

将分析结果存储在 CodeChecker 数据库中中所述。

但是页面是空的,如下图所示

enter image description here

我错过了什么吗? 我需要更新源代码吗?

命令后,我从日志中看到此警告

[INFO 2023-09-25 07:11] - Processing report files done.
[WARNING 2023-09-25 07:11] - The following source file contents changed or missing since the latest analysis:
 - /home/runner/work/codechecker-analysis-action-test/codechecker-analysis-action-test/src/main.cpp
Please re-analyze your project to update the reports!

我希望能够在我的 Web 浏览器 http://<codechecker_ip>:8555/Default 中查看结果,如下图所示enter image description here

数据库 上传 报告 警告 静态分析

评论


答: 暂无答案