Branch Coverage

blib/lib/MIDI/Morph.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
54 1 4 unless ref $params{'from'} eq 'ARRAY' and ref $params{'to'} eq 'ARRAY'
96 4 8 unless ref $$self{'map'}
137 1 34 unless ref $a eq 'ARRAY' and ref $b eq 'ARRAY'
138 1 33 unless scalar @$a == 6 and scalar @$a == 6
139 0 33 unless $$a[0] eq 'note' and $$b[0] eq 'note'
143 32 1 if (ref $weights eq 'HASH')
145 32 96 if defined $$weights{$_}
174 0 39 unless ref $from eq 'ARRAY' and ref $to eq 'ARRAY'
175 0 39 unless $$from[0] eq 'note' and $$to[0] eq 'note'