Skip to content

Display CodeChecker Analysis (error) state in Reports in Current file view #149

@dkrupp

Description

@dkrupp

When I open a file, the "Reports in Current file" view should give me information about the current status of the analyis:

  1. "Up-to-date" The reports are up to date and reflect the latest status of the opened source code
  2. "Outdated" The reports shown reflect an earlier successful analysis execution, but do not reflect the current file version. The user need to rerun the analysis to update the results.
  3. "Executing" The analysis is being executed for the current file and the reports should be refreshed shortly
  4. "Error" The analysis was attempted to be executed, but CodeChecker (analyze or parse) returned an error. There should be an easily accessible link to the terminal output for this analysis/parse where the user can start debugging/can send a bug report.
  5. "Never Analyzed" The current file was never analyzed. (It will be upon saving or manual trigger).
  6. "Error: compile command unavailable" The file cannot be analyzed because the compilation data is unavailable: compile_command.json does not contain the file/it is corrupt or missing. User should be warned to check the compilation database/or build logging.
  7. "Error: Analysis timed out" The analysis command was running too long and it was disrupted to protect the users' computer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions