| blib/lib/Music/ToRoman.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 27 | 88.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 66 | 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' | |
| 123 | 1506 | 384 | 56 | $position < 0 and $note eq 'Cb' || $note eq 'Fb' |
| 135 | 1527 | 211 | 208 | $position < 0 and $note =~ /[#b]+$/ |
| 162 | 451 | 3 | 265 | $minor && !($decorator =~ /maj/i) |
| 305 | 62 | 66 | 47 | exists $previous_enharmonics{$note} and &any(sub { $_ =~ /[CFG]##/; } , @$notes) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 123 | 18 | 38 | 384 | $note eq 'Cb' || $note eq 'Fb' |
| 174 | 38 | 17 | 1891 | $decorator =~ /maj/i or $decorator =~ /min/i |
| 229 | 0 | 128 | 1314 | $self->scale_name eq 'minor' or $self->scale_name eq 'aeolian' |