blib/lib/Music/RhythmSet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 35 | 35 | 100.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
29 | 1 | 1 | 1 | defined $args->{'voicel'} and ref $args->{'voicel'} eq "ARRAY" |
46 | 1 | 1 | 14 | defined $ref and ref $ref eq "HASH" |
78 | 2 | 2 | 6 | defined $param{$cb} and ref $param{$cb} eq "CODE" |
151 | 1 | 1 | 12 | defined $str and length $str |
220 | 12 | 1 | 7 | exists $param{$pram} and not exists $param{'voice'}[$id]{$pram} |
239 | 34 | 1 | 5 | exists $param{$pram} and not exists $param{'track'}[$id]{$pram} |
line | l | !l | condition |
---|---|---|---|
63 | 3 | 1 | $count // 1 |
86 | 1 | 1 | $param{'divisor'} //= 1 |
87 | 1 | 1 | $param{'max'} //= '18446744073709551615' |
116 | 4 | 3 | $curpat_str[$id] // "" |
153 | 2 | 10 | $param{'rs'} //= "\n" |
231 | 1 | 1 | $param{'format'} //= 1 |
232 | 1 | 1 | $param{'ticks'} //= 96 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
183 | 4 | 4 | 2 | $#$voices == 0 or $+{'id'} == $#$voices + 1 |