Branch Coverage

blib/lib/Math/Base/Convert/Shortcuts.pm
Criterion Covered Total %
branch 40 46 86.9


line true false branch
281 0 467 unless $len
288 14 453 if ($base == 16) { }
13 440 elsif ($base == 8) { }
13 427 elsif ($base == 4) { }
15 412 elsif ($base == 2) { }
289 2 12 unless ($basnam =~ /HEX$/i)
290 2 0 unless exists $bc->{'fHEX'}
297 2 11 unless ($basnam =~ /OCT$/i)
298 2 0 unless exists $bc->{'foct'}
305 2 11 unless ($basnam =~ /dna$/i)
306 2 0 unless exists $bc->{'fDNA'}
313 1 14 unless ($basnam =~ /bin$/)
314 1 0 unless exists $bc->{'fbin'}
328 10 457 if $pad == $dpr
329 457 10 if ($pad)
372 121 365 if ($bp == 1) { }
122 243 elsif ($bp == 4) { }
375 56 65 if $bname eq 'user'
380 3 119 if $bname eq 'user'
384 49 194 if ($bname eq 'user') { }
65 129 elsif ($bp == 3) { }
385 49 0 unless (exists $bc->{'tmap'})
401 67 176 if ($m)