Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/HPUX/Drives.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
13 0 0 if $params{'no_category'}{'drive'}
48 0 0 if $params{'type'} eq 'vxfs'
57 0 0 unless $handle
66 0 0 if ($line =~ /^(\S+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+%)\s+(\S+)/)
76 0 0 if ($line =~ /^(\S+)\s/)
81 0 0 if ($line =~ /(\d+)\s+(\d+)\s+(\d+)\s+(\d+%)\s+(\S+)/)
114 0 0 $version == 7 ? :
0 0 $version == 6 ? :
0 0 $version == 5 ? :
120 0 0 unless ($offset)
126 0 0 unless open my $handle, '<:raw:bytes', $device
128 0 0 unless seek $handle, $offset, 0
131 0 0 unless read $handle, $raw, 4