Branch Coverage

blib/lib/IO/Compress/Zlib/Extra.pm
Criterion Covered Total %
branch 44 52 84.6


line true false branch
27 0 910 unless ref $pair and ref $pair eq "ARRAY"
30 2 908 unless @$pair == 2
33 1 907 if ref $pair->[0]
36 2 905 if ref $pair->[1]
40 4 901 unless length $pair->[0] == 2
44 3 898 if $strict and $gzipMode and substr($pair->[0], 1, 1) eq "\0"
47 1 897 if length $pair->[1] > 65531
68 1 672 if $XLEN > 65535
74 2 875 if $offset + 4 > $XLEN
84 4 871 if $offset + $subLen > $XLEN
90 2 869 if $bad
91 850 19 if defined $extraRef
112 0 0 if $offset + 4 > $XLEN
122 0 0 if $offset + $subLen > $XLEN
124 0 0 if $id eq $id_want
169 48 34 unless (ref $dataRef)
172 18 30 unless $strict
180 27 7 if (ref $data eq 'ARRAY') { }
6 1 elsif (ref $data eq 'HASH') { }
181 8 19 if (ref $data->[0]) { }
184 2 8 unless ref $pair eq "ARRAY"
188 5 3 if $bad
194 1 18 unless @$data % 2 == 0
201 3 20 if $bad
210 3 5 if $bad
219 0 19 if length $out > 65535