Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyze: Log analysis summaries for custom queries #532

Merged
merged 2 commits into from
May 28, 2021

Conversation

henrymercer
Copy link
Contributor

@henrymercer henrymercer commented May 28, 2021

This PR logs analysis summaries for custom query suites, in addition to the analysis summary for the default suite that is logged by #515.

Here's an example of an analysis summary produced when running with a custom set of diagnostic queries for Java:

Analysis summary for java
  Counted 250426 lines of code for java as a baseline.
  Analysis produced the following metric data:
  
  |               Metric                | Value |
  +-------------------------------------+-------+
  | Total lines of code in the database | 88684 |
  
  Analysis summary for custom queries:
  
  Analysis produced the following diagnostic data:
  
  | Severity |                       Message                       |
  +----------+-----------------------------------------------------+
  | error    | (6 results for diagnostic "Extraction errors")      |
  | warning  | (1184 results for diagnostic "Extraction warnings") |

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants