Condition Coverage

lib/Net/FastCGI/Protocol/PP.pm
Criterion Covered Total %
condition 72 75 96.0


and 3 conditions

line !l l&&!r l&&r condition
67 1 1 58 defined $_[0] and length $_[0] >= 8
88 1 1 8 defined $_[0] and length $_[0] >= 8
102 1 1 9 defined $_[0] and length $_[0] >= 8
116 1 1 15 defined $_[0] and length $_[0] >= 8
195 2 1 2 $request_id != 0 and $content_length == 8
200 1 1 1 $request_id != 0 and $content_length == 0
204 2 1 2 $request_id != 0 and $content_length == 8
225 2 1 1 $request_id == 0 and $content_length == 8
337 4 1 8 @_ >= 4 and @_ <= 6
353 3 1 7 @_ >= 3 and @_ <= 5
369 1 9 9 defined $_[0] and length $_[0] >= 8
378 2 1 12 $type > 0 && $type <= 11

or 3 conditions

line l !l&&r !l&&!r condition
149 1 56 3 @_ == 2 or @_ == 3
194 5 5 26 $type == 4 or $type == 5
10 4 22 $type == 4 or $type == 5 or $type == 6
9 4 18 $type == 4 or $type == 5 or $type == 6 or $type == 7
8 4 14 $type == 4 or $type == 5 or $type == 6 or $type == 7 or $type == 8
4 4 6 $type == 9 or $type == 10
241 2 34 1 @_ == 3 or @_ == 4
384 2 1 8 $type == 1 || $type == 2 || $type == 3 || $type == 9 || $type == 10 || $type == 11
395 2 1 3 $type == 9 || $type == 10 || $type == 11
403 2 1 9 $type == 4 || $type == 5 || $type == 6 || $type == 7 || $type == 8
413 82 6 0 $Net::FastCGI::Protocol::PP::FCGI_TYPE_NAME[$type] || sprintf('0x%.2X', $type)
419 6 4 0 $Net::FastCGI::Protocol::PP::FCGI_ROLE_NAME[$role] || sprintf('0x%.4X', $role)
425 8 2 0 $Net::FastCGI::Protocol::PP::FCGI_PROTOCOL_STATUS_NAME[$status] || sprintf('0x%.2X', $status)