Condition Coverage

blib/lib/Music/Gestalt.pm
Criterion Covered Total %
condition 55 105 52.3


and 3 conditions

line !l l&&!r l&&r condition
93 3 0 129 defined $min_pitch && defined $max_pitch
96 3 0 129 defined $min_velocity && defined $max_velocity
136 3045 0 1120 ref $$self{'automation'}{$param_name} eq 'HASH' and ref $$self{'automation'}{$param_name}{'values'} eq 'ARRAY'
181 3605 0 0 $$self{'pitches_mode'} eq 'row' and ref $$self{'pitches'} eq 'ARRAY'
230 6 0 16 defined $$self{'pitch_base'} and defined $$self{'pitch_extent'}
250 1 0 701 defined $$self{'pitch_base'} and defined $$self{'pitch_extent'}
316 6 0 16 defined $$self{'velocity_base'} and defined $$self{'velocity_extent'}
336 1 0 11 defined $$self{'velocity_base'} and defined $$self{'velocity_extent'}
449 0 0 0 defined $pitches and ref $pitches eq 'ARRAY'
468 136 0 0 ref $$self{'pitches'} eq 'ARRAY' and scalar @{$$self{'pitches'};} > 0
575 3 2 0 defined $pitch_lowest and defined $pitch_highest
0 2 0 defined $pitch_lowest and defined $pitch_highest and defined $velocity_lowest
0 2 0 defined $pitch_lowest and defined $pitch_highest and defined $velocity_lowest and defined $velocity_highest
674 0 0 0 defined $pitch_lowest and defined $pitch_highest
0 0 0 defined $pitch_lowest and defined $pitch_highest and defined $velocity_lowest
0 0 0 defined $pitch_lowest and defined $pitch_highest and defined $velocity_lowest and defined $velocity_highest
713 0 0 0 $notes_pos <= $#{$$self{'notes'};} and $$self{'notes'}[$notes_pos][0] <= $start

or 2 conditions

line l !l condition
98 129 3 $max_time || 0
385 11 6 $$self{'duration'} || 0
402 3 2 $$self{'note_length'} || 0
556 1 4 $self->Duration || 0
606 1 1 $$self{'duration'} || 0
655 0 0 $self->Duration || 0

or 3 conditions

line l !l&&r !l&&!r condition
80 129 1009 92 not defined $max_time or $$_[1] + $$_[2] > $max_time
82 129 156 945 not defined $min_pitch or $$_[4] < $min_pitch
84 129 190 911 not defined $max_pitch or $$_[4] > $max_pitch
86 129 130 971 not defined $min_velocity or $$_[5] < $min_velocity
88 129 171 930 not defined $max_velocity or $$_[5] > $max_velocity
101 3 0 129 not defined $max_time or $max_time == 0
560 2 0 1 not defined $pitch_lowest or $_->PitchLowest < $pitch_lowest
562 2 1 0 not defined $pitch_highest or $_->PitchHighest > $pitch_highest
565 2 0 1 not defined $velocity_lowest or $_->VelocityLowest < $velocity_lowest
568 2 1 0 not defined $velocity_highest or $_->VelocityHighest > $velocity_highest
659 0 0 0 not defined $pitch_lowest or $_->PitchLowest < $pitch_lowest
661 0 0 0 not defined $pitch_highest or $_->PitchHighest > $pitch_highest
664 0 0 0 not defined $velocity_lowest or $_->VelocityLowest < $velocity_lowest
667 0 0 0 not defined $velocity_highest or $_->VelocityHighest > $velocity_highest