Condition Coverage

blib/lib/ICC/Support/Chart.pm
Criterion Covered Total %
condition 75 1145 6.5


and 2 conditions

line l !l condition
7795 7 2 defined $self->[0]{'CxF3_dom'} and 0

and 3 conditions

line !l l&&!r l&&r condition
162 0 0 1 @_ == 1 and ref $_[0] eq 'HASH'
195 0 0 1 @_ == 1 and ref $_[0] eq 'ARRAY'
247 0 0 0 $flag and defined $self->[0]{'initial_size'}
333 0 0 6276 defined $self->[1][0][$_] && $self->[1][0][$_] =~ /^(.*?)\|?([^\|\n]*)$/
356 5 0 0 @_ == 1 and ref $_[0] eq 'ARRAY'
5 0 0 @_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} == 0
496 0 0 255 not ref $class and exists $regex->{$class}
516 3749 13 258 $self->[1][0][$_] =~ /$regex->{$class}/ and defined $1
597 0 0 0 @ix and @values
998 0 0 18 CORE::hex $1 == @cols and CORE::hex $2 == @cols
1286 0 0 0 $inc > 0 and abs $#{$fields;} * $inc - $fields->[-1][1] + $fields->[0][1] < 1e-12
1409 0 0 0 &Scalar::Util::looks_like_number($sample) and $sample == int $sample
0 0 0 &Scalar::Util::looks_like_number($sample) and $sample == int $sample and $sample > 0
0 0 0 &Scalar::Util::looks_like_number($sample) and $sample == int $sample and $sample > 0 and $sample <= $#{$$self[1];}
1470 0 0 0 ref $hash->{'context'} eq 'ARRAY' and not ref $hash->{'context'}[0]
0 0 0 ref $hash->{'context'} eq 'ARRAY' and not ref $hash->{'context'}[0] and not ref $hash->{'context'}[1]
1499 0 0 0 $m1 = spectral($self, {'context', $context1}) and $m2 = spectral($self, {'context', $context2})
0 0 0 $m1 = xyz($self, {'context', $context1}) and $m2 = xyz($self, {'context', $context2})
0 0 0 $m1 = lab($self, {'context', $context1}) and $m2 = lab($self, {'context', $context2})
1573 0 0 0 defined $cat && UNIVERSAL::isa($cat, 'ICC::Profile::matf')
1600 0 0 0 defined $color && UNIVERSAL::isa($color, 'ICC::Support::Color')
1650 0 0 1 ref $matrix eq 'ARRAY' and ref $matrix->[0] eq 'ARRAY'
1656 0 0 0 ref $format eq 'ARRAY' and @{$format;} == grep({not ref $_;} @{$format;})
1795 0 0 0 not $cf and $cols = _cols($self, map({defined $added ? "$added|$_" : $_;} 'CTV'))
1822 0 0 0 not defined $added and $self->[1][0][$Lab->[0]] =~ /^(.*)\|/
1836 0 0 0 defined $_ and not ref $_
0 0 0 defined $iwtpt and 3 == grep({$_ > 0 if defined $_ and not ref $_;} @{$iwtpt;})
1842 0 0 0 defined $_ and not ref $_
1964 0 0 0 not $cf and $cols = _cols($self, map({defined $added ? "$added|$_" : $_;} 'LAB_L', 'LAB_A', 'LAB_B'))
1991 0 0 0 not defined $added and $self->[1][0][$xyz->[0]] =~ /^(.*)\|/
2005 0 0 0 defined $_ and not ref $_
0 0 0 defined $iwtpt and 3 == grep({$_ > 0 if defined $_ and not ref $_;} @{$iwtpt;})
2011 0 0 0 defined $_ and not ref $_
2081 0 0 0 ref $hash->{'context'} eq 'ARRAY' and not ref $hash->{'context'}[0]
0 0 0 ref $hash->{'context'} eq 'ARRAY' and not ref $hash->{'context'}[0] and not ref $hash->{'context'}[1]
2116 0 0 0 $spec1 && $spec2
2143 0 0 0 not $cf and $cols = _cols($self, map({defined $added ? "$added|$_" : $_;} 'XYZ_X', 'XYZ_Y', 'XYZ_Z'))
2158 0 0 0 defined $hash->{'illuminant'} and ref $hash->{'illuminant'} eq 'ARRAY'
2161 0 0 0 defined $hash->{'illuminant'}[0] and $hash->{'illuminant'}[0] eq 'DATA'
2164 0 0 0 defined $self->[0]{'illuminant'} and ref $self->[0]{'illuminant'} eq 'ARRAY'
2191 0 0 0 not defined $added and $self->[1][0][$spec->[0]] =~ /^(.*)\|/
2301 0 0 0 not defined $added and $self->[1][0][$Lab->[0]] =~ /^(.*)\|/
2312 0 0 0 defined $_ and not ref $_
2372 0 0 0 ref $hash->{'context'} eq 'ARRAY' and not ref $hash->{'context'}[0]
0 0 0 ref $hash->{'context'} eq 'ARRAY' and not ref $hash->{'context'}[0] and not ref $hash->{'context'}[1]
2407 0 0 0 $spec1 && $spec2
2434 0 0 0 $encode ne 'density' and $encode ne 'linear'
2469 0 0 0 not defined $added and $self->[1][0][$spec->[0]] =~ /^(.*)\|/
2577 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
2588 0 0 0 &Scalar::Util::looks_like_number($_) and int $_ == $_
0 0 0 &Scalar::Util::looks_like_number($_) and int $_ == $_ and $_ > 0
2599 0 0 0 &Scalar::Util::looks_like_number($n) and int $n eq $n
0 0 0 &Scalar::Util::looks_like_number($n) and int $n eq $n and $n >= 0
2624 0 0 0 defined $udfe and defined $udfs
2658 0 0 0 &Scalar::Util::looks_like_number($_) and int $_ == $_
0 0 0 &Scalar::Util::looks_like_number($_) and int $_ == $_ and $_ >= 0
2664 0 0 0 &Scalar::Util::looks_like_number($cs[$i]) and int $cs[$i] == $cs[$i]
0 0 0 &Scalar::Util::looks_like_number($cs[$i]) and int $cs[$i] == $cs[$i] and $cs[$i] >= 0
0 0 0 &Scalar::Util::looks_like_number($cs[$i]) and int $cs[$i] == $cs[$i] and $cs[$i] >= 0 and $cs[$i] <= $#{$$self[1][0];}
2715 0 0 0 &Scalar::Util::looks_like_number($_) and int $_ == $_
0 0 0 &Scalar::Util::looks_like_number($_) and int $_ == $_ and $_ >= 0
2779 0 0 0 ref $added eq 'ARRAY' and @{$added;} == @s
2907 0 0 1 not ref $offset and int $offset == $offset
2915 0 0 1 not ref $length and int $length == $length
2923 0 0 1 ref $matrix eq 'ARRAY' and ref $matrix->[0] eq 'ARRAY'
2934 0 0 0 defined $length and defined $offset
0 0 0 defined $length and defined $offset and defined $matrix
2951 0 0 1 defined $length and defined $offset
3023 0 0 0 not ref $offset and int $offset == $offset
3031 0 0 0 not ref $length and int $length == $length
3039 0 0 0 ref $matrix eq 'ARRAY' and ref $matrix->[0] eq 'ARRAY'
3050 0 0 0 defined $length and defined $offset
0 0 0 defined $length and defined $offset and defined $matrix
3093 0 0 0 defined $length and defined $offset
3613 0 0 0 $cmy[0] == $cmy[1] and $cmy[1] == $cmy[2]
0 0 0 $cmy[0] == $cmy[1] and $cmy[1] == $cmy[2] and $cmy[0] <= $lim
3632 0 0 0 $cmy[0] <= $lim and abs $cmy[1] - $my <= 0.002
0 0 0 $cmy[0] <= $lim and abs $cmy[1] - $my <= 0.002 and $cmy[2] == $cmy[1]
3654 0 0 0 $cmy[0] <= $lim and exists $it8{$c}
0 0 0 $cmy[0] <= $lim and exists $it8{$c} and abs $it8{$c} / 100 - $cmy[1] < 0.002
0 0 0 $cmy[0] <= $lim and exists $it8{$c} and abs $it8{$c} / 100 - $cmy[1] < 0.002 and $cmy[1] == $cmy[2]
3673 0 0 0 1 >= grep({$_;} @cmy) and !$lim || 1 == grep({$_ >= $lim;} @cmy)
3749 0 0 0 sqrt $Lab[1] ** 2 + $Lab[2] ** 2 <= $p[0] and $Lab[0] >= $p[1]
3779 0 0 0 defined($A2B = $hash->{'A2B'}) and defined($B2A = $hash->{'B2A'})
3901 0 0 0 $p[$i] == int $p[$i] and $p[$i] > 0
0 0 0 $p[$i] == int $p[$i] and $p[$i] > 0 and $p[$i] <= $n
3929 0 0 0 $_ == int $_ and $_ > 0
3998 0 0 0 $_[$m[3]] > 0 and $_[$m[3]] < 1
0 0 0 $_[$m[3]] > 0 and $_[$m[3]] < 1 and 0 < grep({$_ == 0;} @cmy)
4014 0 0 0 $_ == int $_ and $_ >= 1
4036 0 0 0 $_ == int $_ and $_ >= 1
0 0 0 $_ == int $_ and $_ >= 1 and $_ <= $sz
4055 0 0 0 &Scalar::Util::looks_like_number($_) and $_ >= 0
4109 0 0 0 $_ >= 1 and $_ <= $sz
4115 0 0 0 @samples and $fnk
0 0 0 @samples and $fnk and defined $m[3]
4118 0 0 0 @samples and $fns
4121 0 0 0 @samples and $fnb
4124 0 0 0 @samples and @max
4127 0 0 0 @samples and $sort
4166 0 0 0 &Scalar::Util::looks_like_number($row_length) and $row_length == int $row_length
0 0 0 &Scalar::Util::looks_like_number($row_length) and $row_length == int $row_length and $row_length > 0
4182 0 0 0 not ref $upper and $upper == int $upper
0 0 0 not ref $upper and $upper == int $upper and $upper > 0
0 0 0 not ref $upper and $upper == int $upper and $upper > 0 and $upper <= $row_length
4183 0 0 0 not ref $lower and $lower == int $lower
0 0 0 not ref $lower and $lower == int $lower and $lower > 0
0 0 0 not ref $lower and $lower == int $lower and $lower > 0 and $lower <= $row_length
4189 0 0 0 not ref $left and $left == int $left
0 0 0 not ref $left and $left == int $left and $left > 0
0 0 0 not ref $left and $left == int $left and $left > 0 and $left <= $cmax
4190 0 0 0 not ref $right and $right == int $right
0 0 0 not ref $right and $right == int $right and $right > 0
0 0 0 not ref $right and $right == int $right and $right > 0 and $right <= $cmax
4299 0 0 0 not ref $row_length and $row_length == int $row_length
0 0 0 not ref $row_length and $row_length == int $row_length and $row_length > 0
4300 0 0 0 $dups == int $dups and $dups >= 0
0 0 0 $dups == int $dups and $dups >= 0 and $dups <= 4
4591 0 0 0 wantarray and $sidt = id($template, [], {'context', $hash->{'sid_context'}})
4629 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
4642 0 0 0 ref $cols eq 'ARRAY' and @{$cols;} == 0
4681 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
4700 0 0 0 $mult == 255 and $hash->{'invert_rgb'}
4736 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
4765 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
4776 0 0 0 not ref $_ and $_ == int $_
4799 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
4810 0 0 0 not ref $_ and $_ == int $_
4832 0 0 0 $_ and $_ == int $_
0 0 0 ICC::Shared::is_num_vector($sort) and @{$sort;} == grep({abs $_ <= $n if $_ and $_ == int $_;} @{$sort;})
5229 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
5255 0 0 0 $_ == int $_ and $_ != 0
5261 0 0 0 ref $cols eq 'ARRAY' and @{$cols;} == 0
5353 0 0 0 defined $keyword and length $keyword
5360 0 0 0 $keyword =~ /LGOROWLENGTH/ and defined $row_length
5361 0 0 0 $keyword eq 'KEYWORD' and not exists $keys{$value}
5367 0 0 0 defined $value and length $value
5529 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
5555 0 0 0 $_ == int $_ and $_ != 0
5750 0 0 0 defined $hash->{'validate'} and $hash->{'validate'}
5780 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
5806 0 0 0 $_ == int $_ and $_ != 0
5815 0 0 0 ref $cols eq 'ARRAY' and @{$cols;} == 0
5931 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
5957 0 0 0 $_ == int $_ and $_ != 0
5969 0 0 0 $trows == int $trows and $trows > 0
5978 0 0 0 ref $cols eq 'ARRAY' and @{$cols;} == 0
6081 0 0 0 $cs eq 'CMYK' and $bits != 32
0 0 0 $cs =~ /^([4-9A-F])CLR$/ and $bits != 32
0 0 0 $cs eq 'LAB' and $bits != 32
6159 0 0 0 $width == int $width and $width > 0
6163 0 0 0 $height == int $height and $height > 0
6167 0 0 0 $gap == int $gap and $gap >= 0
6171 0 0 0 $left =~ /^([0-9]+)(?:\.([0-9]+))?$/ and !defined($2) || $1 >= $2
6176 0 0 0 $right =~ /^([0-9]+)(?:\.([0-9]+))?$/ and !defined($2) || $1 >= $2
6181 0 0 0 $xres > 0 and $xres <= 40000
6185 0 0 0 $yres > 0 and $yres <= 40000
6242 0 0 0 $pi == 5 and @{$rcols;} > 4
6287 0 0 0 $i == $trows - 1 and $j == $tcols - 1
6303 0 0 0 $i == $trows - 1 and $j == $tcols - 1
6319 0 0 0 $i == $trows - 1 and $j == $tcols - 1
6365 0 0 0 defined $rows and defined $cols
6368 0 0 0 ref $rows eq 'ARRAY' and @{$rows;} == 0
6384 0 0 0 $_ == int $_ and $_ != 0
6396 0 0 0 4 == @fmt and 4 == grep({/^(?:.*\|)?CMYK_[CMYK]$/;} @fmt)
0 0 0 3 == @fmt and 3 == grep({/^(?:.*\|)?RGB_[RGB]$/;} @fmt)
0 0 0 3 == @fmt and 3 == grep({/^(?:.*\|)?LAB_[LAB]$/;} @fmt)
6424 0 0 0 $type == int $type and $type >= 0
0 0 0 $type == int $type and $type >= 0 and $type <= 2
6625 0 0 0 defined $p->[0] && !ref($p->[0])
6918 0 0 0 $d0 == $d1 and $d2 == 0
7104 0 0 0 defined $hash->{'method'} and $hash->{'method'} eq 'SIMPLE'
7159 0 0 0 defined $hash->{'illuminant'} and ref $hash->{'illuminant'} eq 'ARRAY'
7231 10 205 2 ref $cols eq 'ARRAY' and @{$cols;} == 0
7242 0 0 2017 not ref $_ and $_ == int $_
7250 0 61 35 ref $rows eq 'ARRAY' and @{$rows;} == 0
7261 0 0 201 not ref $_ and $_ == int $_
7269 50 0 21 defined $get && ref $get eq 'CODE'
7286 0 0 25 ref $data eq 'ARRAY' || UNIVERSAL::isa($data, 'Math::Matrix') and ref $data->[0] eq 'ARRAY'
7289 0 0 25 $#{$data;} == $#{$rows;} and $#{$$data[0];} == $#{$cols;}
7292 16 0 9 defined $set && ref $set eq 'CODE'
7370 0 0 0 $hash->{'except'} and defined($rows = $$exc{signature($self)})
7376 0 0 0 &Scalar::Util::looks_like_number($rows) and $rows > 0
0 0 0 &Scalar::Util::looks_like_number($rows) and $rows > 0 and $rows == int $rows
7394 0 0 0 &Scalar::Util::looks_like_number($rows) and $rows > 0
0 0 0 &Scalar::Util::looks_like_number($rows) and $rows > 0 and $rows == int $rows
7412 0 0 0 &Scalar::Util::looks_like_number($rows) and $rows > 0
0 0 0 &Scalar::Util::looks_like_number($rows) and $rows > 0 and $rows == int $rows
7433 0 0 0 &Scalar::Util::looks_like_number($rows) and $rows > 0
0 0 0 &Scalar::Util::looks_like_number($rows) and $rows > 0 and $rows == int $rows
7498 0 0 0 !($map->[$i] =~ /^\d+$/) && grep({$_ == $i;} @ms)
7548 0 0 0 defined $_ and not ref $_
7960 0 0 0 defined $ctx && length $ctx
7977 0 0 0 defined $ctx && length $ctx
8038 0 0 3 $#{$$self[1];} == $#{$$temp[1];} and $keys eq join(':', map({defined $_ ? $_ : '-';} @{$$temp[1][0];}))
8047 0 0 0 defined $ctx && length $ctx
8064 0 0 0 defined $ctx && length $ctx
8220 0 0 0 defined $context && length $context
8256 0 0 0 defined $context && length $context
8314 0 0 0 defined $context && length $context
8617 0 0 0 defined $sig && $sig eq signature($temp) || $#{$$self[1];} == $#{$$temp[1];} and $keys eq join(':', map({s/^.*\|// if defined $_; defined $_ ? $_ : '-';} @{$$temp[1][0];}))
8845 465 0 32 s/#\s*(.*)// and $state == 0
8912 0 376 19 $iflag == 0 and $state == 1
0 186 190 $iflag == 0 and $state == 3
186 0 0 $iflag == 1 and $state == 1
186 0 0 $iflag == 1 and $state == 3
0 186 0 $iflag == 0 and $state == 0 || $state == 2
8931 19 0 0 /,/ && @fields > (@{$self->[1][0];} || 0)
9009 0 19 0 keyword($self, 'LGOROWLENGTH') and $rot || $flip
9095 0 0 0 $space eq 'CMYK' and not defined $cs
0 0 0 $space eq 'RGB ' and not defined $cs
0 0 0 $space eq 'LAB ' and not defined $cs
0 0 0 $space eq 'Gray' and not defined $cs
9310 0 0 0 $header[23] eq 'XRCM' and exists $tags{'CxF '}
0 0 0 $header[23] eq 'LOGO' and exists $tags{'DevD'}
0 0 0 $header[23] eq 'LOGO' and exists $tags{'DevD'} and exists $tags{'CIED'}
0 0 0 $header[23] eq 'MONS' || $header[1] eq 'mnco' and exists $tags{'DEVD'}
9460 0 0 0 $ix >= 0 and $ix % 4
0 0 0 $ix >= 0 and $ix % 4 and $ix++
9506 0 0 0 $ix >= 0 and $ix % 4
0 0 0 $ix >= 0 and $ix % 4 and $ix++
9636 0 0 0 $_ > $tac and $_ < $limit
9645 0 0 0 0 < grep({$_ == 0;} @cmy) and 0 < grep({$_ == 100;} @cmy)
10043 0 0 0 $tags->{'339'}[0] == 3 and $pi == 2
10069 0 0 0 $pi == 2 and $samples < 13
0 0 0 $pi == 5 and $samples == 4
0 0 0 $pi == 5 and $samples > 4
0 0 0 $pi == 5 and $samples > 4 and $samples < 16
0 0 0 $pi == 8 and $samples == 3
10140 0 0 0 4 == @{$crop;} and 4 == grep({$_ >= 0 if $_ == int $_;} @{$crop;})
10147 0 0 0 $rows > 0 and $cols > 0
10208 0 0 0 $rxo <= $rows / $trows and $cxo <= $cols / $tcols
10238 0 0 0 $ratio >= 0 and $ratio <= 1
10291 0 0 0 $pi == 8 and $bits == 16
10946 0 0 0 defined $dither and $bits == 8
10995 8 0 0 defined $hash->{'validate'} and $hash->{'validate'}
11172 8 0 0 defined $hash->{'cc:Object'} and ref $hash->{'cc:Object'} eq 'ARRAY'
11201 8 0 0 defined $hash->{'cc:Tag'} and ref $hash->{'cc:Tag'} eq 'ARRAY'
11264 0 0 0 $xpc->exists("\@$t", $s) and grep {$_->[1] eq $t or $_->[1] =~ /^\*?$/ if $_->[0] eq $type or $_->[0] =~ /^\*?$/;} @attr
11282 16 0 0 not $name =~ /^$type(\d+)/ and $type ne 'Measurement'
11716 0 0 0 ref $cols eq 'ARRAY' and @{$cols;} == 0
11786 0 0 0 defined $class and $self->[1][0][$i] =~ /$table->[$class][3]/
0 0 0 defined $class and $self->[1][0][$i] =~ /$table->[$class][3]/ and (defined $prefix ? $prefix : "\n") eq (defined $1 ? $1 : "\n")
11825 0 0 0 defined $prefix and not $prefix =~ /^Target$|Measurement$/
0 0 0 defined $prefix and not $prefix =~ /^Target$|Measurement$/ and $key =~ /^SAMPLE_NAME$|^SampleName$/
11885 0 0 0 @{$t->[4];} == 1 and @{$t->[3];} == 0
11936 0 0 0 defined $prefix and $prefix eq $t->[1]
0 0 0 $t->[0] eq 'TAG' and $t->[1] eq '~~'
12008 0 0 0 defined $source and $source eq 'FileInformation'
12023 0 0 0 ($child) = $node->nonBlankChildNodes and $child->nodeType == 3
12064 0 0 0 ($child) = $node->nonBlankChildNodes and $child->nodeType == 3
12155 0 0 0 ($child) = $node->nonBlankChildNodes and $child->nodeType == 3
12205 0 0 0 defined $source and $source eq $Id
12253 0 0 0 $value =~ /parse_balanced_chunk($value) } }
12288 0 0 0 not exists $hash{'FILTER'} and $std == 0 || $std == 2
12424 0 0 0 defined $nsURI and defined $ns
12545 0 0 0 @{$template->[$i][$j];} > 0 and @{$template->[$i][$j];} == grep({&Scalar::Util::looks_like_number($_) if not ref $_;} @{$$template[$i][$j];})
12573 0 0 0 $n > 0 and $n < 16
12623 0 0 0 defined $tac and $cs eq 'CMYK' || $cs eq 'nCLR'
12629 0 0 0 not ref $tac and &Scalar::Util::looks_like_number($tac)
12652 0 0 0 grep {$data->[$i][$_] == 0;} 0..2 and grep {$data->[$i][$_] == 100;} 0..2
12655 0 0 0 not defined $limit and $data->[$i][-1] - $tac > $eps
12675 0 0 0 $_ and $_ == int $_
0 0 0 ICC::Shared::is_num_vector($sort) and @{$sort;} == grep({abs $_ <= @{$data->[0];} if $_ and $_ == int $_;} @{$sort;})
12753 0 0 0 defined $4 and $4 eq 'AM'
0 0 0 defined $4 and $4 eq 'AM' and $1 == 12
0 0 0 defined $4 and $4 eq 'PM'
0 0 0 defined $4 and $4 eq 'PM' and $1 > 0
0 0 0 defined $4 and $4 eq 'PM' and $1 > 0 and $1 < 12
12883 0 19 2 @files == 1 and -d $files[0]
12980 0 0 0 defined $_[0] and defined $_[1]
0 0 0 defined $_[0] and defined $_[1] and defined $_[2]
12981 0 0 0 defined $_[0] and defined $_[1]
0 0 0 defined $_[0] and defined $_[1] and defined $_[2]
12987 0 0 0 defined $_[0] and defined $_[1]
0 0 0 defined $_[0] and defined $_[1] and defined $_[2]
12988 0 0 0 defined $_[0] and defined $_[1]
0 0 0 defined $_[0] and defined $_[1] and defined $_[2]

