Branch Coverage

blib/lib/Filesys/DfPortable.pm
Criterion Covered Total %
branch 14 40 35.0


line true false branch
24 0 1 unless defined $dir
28 1 0 unless $block_size
34 0 1 if ($frsize == 0 or $blocks == 0)
39 0 1 if ($block_size > $frsize) { }
1 0 elsif ($block_size < $frsize) { }
42 0 0 if $bfree != 0
45 0 0 if $bavail < 0
48 0 0 if $bavail != 0
57 0 1 if $bavail < 0
66 1 0 if ($bfree > $bavail) { }
69 0 1 if ($bavail < 0) { }
76 0 1 if ($user_used == 0) { }
88 0 0 if ($used == 0) { }
104 0 1 if $bavail < 0
116 1 0 if (defined $files and $files > 0)
119 0 1 if ($ffree > $favail) { }
122 0 0 if ($favail < 0) { }
129 0 0 if ($user_fused == 0) { }
141 0 1 if ($fused == 0) { }
158 0 1 if $favail < 0