Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/BSD/Storages.pm
Criterion Covered Total %
branch 0 16 0.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 0 unless $handle
67 0 0 unless $line =~ m[^/dev/(\S+)]
68 0 0 if $seen{$1}++