line |
true |
false |
branch |
270
|
37 |
29 |
$type eq 'min' ? : |
280
|
6725 |
282 |
if $field and not $field =~ /^_/ |
288
|
0 |
61 |
unless $edid->{'edid_version'} >= 1 and $edid->{'edid_version'} <= 2 |
289
|
0 |
61 |
unless $edid->{'edid_revision'} != 255 |
291
|
47 |
14 |
if ($edid->{'monitor_range'}) |
294
|
0 |
47 |
unless $edid->{'monitor_range'}{'horizontal_min'} and $edid->{'monitor_range'}{'horizontal_min'} <= $edid->{'monitor_range'}{'horizontal_max'} |
297
|
0 |
47 |
unless $edid->{'monitor_range'}{'vertical_min'} and $edid->{'monitor_range'}{'vertical_min'} <= $edid->{'monitor_range'}{'vertical_max'} |
310
|
1782 |
990 |
unless $field =~ s/_hi$// |
321
|
41 |
20 |
$edid->{'edid_version'} > 1 || $edid->{'edid_revision'} > 2 ? : |
327
|
212 |
276 |
if ($_ ne ' ' and $h->{'X'} > 256) { } |
329
|
212 |
0 |
if ($h->{'ratio'} = $aspect2ratio[$h->{'aspect'}]) |
349
|
61 |
1098 |
if ($field eq 'year') { } |
|
61 |
1037 |
elsif ($field eq 'manufacturer_name') { } |
|
61 |
976 |
elsif ($field eq 'video_input_definition') { } |
|
61 |
915 |
elsif ($field eq 'feature_support') { } |
|
61 |
854 |
elsif ($field eq 'established_timings') { } |
|
61 |
793 |
elsif ($field eq 'standard_timings') { } |
|
61 |
732 |
elsif ($field eq 'monitor_details') { } |
354
|
0 |
61 |
if $v eq '@@@' |
362
|
0 |
909 |
unless $Parse::EDID::a->{'X'} <=> $Parse::EDID::b->{'X'} |
363
|
9 |
533 |
$4 ? : |
|
542 |
0 |
/(\d+)x(\d+)_(\d+)(i?)/ ? : |
371
|
77 |
167 |
if ($pixel_clock) { } |
375
|
73 |
4 |
if $h->{'horizontal_active'} > 1 and $h->{'vertical_active'} > 1 |
379
|
46 |
121 |
if ($flag == 253) { } |
|
7 |
114 |
elsif ($flag == 15) { } |
|
0 |
114 |
elsif ($flag == 250) { } |
|
44 |
70 |
elsif ($flag == 252) { } |
|
28 |
42 |
elsif ($flag == 254) { } |
|
33 |
9 |
elsif ($flag == 255) { } |
382
|
5 |
41 |
if ($edid{'monitor_range'}{'pixel_clock_max'} == 255) { } |
398
|
13 |
9 |
if ($e and $$e{$dir . '_active'} and _within_limit($$e{$dir . '_blanking'}, $m, $$range{$dir . '_blanking_' . $m}) and _within_limit($$e{$dir . '_sync_pulse_width'}, $m, $$range{$dir . '_sync_pulse_width_' . $m}) and _within_limit($$e{$dir . '_blanking'} - $$e{$dir . '_sync_offset'} - $$e{$dir . '_sync_pulse_width'}, $m, $$range{$dir . '_back_porch_' . $m})) |
406
|
5 |
9 |
if ($total{'horizontal'} and $total{'vertical'}) { } |
409
|
3 |
2 |
$m eq 'min' ? : |
410
|
3 |
2 |
$m eq 'min' ? : |
415
|
1 |
6 |
$valid ? : |
421
|
1 |
43 |
$prev ? : |
427
|
0 |
0 |
if $verbose and $vv ne "\000\000\000\000\000\000\000\000\000\000\000\000\000" and $vv ne ' ' |
434
|
1037 |
122 |
if $field and not $field =~ /^_/ |
440
|
6 |
1 |
if ($tag == 2) { } |
444
|
0 |
6 |
if $dtd_offset < 4 |
448
|
1 |
94 |
unless ($v) |
449
|
0 |
1 |
if $verbose |
457
|
6 |
88 |
if ($h->{'type'} == 2) |
462
|
0 |
94 |
unless ($cea_mode) |
463
|
0 |
0 |
if $verbose |
475
|
1 |
22 |
unless $pixel_clock |
478
|
22 |
0 |
if $h->{'horizontal_active'} > 1 and $h->{'vertical_active'} > 1 |
481
|
0 |
1 |
if $verbose |
486
|
57 |
0 |
if $edid{'product_code'} and $edid{'manufacturer_name'} |
488
|
47 |
14 |
if ($edid{'monitor_range'}) |
493
|
58 |
3 |
if ($edid{'max_size_vertical'}) |
499
|
43 |
0 |
if ($edid{'feature_support'}{'has_preferred_timing'} and $edid{'detailed_timings'}[0]) |
507
|
39 |
150 |
if ($h->{'interlaced'}) |
509
|
9 |
264 |
if ($_ eq $h->{'horizontal_active'} . 'x' . $h->{'vertical_active'} * 2) |
526
|
98 |
91 |
if ($error <= 0.5) |
530
|
68 |
45 |
if ($error < 1 and $in_cm{'vertical'}) |
539
|
117 |
11 |
$edid{'ratio_precision'} eq 'mm' ? : |
|
43 |
146 |
if $edid{'ratio_precision'} and abs $edid{'ratio'} - $h->{'horizontal_active'} / $h->{'vertical_active'} > ($edid{'ratio_precision'} eq 'mm' ? 0.02 : 0.2) |
541
|
128 |
61 |
if ($edid{'max_size_vertical'}) |
544
|
128 |
61 |
if ($edid{'max_size_horizontal'}) |
548
|
128 |
0 |
if ($h->{'vertical_dpi'} and $h->{'horizontal_dpi'}) |
552
|
84 |
44 |
abs $h->{'vertical_dpi'} / $h->{'horizontal_dpi'} - 1 < 0.05 ? : |
565
|
43 |
146 |
$h->{'preferred'} ? : |
|
94 |
95 |
$h->{'source'} eq 'cea_vdb' ? : |
|
39 |
150 |
$h->{'interlaced'} ? : |
|
39 |
150 |
$h->{'interlaced'} ? : |
|
128 |
61 |
$dpi_string ? : |
583
|
101 |
88 |
$h->{'horizontal_sync_positive'} ? : |
|
103 |
86 |
$h->{'vertical_sync_positive'} ? : |
|
39 |
150 |
$h->{'interlaced'} ? : |
598
|
1782 |
726 |
$error > $max_error ? : |
606
|
68 |
58 |
if ($precision eq 'mm') { } |
612
|
0 |
58 |
unless $ratio1 and $ratio2 |
613
|
13 |
45 |
if ($ratio1 eq $ratio2) { } |
617
|
17 |
28 |
$ratio eq $ratio1 ? : |
624
|
24 |
0 |
if /\s+([0-9a-f]{32})$/ |
625
|
0 |
3 |
if (length($edid_str) % 256 != 0 or length $edid_str == 0) |
638
|
0 |
2 |
unless (@edids) |
644
|
190 |
188 |
defined $_[0] ? : |