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
58 5 0 0 $to_scalar and !ref($to_scalar) || ref $to_scalar ne 'SCALAR'
62 5 0 0 -e $file and not $overwrite

or 2 conditions

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

or 3 conditions

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