Branch Coverage

lib/Net/FastCGI/Protocol.pm
Criterion Covered Total %
branch 52 56 92.8


line true false branch
45 0 20 unless ($use_pp)
52 20 0 if ($use_pp) { }
80 2 6 if @_ == 2 or @_ == 3
81 1 5 unless @_ == 1
84 3 1 unless $len and $len <= length $_[0] and vec($_[0], 0, 8) == 1
91 2 63 unless @_ == 2 or @_ == 3
94 51 12 defined $_[2] ? :
96 63 0 $DUMP_RECORD_MAX > 0 ? :
99 21 42 if ($type == 4 or $type == 9 or $type == 10) { }
30 12 elsif ($type == 1 or $type == 3 or $type == 11) { }
6 6 elsif ($content_length) { }
102 6 15 if ($content_length == 0) { }
12 3 elsif (check_params($_[2])) { }
111 3 21 if $_ > 127
113 3 21 $_ > 127 ? :
128 3 9 if $off > $max
130 3 9 if length $out > $max
141 9 21 if ($content_length != 8) { }
4 17 elsif ($type == 1) { }
5 12 elsif ($type == 3) { }
142 3 3 $type == 3 ? :
3 6 $type == 1 ? :
149 3 1 if ($flags != 0)
151 2 1 if ($flags & 1)
155 2 1 if ($flags)
178 3 3 if ($looks_like_binary) { }
187 1 5 if length $out > $max
197 0 63 if $DUMP_RECORD_ALIGN