Branch Coverage

blib/lib/Filesys/DiskFree.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
84 0 0 if defined $$self{'DEVICES'}
86 0 0 if (@_)
87 0 0 if ($_[0] =~ /format/i)
89 0 0 if defined $_[1]
92 0 0 if ($_[0] =~ /mode/i)
94 0 0 if $_[1] =~ /block/i and defined $_[1]
95 0 0 if $_[1] =~ /inode/i and defined $_[1]
109 0 0 unless $cmd = $self->command
111 0 0 unless open HANDLE, "$cmd|"
113 0 0 unless close HANDLE
120 0 0 if (ref $handle eq 'GLOB') { }
140 0 0 if (/linuxish/i) { }
0 0 elsif (/svish/i) { }
0 0 elsif (/bsdish/) { }
0 0 elsif (/irixish/) { }
0 0 elsif (/hpuxish/) { }
141 0 0 if $line =~ /^Filesystem.*Mounted on/i
143 0 0 if ($$self{'MODE'} eq 'blocks')
149 0 0 if $line =~ /^Filesystem.*Mounted on/i
150 0 0 if ($$self{'MODE'} eq 'blocks') { }
160 0 0 if $line =~ /^Filesystem.*Mounted on/i
163 0 0 if ($$self{'MODE'} eq 'blocks') { }
0 0 elsif ($$self{'MODE'} eq 'inodes') { }
173 0 0 if $line =~ /^Filesystem.*Mounted on/i
174 0 0 if ($$self{'MODE'} eq 'blocks') { }
0 0 elsif ($$self{'MODE'} eq 'inodes') { }
182 0 0 if $iused =~ /[A-Za-z]+/ or $iused == 0
188 0 0 if $line =~ /^Filesystem.*Mounted on/i
191 0 0 if ($$self{'MODE'} eq 'blocks') { }
0 0 elsif ($$self{'MODE'} eq 'inodes') { }
222 0 0 if (@_)
224 0 0 if (defined $$self{'DEVICES'}{$thingy}) { }
227 0 0 unless defined $$self{'MOUNTS'}
229 0 0 if $thingy eq '/'
230 0 0 unless $thingy =~ s[/$][]
231 0 0 unless $thingy =~ m[/]
242 0 0 unless defined $$self{'MOUNTS'}