Interface Metrics.Builder

    • Method Detail

      • meteredLinesOfCodeCount

        Metrics.Builder meteredLinesOfCodeCount​(Long meteredLinesOfCodeCount)

        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.

        Parameters:
        meteredLinesOfCodeCount - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • suppressedLinesOfCodeCount

        Metrics.Builder suppressedLinesOfCodeCount​(Long suppressedLinesOfCodeCount)

        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.

        Parameters:
        suppressedLinesOfCodeCount - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findingsCount

        Metrics.Builder findingsCount​(Long findingsCount)

        Total number of recommendations found in the code review.

        Parameters:
        findingsCount - Total number of recommendations found in the code review.
        Returns:
        Returns a reference to this object so that method calls can be chained together.