Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
26 1 1 3 defined $param{'reference_frequency'} and &looks_like_number($param{'reference_frequency'})
38 1 1 5 defined $freq && &looks_like_number($freq)
56 1 1 8 defined $phrase1 and ref $phrase1 eq 'ARRAY'
2 1 7 defined $phrase1 and ref $phrase1 eq 'ARRAY' and $#{$phrase1;} > 1
57 1 1 5 defined $phrase2 and ref $phrase2 eq 'ARRAY'
2 1 4 defined $phrase2 and ref $phrase2 eq 'ARRAY' and @$phrase2
78 1 1 13 defined $pitch && &looks_like_number($pitch)

or 3 conditions

line l !l&&r !l&&!r condition
38 2 1 4 not defined $freq && &looks_like_number($freq) or $freq <= 0
78 2 1 12 not defined $pitch && &looks_like_number($pitch) or $pitch < 0