Branch Coverage

lib/Image/Info/WEBP.pm
Criterion Covered Total %
branch 21 38 55.2


line true false branch
39 0 20 unless defined $n
40 0 20 unless $n == $len
51 0 10 unless $signature =~ /\ARIFF....WEBPVP8([ LX])/s
63 4 6 if ($type eq 'X') { }
3 3 elsif ($type eq 'L') { }
74 0 4 if $flags & 193
76 0 4 if $flags >> 8
89 1 3 if ($flags & 2) { }
100 0 3 if $length & 1
102 0 3 unless seek $fh, $length, 1
106 0 3 unless defined $n
107 0 3 if $n == 0
109 0 3 unless $n == 8
112 3 0 if ($chunk eq 'VP8 ') { }
0 0 elsif ($chunk eq 'VP8L') { }
126 0 3 unless $sig == 47
129 0 3 unless $version == 0
145 0 3 if $type & 1
148 0 3 unless $start == 2752925