You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CodeBuild::Types::CodeCoverage
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::CodeBuild::Types::CodeCoverage
 
- Defined in:
- (unknown)
Overview
Contains code coverage report information.
Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.
Branch coverage determines if your tests cover every possible branch of a control structure, such as an if or case statement.
Instance Attribute Summary collapse
- 
  
    
      #branch_coverage_percentage  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The percentage of branches that are covered by your tests. 
- 
  
    
      #branches_covered  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of conditional branches that are covered by your tests. 
- 
  
    
      #branches_missed  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of conditional branches that are not covered by your tests. 
- 
  
    
      #expired  ⇒ Time 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date and time that the tests were run. 
- 
  
    
      #file_path  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The path of the test report file. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The identifier of the code coverage report. 
- 
  
    
      #line_coverage_percentage  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The percentage of lines that are covered by your tests. 
- 
  
    
      #lines_covered  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of lines that are covered by your tests. 
- 
  
    
      #lines_missed  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of lines that are not covered by your tests. 
- 
  
    
      #report_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The ARN of the report. 
Instance Attribute Details
#branch_coverage_percentage ⇒ Float
The percentage of branches that are covered by your tests.
#branches_covered ⇒ Integer
The number of conditional branches that are covered by your tests.
#branches_missed ⇒ Integer
The number of conditional branches that are not covered by your tests.
#expired ⇒ Time
The date and time that the tests were run.
#file_path ⇒ String
The path of the test report file.
#id ⇒ String
The identifier of the code coverage report.
#line_coverage_percentage ⇒ Float
The percentage of lines that are covered by your tests.
#lines_covered ⇒ Integer
The number of lines that are covered by your tests.
#lines_missed ⇒ Integer
The number of lines that are not covered by your tests.
#report_arn ⇒ String
The ARN of the report.