Branch Coverage

blib/lib/Device/RAID/Poller/Backends/ZFS.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
71 0 0 unless ($self->{'usable'})
89 0 0 if ($? != 0)
117 0 0 if ($line_split[9] eq 'ONLINE') { }
138 0 0 if ($line =~ /^config\:/) { }
0 0 elsif ($line =~ /^[A-Za-z0-1]+:/) { }
144 0 0 if ($config_found)
147 0 0 if ($line =~ /^NAME/) { }
0 0 elsif ($name_found) { }
154 0 0 if ($process)
158 0 0 if (defined $line_split[0] and defined $line_split[1] and $line_split[0] ne $pool and not $line_split[0] =~ /^mirror\-/ and not $line_split[0] =~ /^spare/ and not $line_split[0] =~ /^log/ and not $line_split[0] =~ /^cache/)
168 0 0 if ($line_split[1] eq 'ONLINE' or $line_split[1] eq 'INUSE') { }
0 0 elsif ($line_split[1] eq 'AVAIL') { }
204 0 0 unless ($^O =~ /freebsd/ or $^O =~ /solaris/ or $^O =~ /netbsd/ or $^O =~ /linux/)
217 0 0 if ($^O =~ /freebsd/)
220 0 0 if ($? != 0)
229 0 0 if ($? != 0)
238 0 0 unless ($pool_test =~ /^NAME/)