Condition Coverage

blib/lib/MP3/M3U/Parser.pm
Criterion Covered Total %
condition 33 61 54.1


and 3 conditions

line !l l&&!r l&&r condition
36 6 1 0 $s and length $s < 3
59 0 0 7 $ac && $tt
67 7 0 0 $ref and $ref ne 'GLOB'
7 0 0 $ref and $ref ne 'GLOB' and $ref ne 'SCALAR'
133 91 0 7 ${$device_ref;} eq 'CDROM:' and $m3u =~ / \A (\w:) /msx
242 6 1 0 $$self{'search_string'} and $$k{'total'} == 0
355 30 32 100 $$self{'seconds'} eq 'format' && !($all =~ /:/msx)

or 2 conditions

line l !l condition
17 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'} || ''
79 7 0 $cd || ''
201 98 0 $sec || 0
315 127 0 shift() || (return '')
346 3 0 $$self{'AVERAGE_TIME'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
126 98 0 0 $m3u =~ m[ \A \w:[\\/] (.+?) \z ] or $m3u =~ m[ \A [\\/]([^\\/].+?) \z ]
98 0 0 $m3u =~ m[ \A \w:[\\/] (.+?) \z ] or $m3u =~ m[ \A [\\/]([^\\/].+?) \z ] or $m3u =~ / \A (.+?) \z /
149 98 0 0 $$i[1] || $$i[0]
291 0 0 0 $id3 or $path
294 0 0 0 $id3 =~ /$search/imsx or $path =~ /$search/imsx
308 0 0 7 $@ or not $eok