Class: DatadogAPIClient::V2::CoverageSummaryAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/coverage_summary_attributes.rb

Overview

Attributes object for code coverage summary response.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



47
48
49
# File 'lib/datadog_api_client/v2/models/coverage_summary_attributes.rb', line 47

def additional_properties
  @additional_properties
end

#codeowners ⇒ Object

Coverage statistics broken down by code owner.



25
26
27
# File 'lib/datadog_api_client/v2/models/coverage_summary_attributes.rb', line 25

def codeowners
  @codeowners
end

#evaluated_flags_count ⇒ Object

Total number of coverage flags evaluated.



28
29
30
# File 'lib/datadog_api_client/v2/models/coverage_summary_attributes.rb', line 28

def evaluated_flags_count
  @evaluated_flags_count
end

#evaluated_reports_count ⇒ Object

Total number of coverage reports evaluated.



31
32
33
# File 'lib/datadog_api_client/v2/models/coverage_summary_attributes.rb', line 31

def evaluated_reports_count
  @evaluated_reports_count
end

#flags ⇒ Object

Coverage statistics broken down by flag. Each entry contains only coverage percentages. Branch summaries include the flags of the latest covered commit, including coverage carried forward to that commit. Pull request summaries include flags across all commits of the pull request.



36
37
38
# File 'lib/datadog_api_client/v2/models/coverage_summary_attributes.rb', line 36

def flags
  @flags
end

#patch_coverage ⇒ Object

Overall patch coverage percentage.



39
40
41
# File 'lib/datadog_api_client/v2/models/coverage_summary_attributes.rb', line 39

def patch_coverage
  @patch_coverage
end

#services ⇒ Object

Coverage statistics broken down by service.



42
43
44
# File 'lib/datadog_api_client/v2/models/coverage_summary_attributes.rb', line 42

def services
  @services
end

#total_coverage ⇒ Object

Overall total coverage percentage.



45
46
47
# File 'lib/datadog_api_client/v2/models/coverage_summary_attributes.rb', line 45

def total_coverage
  @total_coverage
end