| blib/lib/MP3/M3U/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 33 | 61 | 54.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 34 | 6 | 1 | 0 | $s and length $s < 3 |
| 57 | 0 | 0 | 7 | $ac && $tt |
| 65 | 7 | 0 | 0 | $ref and $ref ne 'GLOB' |
| 7 | 0 | 0 | $ref and $ref ne 'GLOB' and $ref ne 'SCALAR' | |
| 131 | 91 | 0 | 7 | ${$device_ref;} eq 'CDROM:' and $m3u =~ / \A (\w:) /msx |
| 240 | 6 | 1 | 0 | $self->{'search_string'} and $k->{'total'} == 0 |
| 353 | 30 | 32 | 100 | $self->{'seconds'} eq 'format' && !($all =~ /:/msx) |
| line | l | !l | condition |
|---|---|---|---|
| 31 | 5 | 2 | $o{'-seconds'} || '' |
| 1 | 6 | $o{'-search'} || '' | |
| 3 | 4 | $o{'-parse_path'} || '' | |
| 3 | 4 | $o{'-overwrite'} || 0 | |
| 3 | 4 | $o{'-encoding'} || '' | |
| 3 | 4 | $o{'-expformat'} || '' | |
| 0 | 7 | $o{'-expdrives'} || '' | |
| 77 | 7 | 0 | $cd || '' |
| 199 | 98 | 0 | $sec || 0 |
| 313 | 127 | 0 | shift() || (return '') |
| 344 | 3 | 0 | $self->{'AVERAGE_TIME'} || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 124 | 98 | 0 | 0 | $m3u =~ m[ \A \w:[\\/] (.+?) \z ]msx or $m3u =~ m[ \A [\\/]([^\\/].+?) \z ]msx |
| 98 | 0 | 0 | $m3u =~ m[ \A \w:[\\/] (.+?) \z ]msx or $m3u =~ m[ \A [\\/]([^\\/].+?) \z ]msx or $m3u =~ / \A (.+?) \z /msx | |
| 147 | 98 | 0 | 0 | $i->[1] || $i->[0] |
| 289 | 0 | 0 | 0 | $id3 or $path |
| 292 | 0 | 0 | 0 | $id3 =~ /$search/imsx or $path =~ /$search/imsx |
| 306 | 0 | 0 | 7 | $@ or not $eok |