Skip to content

Metrics

Source code in docs_src/capo_codeguru_reviewer/types/metrics.py
class Metrics(TypedDict, closed=True):
    metered_lines_of_code_count: NotRequired[
        "capo_codeguru_reviewer.types.lines_of_code_count.LinesOfCodeCount"
    ]
    """<p> <code>MeteredLinesOfCodeCount</code> is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.</p>"""
    suppressed_lines_of_code_count: NotRequired[
        "capo_codeguru_reviewer.types.lines_of_code_count.LinesOfCodeCount"
    ]
    """<p> <code>SuppressedLinesOfCodeCount</code> is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the <code>excludeFiles</code> variable in the <code>aws-codeguru-reviewer.yml</code> file. This number does not include non-code lines such as comments and blank lines. </p>"""
    findings_count: NotRequired[
        "capo_codeguru_reviewer.types.findings_count.FindingsCount"
    ]
    """<p>Total number of recommendations found in the code review.</p>"""

findings_count instance-attribute

findings_count: NotRequired[FindingsCount]

Total number of recommendations found in the code review.

metered_lines_of_code_count instance-attribute

metered_lines_of_code_count: NotRequired[LinesOfCodeCount]

MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.

suppressed_lines_of_code_count instance-attribute

suppressed_lines_of_code_count: NotRequired[LinesOfCodeCount]

SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.