Condition Coverage

blib/lib/Ogg/Vorbis/Header/PurePerl.pm
Criterion Covered Total %
condition 11 23 47.8


and 3 conditions

line !l l&&!r l&&r condition
268 0 0 9 not $done and read($fh, $buff, 28) == 28
290 6 0 3 defined $val{$stream} and not $flag & 1
303 6 0 0 $packets > $MAX_PACKETS * $streams and not %val
340 0 3 3 $buff =~ /^(.)vorbis/s and ord $1 == 3
346 3 3 0 defined $val{$stream} and $flag & 4
442 0 0 3 $found_header == 0 and read $fh, $buf, $len
479 3 0 0 $granule_position and $data->{'INFO'}{'rate'}

or 2 conditions

line l !l condition
96 3 0 _check_header($data) || (return undef)