Condition Coverage

blib/lib/MIDI/SoundFont.pm
Criterion Covered Total %
condition 14 44 31.8


and 3 conditions

line !l l&&!r l&&r condition
659 1 0 0 $sf{'iver'} and $sf{'iver'} =~ /^(\d+)\.(\d+)$/
934 7043 775 0 $sfGenOper == 41 and $is_p_or_i eq 'i'
937 7421 397 0 $sfGenOper == 53 and $is_p_or_i eq 'p'
940 5612 2206 0 $OnlyValidInInstr{$sfGenOper} and $is_p_or_i eq 'p'
1106 0 0 0 $MODES_UNSIGNED and $$sr{'data'}
1132 0 0 0 $data[$i - 1] > 0 and $data[$i] < 0
0 0 0 $data[$i - 1] < 0 and $data[$i] > 0
1133 0 0 0 $data[$i - 1] > 0 and $data[$i + 1] < 0
0 0 0 $data[$i - 1] < 0 and $data[$i + 1] > 0
1405 0 0 0 $n_pat_names != 1 and $file =~ /\.pat/

or 2 conditions

line l !l condition
549 0 0 $_[$[] || 'Name of this SoundFont'
644 1 0 $sf{'isng'} || 'EMU8000'
649 1 0 $sf{'INAM'} || 'General MIDI'
1063 0 0 $sample_name || 'NoName'

or 3 conditions

line l !l&&r !l&&!r condition
173 2 0 16 $id eq 'ifil' or $id eq 'iver'
945 775 397 5754 $sfGenOper == 41 or $sfGenOper == 53