Skip to content

Show analysis status per file: successful/outdated/cannot analyze/error #137

@dkrupp

Description

@dkrupp

The "Reports in the Current File" view displays the reports for the current file.

Image

However the result list is simply empty if
a) The file was analyzed sucessfully and there are no reports
b) The file was analyzed with failiure and there is no report
c) The file was not found in the compilation database and cannot be analyzed at all

Also if the analyzed file changes, the old outdated results remain in the results list and the user is not notified that the results are outdated.

Requiremets

Show the analysis status per file as main element in this results tree based on CodeChecker parse --status --detailed --e json detailed analysis status feature introduced in CodeChecker 6.27.1 and distinguish the following cases
a) cannot analyze the file
b) analyzed with error
c) analysis outdated
d) analysis successful and up-to date

In case of c) a reanalyze current file button can be placed in the tree for user convenience.
In case of error a link to the "CodeChecker process logs" could be shown so the user sees the output
Image

Metadata

Metadata

Assignees

Labels

HIGHbugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions