Client/Record.pm

filter: Statementstmt 96.0% 24 / 25 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod n/a totaltotal 88.5% 31 / 35 CC 2 SCAR 7.5
CC
2
Cov
89%
__ANON__
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.1
« Client/RecordFactory.pm ↑ Summary Client/RecordHeader.pm »
1 package FCGI::Client::Record;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use FCGI::Client::Constant;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use FCGI::Client::RecordHeader;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Types::Standard qw/Str/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 has header => (
10 is => 'ro',
11 0 ▶ isa => sub { die "header must be FCGI::Client::RecordHeader" unless UNIVERSAL::isa($_[0], 'FCGI::Client::RecordHeader') },
Subroutine __ANON__: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
unless UNIVERSAL::isa($_[0], "FCGI::Client::RecordHeader") 0 0 0
12 1 handles => [qw/request_id content_length type/]
13 );
14 1 has content => ( is => 'ro', isa => Str );
15 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 1 __PACKAGE__->meta->make_immutable;
18 __END__
« Client/RecordFactory.pm ↑ Summary Client/RecordHeader.pm »