blib/lib/Music/LilyPondUtil.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 38 | 50 | 76.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
164 | 1 | 3 | 0 | $mode ne 'absolute' and $mode ne 'relative' |
200 | 10 | 1 | 0 | $$self{'_mode'} ne 'absolute' and $$self{'_mode'} ne 'relative' |
330 | 330 | 0 | 0 | blessed $obj and $obj->can('pitch') |
375 | 76 | 40 | 36 | $delta > 0 and $default_dir < 0 |
40 | 40 | 36 | $delta < 0 and $default_dir > 0 | |
436 | 1 | 0 | 0 | blessed $pitch and $pitch->can('pitch') |
453 | 0 | 327 | 0 | defined $number and looks_like_number $number |
line | l | !l | condition |
---|---|---|---|
89 | 51 | 56 | $symbol ||= '' |
134 | 3 | 0 | $3 // '' |
175 | 1 | 10 | $param{'chrome'} || 'sharps' |
179 | 1 | 10 | $param{'keep_state'} // 1 |
180 | 1 | 10 | $param{'ignore_register'} // 0 |
185 | 2 | 9 | $param{'min_pitch'} // 0 |
186 | 1 | 10 | $param{'max_pitch'} // 108 |
199 | 1 | 10 | $param{'mode'} || 'absolute' |
204 | 0 | 11 | $param{'p2n_hook'} || sub { $P2N{$_[1]}{$_[0] % $DEG_IN_SCALE}; } |
208 | 1 | 10 | $param{'sticky_state'} // 0 |
209 | 1 | 10 | $param{'strip_rests'} // 0 |
243 | 58 | 79 | $3 // '' |
417 | 2 | 0 | $3 // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
222 | 3 | 0 | 138 | $n =~ /^(?i)[rs]/ or $n =~ /\\rest/ |