NAME

Google::Devtools::Resultstore::V2::CoverageSummary - Compiled Protocol Buffers messages for google/devtools/resultstore/v2/coverage_summary.proto

SYNOPSIS

use Google::Devtools::Resultstore::V2::CoverageSummary;

my $msg = Google::Devtools::Resultstore::V2::CoverageSummary::LineCoverageSummary->new({
    instrumented_line_count => $instrumented_line_count,
    executed_line_count => $executed_line_count,
});

# Read or update a field
my $val = $msg->instrumented_line_count();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Devtools::Resultstore::V2::CoverageSummary::LineCoverageSummary->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/devtools/resultstore/v2/coverage_summary.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Devtools::Resultstore::V2::CoverageSummary::LineCoverageSummary

Summary of line coverage

Inherits from Protobuf::Message.

Accessors

  • $msg->instrumented_line_count() / $msg->instrumented_line_count($value)

    Type: Int32

    Number of lines instrumented for coverage.

  • $msg->executed_line_count() / $msg->executed_line_count($value)

    Type: Int32

    Number of instrumented lines that were executed by the test.

Google::Devtools::Resultstore::V2::CoverageSummary::BranchCoverageSummary

Summary of branch coverage A branch may be: * not executed. Counted only in total. * executed but not taken. Appears in total and executed. * executed and taken. Appears in all three fields.

Inherits from Protobuf::Message.

Accessors

  • $msg->total_branch_count() / $msg->total_branch_count($value)

    Type: Int32

    The number of branches present in the file.

  • $msg->executed_branch_count() / $msg->executed_branch_count($value)

    Type: Int32

    The number of branches executed out of the total branches present. A branch is executed when its condition is evaluated. This is <= total_branch_count as not all branches are executed.

  • $msg->taken_branch_count() / $msg->taken_branch_count($value)

    Type: Int32

    The number of branches taken out of the total branches executed. A branch is taken when its condition is satisfied. This is <= executed_branch_count as not all executed branches are taken.

Google::Devtools::Resultstore::V2::CoverageSummary::LanguageCoverageSummary

Summary of coverage in each language

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Devtools::Resultstore::V2::CoverageSummary::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.