| blib/lib/Music/LilyPondUtil.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 38 | 50 | 76.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 151 | 1 | 3 | 0 | $mode ne 'absolute' and $mode ne 'relative' |
| 187 | 10 | 1 | 0 | $$self{'_mode'} ne 'absolute' and $$self{'_mode'} ne 'relative' |
| 317 | 330 | 0 | 0 | blessed $obj and $obj->can('pitch') |
| 362 | 76 | 40 | 36 | $delta > 0 and $default_dir < 0 |
| 40 | 40 | 36 | $delta < 0 and $default_dir > 0 | |
| 423 | 1 | 0 | 0 | blessed $pitch and $pitch->can('pitch') |
| 440 | 0 | 327 | 0 | defined $number and looks_like_number $number |
| line | l | !l | condition |
|---|---|---|---|
| 76 | 51 | 56 | $symbol ||= '' |
| 121 | 3 | 0 | $3 // '' |
| 162 | 1 | 10 | $param{'chrome'} || 'sharps' |
| 166 | 1 | 10 | $param{'keep_state'} // 1 |
| 167 | 1 | 10 | $param{'ignore_register'} // 0 |
| 172 | 2 | 9 | $param{'min_pitch'} // 0 |
| 173 | 1 | 10 | $param{'max_pitch'} // 108 |
| 186 | 1 | 10 | $param{'mode'} || 'absolute' |
| 191 | 0 | 11 | $param{'p2n_hook'} || sub { $P2N{$_[1]}{$_[0] % $DEG_IN_SCALE}; } |
| 195 | 1 | 10 | $param{'sticky_state'} // 0 |
| 196 | 1 | 10 | $param{'strip_rests'} // 0 |
| 230 | 58 | 79 | $3 // '' |
| 404 | 2 | 0 | $3 // '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 209 | 3 | 0 | 138 | $n =~ /^(?i)[rs]/ or $n =~ /\\rest/ |