Branch Coverage

blib/lib/Games/Dice/Advanced.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
56 130030 15 if (ref $self and $self->isa('Games::Dice::Advanced')) { }
15 0 elsif ($self eq 'Games::Dice::Advanced') { }
58 0 130030 if @args
62 0 15 unless @args
63 10 15 ref $_ && $_->isa('Games::Dice::Advanced') ? :
126 0 21 unless @args
131 20 1 if (@args == 1)
133 21 0 if (@args == 2) { }
135 0 21 if ref $mul or $mul =~ /\D/
136 0 21 if ref $mul or $mul =~ /\D/
138 17 4 if (not $recipe =~ /\D/) { }
2 2 elsif ($recipe =~ /^d(\d+)$/) { }
1 1 elsif ($recipe =~ /^(\d+)d(\d+)/) { }
1 0 elsif (ref $recipe eq 'CODE') { }