or 2 conditions

line l !l condition
92 1 1 $hash->{'folder'} // 'AVG'
1075 9 6 rgb($self, $hash) || cmyk($self, $hash) || nCLR($self, $hash) || spot($self, $hash) || (return ())
1260 0 0 _spectral($self, $hash->{'context'}) || (return ())
1280 0 0 _spectral($self, $hash->{'context'}) || (return ())
2431 0 0 $hash->{'encoding'} // 'density'
3610 0 0 $p[0] // 100
3629 0 0 $p[0] // 100
3651 0 0 $p[0] // 100
3670 0 0 $p[0] // 0
5328 0 0 $self->[0]{'write_rs'} || $self->[0]{'read_rs'} || "\n"
5451 0 0 $hash->{'null'} // 'null'
5454 0 0 $hash->{'undef'} // 'undef'
5856 0 0 $hash->{'header'} || 1
5859 0 0 $hash->{'sep'} || "\t"
5862 0 0 $hash->{'eol'} || "\n"
5865 0 0 $hash->{'undef'} || ''
7430 0 0 $self->[0]{'xrp:CustomAttributes'}{'NumberPatchPages'} // 1
10060 0 0 ref $udf eq 'CODE' or return 'UDF not a code reference'

or 3 conditions

line l !l&&r !l&&!r condition
56 1 0 21 ref $_[0] eq 'ARRAY' or UNIVERSAL::isa($_[0], 'Math::Matrix')
270 0 0 0 _getRowLength($self) || $#{$$self[1];}
356 1 0 5 @_ == 0 or @_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} == 0
402 4 0 4 defined $cx[0] || defined $_
481 0 0 255 not defined $string or $string eq ''
913 19 0 14 $cols // cols($self, map({defined $hash->{'context'} ? "$hash->{'context'}|PC6_$_" : "PC6_$_";} 1..6))
1308 0 0 0 xyz($self, $hash) || lab($self, $hash)
1336 0 0 0 xyz($self, $hash) || lab($self, $hash)
1369 0 0 0 xyz($self, $hash) || lab($self, $hash)
1505 0 0 0 $nm->[2] == 10 or $nm->[2] == 20
1615 0 0 0 $#{$$self[1];} or @{$self->[1][0];}
1650 1 0 0 ref $matrix eq 'ARRAY' and ref $matrix->[0] eq 'ARRAY' or UNIVERSAL::isa($matrix, 'Math::Matrix')
1667 0 0 1 $#{$$self[1];} or @{$self->[1][0];}
1792 0 0 0 defined $hash->{'illuminant'} || defined $hash->{'observer'} || defined $hash->{'cat'}
1798 0 0 0 _cols($self, map({defined $context ? "$context|$_" : $_;} 'LAB_L', 'LAB_A', 'LAB_B')) || add_lab($self, $hash)
1961 0 0 0 defined $hash->{'illuminant'} || defined $hash->{'observer'} || defined $hash->{'cat'}
1967 0 0 0 _cols($self, map({defined $context ? "$context|$_" : $_;} 'XYZ_X', 'XYZ_Y', 'XYZ_Z')) || add_xyz($self, $hash)
2116 0 0 0 not $spec1 && $spec2 or $#{$spec1;} != $#{$spec2;}
2140 0 0 0 defined $hash->{'illuminant'} || defined $hash->{'observer'} || defined $hash->{'cat'}
2407 0 0 0 not $spec1 && $spec2 or $#{$spec1;} != $#{$spec2;}
2658 0 0 0 ref $cs[$i] eq 'ARRAY' or @{$cs[$i];} == grep({$_ <= $#{$$self[1][0];} if &Scalar::Util::looks_like_number($_) and int $_ == $_ and $_ >= 0;} @{$cs[$i];})
2715 0 0 0 ref $cs[$i] eq 'ARRAY' or @{$cs[$i];} == grep({$_ <= $#{$$self[1][0];} if &Scalar::Util::looks_like_number($_) and int $_ == $_ and $_ >= 0;} @{$cs[$i];})
2782 0 0 0 defined $udfe or @{$cs[0];} == @s
2798 0 0 0 defined $udfe or @{$cs[0];} == @s
2923 1 0 0 ref $matrix eq 'ARRAY' and ref $matrix->[0] eq 'ARRAY' or UNIVERSAL::isa($matrix, 'Math::Matrix')
3039 0 0 0 ref $matrix eq 'ARRAY' and ref $matrix->[0] eq 'ARRAY' or UNIVERSAL::isa($matrix, 'Math::Matrix')
3231 0 0 0 $_ != int $_ or $_ < 1
3322 0 0 0 $_ != int $_ or $_ < 0
3673 0 0 0 !$lim || 1 == grep({$_ >= $lim;} @cmy)
4154 0 0 0 @_ == 0 or @_ == 4
0 0 0 @_ == 1 or @_ == 5
4629 0 0 0 not defined $rows or ref $rows eq 'ARRAY' and @{$rows;} == 0
4642 0 0 0 not defined $cols or ref $cols eq 'ARRAY' and @{$cols;} == 0
4681 0 0 0 not defined $rows or ref $rows eq 'ARRAY' and @{$rows;} == 0
4736 0 0 0 not defined $rows or ref $rows eq 'ARRAY' and @{$rows;} == 0
4765 0 0 0 not defined $rows or ref $rows eq 'ARRAY' and @{$rows;} == 0
4799 0 0 0 not defined $rows or ref $rows eq 'ARRAY' and @{$rows;} == 0
4838 0 0 0 $rows->[$i] // $i + 1
4965 0 0 0 @{$c1;} or @{$c2;}
0 0 0 @{$c1;} or @{$c2;} or @{$c3;}
5296 0 0 0 ref $sid eq 'ARRAY' or UNIVERSAL::isa($sid, 'Math::Matrix')
5364 0 0 0 not defined $source or $cspec{$source}
6031 0 0 0 $bits == 8 or $bits == 16
0 0 0 $bits == 8 or $bits == 16 or $bits == 32
6171 0 0 0 !defined($2) || $1 >= $2
6176 0 0 0 !defined($2) || $1 >= $2
6189 0 0 0 $unit == 1 or $unit == 2
0 0 0 $unit == 1 or $unit == 2 or $unit == 3
7104 1 0 0 not defined $hash->{'method'} or $hash->{'method'} eq 'LINEAR'
7286 25 0 0 ref $data eq 'ARRAY' || UNIVERSAL::isa($data, 'Math::Matrix')
7814 0 0 9 $hash->{'illuminant'} ne 'D50' or $hash->{'observer'} ne '2'
7994 1 0 0 @{$c2;} or @{$c3;}
8136 1 0 0 @{$c1;} or @{$c2;}
1 0 0 @{$c1;} or @{$c2;} or @{$c3;}
8617 0 0 0 defined $sig && $sig eq signature($temp) || $#{$$self[1];} == $#{$$temp[1];}
8712 0 0 19 substr($buf, 0, 4) eq "\000 \000\000" or substr($buf, 0, 4) eq "\0002\000\000"
8912 167 19 0 $state == 0 || $state == 2
9009 0 0 19 $rot || $flip
9095 0 0 0 $space eq 'CMYK' and not defined $cs or $cs eq 'CMYK'
0 0 0 $space eq 'RGB ' and not defined $cs or $cs eq 'RGB '
0 0 0 $space eq 'LAB ' and not defined $cs or $cs eq 'LAB '
0 0 0 $space eq 'Gray' and not defined $cs or $cs eq 'Gray'
9310 0 0 0 $header[23] eq 'MONS' || $header[1] eq 'mnco'
9645 0 0 0 $sum[$i] <= $limit or 0 < grep({$_ == 0;} @cmy) and 0 < grep({$_ == 100;} @cmy)
10016 0 0 0 not exists $tags->{'274'} or $tags->{'274'}[0] == 1
10019 0 0 0 not exists $tags->{'284'} or $tags->{'284'}[0] == 1
10034 0 0 0 $bits == 8 or $bits == 16
0 0 0 $bits == 8 or $bits == 16 or $bits == 32
10174 0 0 0 defined $trows or defined $tcols
10436 0 0 0 $type == 1 or $type == 7
10448 0 0 0 $type == 1 or $type == 7
10607 0 0 0 $type == 1 or $type == 7
10646 0 0 0 $type == 1 or $type == 7
10693 0 0 0 $type == 1 or $type == 7
10721 0 0 0 $type == 1 or $type == 7
10915 0 0 0 defined $dither or $bits == 32
11264 0 0 0 $_->[1] eq $t or $_->[1] =~ /^\*?$/
0 0 0 $_->[0] eq $type or $_->[0] =~ /^\*?$/
11358 0 0 0 $_->[1] eq $name or $_->[1] =~ /^\*?$/
0 0 0 $_->[0] eq $type or $_->[0] =~ /^\*?$/
11885 0 0 0 @{$t->[4];} == @{$t->[3];} or @{$t->[4];} == 1 and @{$t->[3];} == 0
12008 0 0 0 defined $source and $source eq 'FileInformation' or grep {$_ eq $keyword;} @filter
12288 0 0 0 $std == 0 || $std == 2
12447 0 0 0 not $node or $i == $#seg
12623 0 0 0 $cs eq 'CMYK' || $cs eq 'nCLR'
12652 0 0 0 not defined $limit or $data->[$i][-1] - $limit <= $eps
0 0 0 not defined $limit or $data->[$i][-1] - $limit <= $eps or grep {$data->[$i][$_] == 0;} 0..2 and grep {$data->[$i][$_] == 100;} 0..2
13015 0 0 0 $encode eq 'L*' or $encode == 4
13089 17 0 0 not defined $encode or $encode eq 'density'
13133 0 0 0 not defined $encode or $encode eq 'linear'
0 0 0 not defined $encode or $encode eq 'linear' or $encode eq 'RGBV'