Branch Coverage

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


line true false branch
76 0 0 unless ($self->{'usable'})
82 0 0 if ($? != 0)
96 0 0 if ($line_split[0] =~ /^raid/) { }
104 0 0 if ($? == 0)
107 0 0 if (defined $levels[0])
115 0 0 unless (defined $return_hash{$dev})
129 0 0 if ($line_split[1] =~ /OPTIMAL/) { }
0 0 elsif ($line_split[1] =~ /DEGRADED/) { }
0 0 elsif ($line_split[1] =~ /BROKEN/) { }
138 0 0 if ($line_split[3] =~ /REBUILD/) { }
0 0 elsif ($line_split[3] =~ /ACTIVE/) { }
150 0 0 if ($line_split[2] =~ /REBUILD/) { }
0 0 elsif ($line_split[2] =~ /ACTIVE/) { }
180 0 0 unless ($^O =~ /freebsd/ or -x "/sbin/graid")
191 0 0 if ($? != 0)