Condition Coverage

blib/lib/Music/Note.pm
Criterion Covered Total %
condition 23 36 63.8


and 3 conditions

line !l l&&!r l&&r condition
148 12 0 0 @_ and $_[0] =~ /^[A-G]$/
153 12 0 0 @_ and $_[0] =~ /[+-]?\d+/
158 12 0 1 @_ and $_[0] =~ /[+-]?\d+/
201 2 0 0 $alt < 0 and $$self{'alter'}

or 2 conditions

line l !l condition
112 7 2 shift() || 'iso'
117 6 0 $2 || ''
164 14 2 lc $format || 'iso'

or 3 conditions

line l !l&&r !l&&!r condition
113 3 1 5 $type eq 'iso' or $type eq 'isobase'
4 1 4 $type eq 'iso' or $type eq 'isobase' or $type eq 'midi'
2 1 3 $type eq 'iso' or $type eq 'isobase' or $type eq 'midi' or $type eq 'pdl'
0 1 2 $type eq 'musicxml' or $type eq 'xml'
123 0 0 6 $alt eq 'x' or $alt eq '##'
171 2 0 0 $format eq 'xml' or $format eq 'musicxml'