Branch Coverage

blib/lib/Music/Duration/Partition.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
52 1 11 unless @{$self->weights;} == @{$self->pool;}
148 0 71 if ($group_num) { }
153 0 71 if ($self->_pool_group->{$name}) { }
167 4 67 if (sprintf($format, $diff) < sprintf($format, $self->_min_size))
168 0 4 if $self->verbose
172 3 1 if ($self->abbreviation)
176 1 2 if exists $length{$tick_diff}
178 2 2 if $self->remainder and sprintf($format, $tick_diff) > 0
185 0 67 if sprintf($format, $size) > sprintf($format, $diff)
190 0 67 if $self->verbose
194 67 0 if $sum <= $self->size
222 3 83 if ($name =~ /^d(\d+)$/) { }