Branch Coverage

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


line true false branch
76 0 0 unless ($self->{'usable'})
89 0 0 if (defined $backup_lines[0] and $backup_lines[0] =~ /\:[\t ]*Ready/ || $backup_lines[0] =~ /Normal/) { }
0 0 elsif (defined $backup_lines[0] and $backup_lines[0] =~ /Invalid/ || $backup_lines[0] =~ /Not\ Present/) { }
0 0 elsif (defined $backup_lines[0]) { }
118 0 0 if ($line =~ /Logical Device number/)
135 0 0 if ($line =~ /Status\ of\ Logical\ Device/) { }
0 0 elsif ($line =~ /RAID\ level/) { }
0 0 elsif ($line =~ /[\t ]*Segment [0123456789]/) { }
0 0 elsif ($line =~ /Logical\ Device\ name/) { }
137 0 0 if ($line =~ /Optimal/ or $line =~ /Reconfiguring/ and not $line =~ /Degraded/ and not $line =~ /Suboptimal/) { }
0 0 elsif ($line =~ /Rebuilding/) { }
162 0 0 if ($line =~ /Present/) { }
0 0 elsif ($line =~ /Missing/) { }
201 0 0 unless ($^O =~ /linux/ or $^O =~ /freebsd/)
211 0 0 if ($? != 0)
218 0 0 if ($? != 0)
224 0 0 if (defined $found_lines[0]) { }
230 0 0 if ($found =~ /[0123456789]+/ and $found > 0) { }