Branch Coverage

blib/lib/Math/Round/Var.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
86 1 3 if ($type eq 'fraction') { }
3 0 elsif ($type eq 'decimal') { }
0 0 elsif ($type eq 'fake') { }
152 0 4 if ($prec =~ /^d(\d+)$/)
157 1 3 unless ($prec)
158 0 1 unless defined $prec
161 0 3 if ($prec < 0)
166 0 3 if ($prec >= 1)
175 3 0 if ($num =~ /^(.*?)e-(\d+)$/) { }
178 2 1 if ($n == 1) { }
213 0 3 unless defined $p
214 0 3 unless $p =~ /^\d+$/
249 0 1 unless defined $r