Class: Aws::CodeGuruReviewer::Types::Metrics

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codegurureviewer/types.rb

Overview

Information about the statistics from the code review.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#findings_countInteger

Total number of recommendations found in the code review.

Returns:

  • (Integer)


1146
1147
1148
1149
1150
1151
1152
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1146

class Metrics < Struct.new(
  :metered_lines_of_code_count,
  :suppressed_lines_of_code_count,
  :findings_count)
  SENSITIVE = []
  include Aws::Structure
end

#metered_lines_of_code_countInteger

‘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:

  • (Integer)


1146
1147
1148
1149
1150
1151
1152
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1146

class Metrics < Struct.new(
  :metered_lines_of_code_count,
  :suppressed_lines_of_code_count,
  :findings_count)
  SENSITIVE = []
  include Aws::Structure
end

#suppressed_lines_of_code_countInteger

‘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:

  • (Integer)


1146
1147
1148
1149
1150
1151
1152
# File 'lib/aws-sdk-codegurureviewer/types.rb', line 1146

class Metrics < Struct.new(
  :metered_lines_of_code_count,
  :suppressed_lines_of_code_count,
  :findings_count)
  SENSITIVE = []
  include Aws::Structure
end