Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Linux/Videos.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
11 0 0 if $params{'no_category'}{'video'}
24 0 0 if (canRun('ddcprobe')) { }
44 0 0 unless $$process{'CMD'} =~ m[ ^ (?: /usr/bin | /usr/X11R6/bin | /etc/X11 ) /X ]x
59 0 0 if ($xorgPid) { }
61 0 0 if (-r $link) { }
80 0 0 unless $xorgData or $ddcprobeData
91 0 0 if ($$video{'MEMORY'} and $$video{'MEMORY'} =~ s/kb$//i)
94 0 0 if ($$video{'RESOLUTION'})
106 0 0 unless $handle
112 0 0 if $line =~ /^(\S+):\s+(.*)/
121 0 0 unless $handle
125 0 0 if ($line =~ /Modeline\s"(\S+?)"/) { }
0 0 elsif ($line =~ /Integrated Graphics Chipset:\s+(.*)/) { }
0 0 elsif ($line =~ /Virtual screen size determined to be (\d+)\s*x\s*(\d+)/) { }
0 0 elsif ($line =~ /NVIDIA GPU\s*(.*?)\s*at/) { }
0 0 elsif ($line =~ /VESA VBE OEM:\s*(.*)/) { }
0 0 elsif ($line =~ /VESA VBE OEM Product:\s*(.*)/) { }
0 0 elsif ($line =~ /VESA VBE Total Mem: (\d+)\s*(\w+)/i) { }
0 0 elsif ($line =~ /RADEON\(0\): Chipset: "(.*?)"/i) { }
0 0 elsif ($line =~ /Virtual size is (\S+)/i) { }
0 0 elsif ($line =~ / PCI: \* \( (?:\d+:)? (\d+) : (\d+) : (\d+) \) \s (\w{4}:\w{4}:\w{4}:\w{4})? /x) { }
0 0 elsif ($line =~ /NOUVEAU\(0\): Chipset: "(.*)"/) { }
126 0 0 unless $$data{'resolution'}
152 0 0 if $4