Branch Coverage

blib/lib/Filesys/Df.pm
Criterion Covered Total %
branch 16 42 38.1


line true false branch
24 0 2 unless defined $dir
28 2 0 unless $block_size
34 1 1 if (defined fileno $dir) { }
44 0 2 if ($frsize == 0 or $blocks == 0)
49 0 2 if ($block_size > $frsize) { }
2 0 elsif ($block_size < $frsize) { }
52 0 0 if $bfree != 0
55 0 0 if $bavail < 0
58 0 0 if $bavail != 0
67 0 2 if $bavail < 0
76 2 0 if ($bfree > $bavail) { }
79 0 2 if ($bavail < 0) { }
86 0 2 if ($user_used == 0) { }
98 0 0 if ($used == 0) { }
114 0 2 if $bavail < 0
132 2 0 if (defined $files and $files > 0)
135 0 2 if ($ffree > $favail) { }
138 0 0 if ($favail < 0) { }
145 0 0 if ($user_fused == 0) { }
157 0 2 if ($fused == 0) { }
174 0 2 if $favail < 0