Branch Coverage

blib/lib/File/Format/RIFF/Chunk.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
19 14 1 defined $id ? :
44 10 20 unless @_
46 0 20 unless length $id == 4
54 13 13 unless @_
56 1 12 unless defined $data
96 2 0 unless $sz % 2
107 0 3 if $$self{'size'} % 2
115 0 12 unless defined $got
116 0 12 unless $got == $expect
124 0 18 unless print {$fh;} @data
163 0 0 unless defined $max
164 0 0 unless defined $indent and $indent > 0
167 0 0 $max && $self->size > $max ? :
175 1 3 ref $proto ? :