Client/RecordHeader.pm

filter: Statementstmt 83.3% 20 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 6 / 10 Podpod 100% 4 / 4 totaltotal 78.9% 30 / 38 CC 1 SCAR 3.4
CC
1
Cov
83%
content_length
2.0
padding_length
2.0
type
2.0
CRAP 1.4
« Client/Record.pm ↑ Summary Client/Constant.pm »
1 package FCGI::Client::RecordHeader;
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 Types::Standard qw/Str/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 has raw => ( is => 'ro', isa => Str );
9 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 0 ▶sub content_length { unpack( 'x4n', $_[0]->raw ) }
Subroutine content_length: not called CC=1 SCAR=6.9
Pod documented
12 0 ▶sub padding_length { unpack( 'x6C', $_[0]->raw ) }
Subroutine padding_length: not called CC=1 SCAR=6.9
Pod documented
13 0 ▶sub type { unpack( 'xC', $_[0]->raw ) }
Subroutine type: not called CC=1 SCAR=6.9
Pod documented
14 0 ▶sub request_id { unpack( 'xxn', $_[0]->raw ) }
Subroutine request_id: not called CC=1 SCAR=6.9
Pod documented
15  
16 1 __PACKAGE__->meta->make_immutable;
17 __END__
« Client/Record.pm ↑ Summary Client/Constant.pm »