blib/lib/File/Format/RIFF/Container.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 32 | 68.7 |
line | true | false | branch |
---|---|---|---|
16 | 2 | 2 | defined $type ? : |
24 | 9 | 7 | unless @_ |
26 | 0 | 7 | unless length $type == 4 |
34 | 0 | 8 | if @_ and exists $$self{'id'} |
42 | 1 | 1 | if ref $proto |
57 | 2 | 5 | unless @_ |
59 | 2 | 3 | unless defined $data and ref $data eq 'ARRAY' |
84 | 0 | 15 | unless ref $_ and $_->isa('File::Format::RIFF::Chunk') |
92 | 1 | 0 | @_ == 2 ? : |
4 | 1 | @_ == 3 ? : | |
12 | 5 | @_ > 3 ? : | |
121 | 1 | 13 | if @_ |
170 | 0 | 2 | if $id eq 'RIFF' |
171 | 0 | 2 | $id eq 'LIST' ? : |
190 | 0 | 0 | unless defined $max |
191 | 0 | 0 | unless defined $indent and $indent > 0 |