Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Linux/Storages/Adaptec.pm
Criterion Covered Total %
branch 0 20 0.0


line true false branch
24 0 0 unless $$device{'MANUFACTURER'}
26 0 0 unless $$device{'MANUFACTURER'} eq 'Adaptec' or $$device{'MANUFACTURER'} eq 'Sun' or $$device{'MANUFACTURER'} eq 'ServeRA'
37 0 0 unless $$info{'TYPE'} =~ /disk/i
53 0 0 unless $params{'controller'}
56 0 0 unless $handle
63 0 0 if ($line =~ /^Host: (\w+)/)
65 0 0 if ($1 eq $params{'controller'}) { }
76 0 0 if ($line =~ /Model: \s (\S.+\S) \s+ Rev: \s (\S+)/x)
77 0 0 unless $disk
82 0 0 if $$disk{'MODEL'} =~ /raid|virtual/i