| blib/lib/SWF/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 25 | 44.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 26 | 1 | 0 | 0 | $param{'header'} and $param{'header'} =~ /^no(?:ne)?$/ |
| 51 | 0 | 2 | 6 | not $$self{'_aborted'} and $stream->Length |
| 54 | 0 | 0 | 1 | not $$self{'_aborted'} and $stream->Length |
| 75 | 0 | 1 | 1 | not $$self{'_aborted'} and read $file, $chunk, 4096 |
| 94 | 1 | 0 | 0 | $h ne 'CWS' and $h ne 'FWS' |
| line | l | !l | condition |
|---|---|---|---|
| 21 | 1 | 0 | $param{'header-callback'} || $param{'header_callback'} || sub { 0; } |
| 25 | 1 | 0 | $param{'tag-callback'} || $param{'tag_callback'} || sub { 0; } |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 27 | 0 | 1 | 0 | $param{'stream'} || 'SWF::BinStream::Read'->new('', sub { die "The stream ran short by $_[0] bytes."; } ) |
| 68 | 0 | 0 | 1 | ref $file or $file =~ /^\*[\w:]+$/ |