Condition Coverage

blib/lib/MP3/Mplib.pm
Criterion Covered Total %
condition 12 35 34.2


or 2 conditions

line l !l condition
248 3 1 get_tag($$self{'_mp_file'}, 1) || {}
312 3 1 get_tag($$self{'_mp_file'}, 2) || {}
388 0 0 get_id3v2_header($$self{'_mp_file'}) || {}
660 2 0 $MP3::Mplib::Error || ''

or 3 conditions

line l !l&&r !l&&!r condition
145 0 5 0 ref $class || $class
206 0 0 0 $$self{'_mp_header'} ||= get_header($$self{'_mp_file'})
248 0 4 0 $$self{'_mp_id3v1'} ||= get_tag($$self{'_mp_file'}, 1) || {}
312 1 4 0 $$self{'_mp_id3v2'} ||= get_tag($$self{'_mp_file'}, 2) || {}
388 0 0 0 $$self{'_mp_v2header'} ||= get_id3v2_header($$self{'_mp_file'}) || {}
423 0 0 3 $enc || &ISO_8859_1
456 0 0 0 $enc || &ISO_8859_1
520 0 0 1 $enc || &ISO_8859_1
547 0 0 1 $enc || &ISO_8859_1