Branch Coverage

lib/Rex/Inventory/HP/ACU.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
17 0 0 if (can_run('hpacucli')) { }
53 0 0 if $line =~ /^$/u
55 0 0 unless ($line =~ /^[ ]+/u)
66 0 0 unless defined $current_controller
72 0 0 if ($line =~ /unassigned/u)
83 0 0 if ($line =~ /Array: ([A-Z]+)/u)
96 0 0 if ($line =~ /Logical Drive: ([0-9]+)/u)
107 0 0 if ($line =~ /physicaldrive ([0-9IC:]+)/u and not $line =~ /port/u)
111 0 0 if ($current_array eq 'unassigned') { }
122 0 0 if ($line =~ /Mirror Group ([0-9]+):/u)
130 0 0 if (defined $current_array and defined $current_logical_drive and defined $current_mirror_group)
134 0 0 if ($line =~ /physicaldrive ([0-9IC:]+) \(/u)
141 0 0 if $pd eq $1
148 0 0 if (defined $current_array and defined $current_logical_drive)
151 0 0 if (my($k, $v) = &K_V($line))
152 0 0 unless defined $k
159 0 0 if (defined $current_array and defined $current_physical_drive)
162 0 0 if (my($k, $v) = &K_V($line))
163 0 0 unless defined $k
164 0 0 if ($current_array eq 'unassigned') { }
176 0 0 if (defined $current_array)
177 0 0 if (my($k, $v) = &K_V($line))
178 0 0 unless defined $k
185 0 0 if (my($k, $v) = &K_V($line))
186 0 0 unless defined $k
208 0 0 if ($k eq "accelerator_ratio")
209 0 0 if ($v =~ m[([0-9]+)% Read / ([0-9]+)% Write]u)
220 0 0 if ($line =~ /(.+):\s+(.+)/u)