Condition Coverage

blib/lib/Music/ToRoman.pm
Criterion Covered Total %
condition 24 27 88.8


and 3 conditions

line !l l&&!r l&&r condition
65 1904 0 42 $self->scale_note =~ /##/ and $self->scale_name ne "major"
1904 0 42 $self->scale_note =~ /##/ and $self->scale_name ne "major" and $self->scale_name ne "ionian"
122 1506 384 56 $position < 0 and $note eq 'Cb' || $note eq 'Fb'
134 1527 211 208 $position < 0 and $note =~ /[#b]+$/
161 451 3 265 $minor && !($decorator =~ /maj/i)
304 62 66 47 exists $previous_enharmonics{$note} and &any(sub { $_ =~ /[CFG]##/; } , @$notes)

or 3 conditions

line l !l&&r !l&&!r condition
122 18 38 384 $note eq 'Cb' || $note eq 'Fb'
173 38 17 1891 $decorator =~ /maj/i or $decorator =~ /min/i
228 0 128 1314 $self->scale_name eq "minor" or $self->scale_name eq "aeolian"