Branch Coverage

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


line true false branch
75 0 0 unless ($self->{'usable'})
86 0 0 if ($line =~ /^ARRAY/)
113 0 0 if ($line =~ /[\t ]*Number/) { }
0 0 elsif ($number_found) { }
119 0 0 if ($process)
131 0 0 if ($line =~ /active/ or $line =~ /rebuilding/)
138 0 0 if ($line =~ /spare/)
142 0 0 if ($line =~ /spare/ and $line =~ /rebuilding/)
149 0 0 if ($line =~ /removed/)
156 0 0 if ($line =~ /^[\t ]*State/) { }
0 0 elsif ($line =~ /^[\t ]*Raid\ Level[\t ]*\:[\t ]*/) { }
170 0 0 if ($line =~ /clean/ or $line =~ /active/)
177 0 0 if ($line =~ /degraded/)
181 0 0 if ($line =~ /recovering/ or $line =~ /resyncing/)
188 0 0 if ($line =~ /inactive/)
218 0 0 unless ($^O =~ /linux/)
225 0 0 if ($? != 0)
234 0 0 unless ($raw =~ /^ARRAY/)