Class: Aws::CodeBuild::Types::CodeCoverage

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

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#branch_coverage_percentageFloat

The percentage of branches that are covered by your tests.

Returns:

  • (Float)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end

#branches_coveredInteger

The number of conditional branches that are covered by your tests.

Returns:

  • (Integer)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end

#branches_missedInteger

The number of conditional branches that are not covered by your tests.

Returns:

  • (Integer)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end

#expiredTime

The date and time that the tests were run.

Returns:

  • (Time)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end

#file_pathString

The path of the test report file.

Returns:

  • (String)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier of the code coverage report.

Returns:

  • (String)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end

#line_coverage_percentageFloat

The percentage of lines that are covered by your tests.

Returns:

  • (Float)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end

#lines_coveredInteger

The number of lines that are covered by your tests.

Returns:

  • (Integer)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end

#lines_missedInteger

The number of lines that are not covered by your tests.

Returns:

  • (Integer)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end

#report_arnString

The ARN of the report.

Returns:

  • (String)


1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
# File 'lib/aws-sdk-codebuild/types.rb', line 1337

class CodeCoverage < Struct.new(
  :id,
  :report_arn,
  :file_path,
  :line_coverage_percentage,
  :lines_covered,
  :lines_missed,
  :branch_coverage_percentage,
  :branches_covered,
  :branches_missed,
  :expired)
  SENSITIVE = []
  include Aws::Structure
end