Branch Coverage

blib/lib/Music/Duration/Partition.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
59 1 9 unless @{$self->weights;} == @{$self->pool;}
145 0 37 if ($group_num) { }
150 0 37 if ($self->_pool_group->{$name}) { }
164 3 34 if (sprintf($format, $diff) < sprintf($format, $self->_min_size))
165 0 3 if $self->verbose
167 1 2 if $self->remainder and sprintf($format, 96 * $diff) > 0
174 0 34 if sprintf($format, $size) > sprintf($format, $diff)
179 0 34 if $self->verbose
183 34 0 if $sum <= $self->size
210 3 47 if ($name =~ /^d(\d+)$/) { }