Condition Coverage

blib/lib/MP3/M3U/Parser/Export.pm
Criterion Covered Total %
condition 14 37 37.8


and 3 conditions

line !l l&&!r l&&r condition
59 5 0 0 $to_scalar and !ref($to_scalar) || ref $to_scalar ne 'SCALAR'
63 5 0 0 -e $file and not $overwrite

or 2 conditions

line l !l condition
167 42 0 $self->_escape($$m3u[1]) || ''
42 0 $$m3u[2] || ''

or 3 conditions

line l !l&&r !l&&!r condition
23 7 0 0 $opt{'-format'} || $$self{'expformat'} || $DEFAULT{'format'}
24 3 4 0 $opt{'-encoding'} || $$self{'encoding'} || $DEFAULT{'encoding'}
25 0 7 0 $opt{'-drives'} || $$self{'expdrives'} || $DEFAULT{'drives'}
26 5 0 2 $opt{'-overwrite'} || $$self{'overwrite'} || $DEFAULT{'overwrite'}
27 2 0 5 $opt{'-toscalar'} || $$self{'exptoscalar'} || $DEFAULT{'toscalar'}
28 5 2 0 $opt{'-file'} || $self->_default_filename($format)
59 0 0 0 !ref($to_scalar) || ref $to_scalar ne 'SCALAR'
124 0 0 0 pop @test_path || $$m3u[0]
126 0 0 0 $test_file[0] || $tp