Branch Coverage

blib/lib/Format/Human/Bytes.pm
Criterion Covered Total %
branch 30 32 93.7


line true false branch
94 34 68 if ref $_[0] ne ''
96 34 68 if defined $_[0] and $_[0] eq 'Format::Human::Bytes'
101 0 102 unless defined $Bytes
105 15 87 if ($Bytes > 8192000000000) { }
15 72 elsif ($Bytes > 8192000000) { }
12 60 elsif ($Bytes > 8192000) { }
27 33 elsif ($Bytes > 8192) { }
18 15 elsif ($Bytes == 0) { }
147 37 74 if ref $_[0] ne ''
149 37 74 if defined $_[0] and $_[0] eq 'Format::Human::Bytes'
154 0 111 unless defined $Bytes
158 15 96 if ($Bytes > 8192000000000) { }
15 81 elsif ($Bytes > 8192000000) { }
12 69 elsif ($Bytes > 8192000) { }
36 33 elsif ($Bytes > 8192) { }
18 15 elsif ($Bytes == 0) { }