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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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)


1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1379

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