Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Generic/Storages/HP.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
28 0 0 unless my $machKey = $Registry->Open('LMachine', {'Access', Win32::TieRegistry::KEY_READ()})
34 0 0 unless $uninstallValues
37 0 0 unless $uninstallString
39 0 0 unless $uninstallString =~ /(.*\\)hpuninst\.exe/
41 0 0 unless -f $hpacuacliPath
58 0 0 canRun('hpacucli') ? :
78 0 0 $params{'path'} ? :
81 0 0 unless $handle
85 0 0 unless $line =~ /Slot (\d+)/
96 0 0 $params{'path'} && defined $params{'slot'} ? :
99 0 0 unless $handle
103 0 0 unless $line =~ /physicaldrive (\S+)/
114 0 0 $params{'path'} && defined $params{'slot'} && defined $params{'drive'} ? :
117 0 0 unless $handle
121 0 0 unless $line =~ /(\S[^:]+) : \s+ (.+)/x
141 0 0 $data{'Drive Type'} eq 'Data Drive' ? :