Branch Coverage

blib/lib/FusionInventory/Agent/Task/Inventory/Generic/Screen.pm
Criterion Covered Total %
branch 8 54 14.8


line true false branch
16 0 0 if $params{'no_category'}{'monitor'}
39 0 61 if ($FusionInventory::Agent::Task::Inventory::Generic::Screen::EVAL_ERROR)
42 0 0 if $params{'logger'}
47 0 61 if (my $error = Parse::EDID::check_parsed_edid($edid))
48 0 0 if $params{'logger'}
69 6 55 if ($edid->{'EISA_ID'} and $edid->{'EISA_ID'} =~ /^ACR(0018|0020|0024|00A8|7883|ad49|adaf)$/) { }
2 53 elsif ($edid->{'EISA_ID'} and $edid->{'EISA_ID'} eq 'GSM4b21') { }
94 29 24 $edid->{'serial_number2'} ? :
113 0 0 unless $object->{'InstanceName'}
128 0 0 unless $object->{'Availability'}
129 0 0 unless $object->{'PNPDeviceID'}
130 0 0 unless $object->{'Availability'} == 3
142 0 0 unless $screen->{'id'}
160 0 0 if (-d '/sys/devices') { }
163 0 0 unless $_ eq 'edid'
164 0 0 unless -e $File::Find::name
166 0 0 if $edid
177 0 0 if @screens
185 0 0 if (canRun('monitor-get-edid-using-vbe')) { }
191 0 0 if $edid
199 0 0 if (canRun('monitor-get-edid')) { }
205 0 0 if $edid
213 0 0 if (canRun('get-edid')) { }
217 0 0 if $edid
223 0 0 if $edid
237 0 0 $FusionInventory::Agent::Task::Inventory::Generic::Screen::OSNAME eq 'MSWin32' ? :
242 0 0 unless $screen->{'edid'}