Condition Coverage

blib/lib/MP3/M3U/Parser/Export.pm
Criterion Covered Total %
condition 13 37 35.1


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 3 0 0 $opt{'-format'} || $self->{'expformat'} || $DEFAULT{'format'}
24 3 0 4 $opt{'-encoding'} || $self->{'encoding'} || $DEFAULT{'encoding'}
25 0 0 7 $opt{'-drives'} || $self->{'expdrives'} || $DEFAULT{'drives'}
26 3 0 2 $opt{'-overwrite'} || $self->{'overwrite'} || $DEFAULT{'overwrite'}
27 0 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