Branch Coverage

lib/LEOCHARRE/BogusFile.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
19 0 4 unless $path
20 0 4 if -e $path
23 3 1 $size_arg ? :
28 0 4 unless open F, '>', $path
34 0 4 unless $size
57 0 17 unless defined $_[0]
58 4 13 if $_[0] =~ /^\d+$/
64 1 12 unless $totalbytes =~ /^\d/
72 11 1 if ($totalbytes =~ s/([BKMG]{1}).*$//i)
80 1 11 unless $totalbytes and $totalbytes =~ /^\d+$/