Condition Coverage

blib/lib/Music/Tension/PlompLevelt.pm
Criterion Covered Total %
condition 34 34 100.0


and 3 conditions

line !l l&&!r l&&r condition
41 1 1 2 defined $param{'amplitudes'}{$name} and ref $param{'amplitudes'}{$name} eq 'ARRAY'
84 1 1 3 defined $f1 and ref $f1 eq 'ARRAY'
2 1 2 defined $f1 and ref $f1 eq 'ARRAY' and @$f1
2 1 1 defined $f1 and ref $f1 eq 'ARRAY' and @$f1 and ref $f1->[0] eq 'HASH'
97 1 1 3 defined $f2 and ref $f2 eq 'ARRAY'
2 1 2 defined $f2 and ref $f2 eq 'ARRAY' and @$f2
2 1 1 defined $f2 and ref $f2 eq 'ARRAY' and @$f2 and ref $f2->[0] eq 'HASH'
129 1 1 3 defined $p1 and defined $p2
130 1 1 1 $p1 =~ /^[0-9]+$/ and $p2 =~ /^[0-9]+$/
140 1 1 3 defined $pset and ref $pset eq 'ARRAY'

or 2 conditions

line l !l condition
87 78 3 $self->{'_amplitudes'}{$self->{'_amp_profile'}}[$i] || 0
100 54 3 $self->{'_amplitudes'}{$self->{'_amp_profile'}}[$j] || 0