Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/BSD/Storages.pm
Criterion Covered Total %
branch 4 16 25.0


line true false branch
10 0 0 if $params{'no_category'}{'storage'}
31 0 0 if ($line =~ /^$device->{'DESCRIPTION'}.*<(.*)>/)
34 0 0 if ($line =~ /^$device->{'DESCRIPTION'}.*\s+(\d+)\s*MB/)
39 0 0 if ($device->{'MODEL'})
40 0 0 if ($device->{'MODEL'} =~ s/^(SGI|SONY|WDC|ASUS|LG|TEAC|SAMSUNG|PHILIPS|PIONEER|MAXTOR|PLEXTOR|SEAGATE|IBM|SUN|SGI|DEC|FUJITSU|TOSHIBA|YAMAHA|HITACHI|VERITAS)\s*//i)
63 0 1 unless $handle
67 1 4 unless $line =~ m[^/dev/(\S+)]
68 0 4 if $seen{$1}++