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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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)


1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1307

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