Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Virtualization/Lxc.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
37 0 0 unless $handle
42 0 0 unless $line =~ /^(\S+):\s*(\S+)$/
49 0 0 $info{'state'} eq 'STOPPED' ? :
0 0 $info{'state'} eq 'FROZEN' ? :
0 0 $info{'state'} eq 'RUNNING' ? :
62 0 0 unless $handle
70 0 0 if $line =~ /^#.*/
71 0 0 unless $line =~ /^\s*(\S+)\s*=\s*(\S+)\s*$/
75 0 0 if ($key eq 'lxc.network.hwaddr')
79 0 0 if ($key eq 'lxc.cgroup.memory.limit_in_bytes')
83 0 0 if ($key eq 'lxc.cgroup.cpuset.cpus')
86 0 0 if ($cpu =~ /(\d+)-(\d+)/) { }
104 0 0 unless $handle
110 0 0 unless $line =~ /^(\S+)$/