blib/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Libvirt.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 20 | 65.0 |
line | true | false | branch |
---|---|---|---|
39 | 0 | 0 | $params{'uri'} ? : |
65 | 0 | 2 | unless $handle |
69 | 2 | 14 | if $line =~ /^\s*Id/ |
70 | 2 | 12 | if $line =~ /^-{5}/ |
71 | 1 | 11 | unless $line =~ /^\s*(\d+|)(\-|)\s+(\S+)\s+(\S.+)/ |
76 | 0 | 11 | if $name eq 'Domain-0' |
97 | 4 | 11 | if (ref $key eq 'HASH') { } |
108 | 0 | 5 | unless ($xml) |
117 | 0 | 5 | if ($FusionInventory::Agent::Task::Inventory::Virtualization::Libvirt::EVAL_ERROR) |
127 | 5 | 0 | if ($currentMemory =~ /(\d+)\d{3}$/) |