Condition Coverage

lib/ICC/Profile/mft1.pm
Criterion Covered Total %
condition 4 81 4.9


and 3 conditions

line !l l&&!r l&&r condition
44 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
78 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
133 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::matf')
170 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
204 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::clut')
238 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
430 0 0 0 @_ == $h + 2 and UNIVERSAL::isa($_[1], 'Math::Matrix')
0 0 0 @_ == $h + 2 and ref $_[1] eq 'ARRAY'
439 0 0 0 not ref $_[1][0] and @{$_[1];} == grep({&Scalar::Util::looks_like_number($_);} @{$_[1];})
0 0 0 ref $_[1][0] eq 'ARRAY' and @{$_[1];} == grep({&Scalar::Util::looks_like_number($_->[0]) if ref $_ eq 'ARRAY';} @{$_[1];})
597 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
658 0 0 0 $self->[0]{'input_cs'} eq 'Lab ' and $self->[0]{'output_cs'} ne 'XYZ '
0 0 0 $self->[0]{'input_cs'} ne 'XYZ ' and $self->[0]{'output_cs'} eq 'Lab '
0 0 0 $self->[0]{'input_cs'} eq 'XYZ ' and $self->[0]{'output_cs'} ne 'Lab '
0 0 0 $self->[0]{'input_cs'} ne 'Lab ' and $self->[0]{'output_cs'} eq 'XYZ '
692 0 0 0 @{$wtpt;} == 3 and 3 == grep({not ref $_;} @{$wtpt;})
742 0 0 0 defined $p->[0] && !ref($p->[0])
834 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
863 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
985 0 0 1 $self->[1][0]->cin == 3 and $self->[1][0]->cout == 3
988 0 1 0 defined $self->[1][0]->offset and grep {$_;} @{$self->[1][0]->offset;}
1130 0 0 1 $mft[1] > 0 and $mft[1] < 16
1133 0 0 1 $mft[2] > 0 and $mft[2] < 16

or 2 conditions

line l !l condition
507 0 0 $hash->{'inv_max'} || 10
510 0 0 $hash->{'inv_elim'} || 1e-06
513 0 0 $hash->{'inv_dlim'} || 0.5

or 3 conditions

line l !l&&r !l&&!r condition
658 0 0 0 $self->[0]{'input_cs'} eq 'Lab ' and $self->[0]{'output_cs'} ne 'XYZ ' or $self->[0]{'input_cs'} ne 'XYZ ' and $self->[0]{'output_cs'} eq 'Lab '
0 0 0 $self->[0]{'input_cs'} eq 'XYZ ' and $self->[0]{'output_cs'} ne 'Lab ' or $self->[0]{'input_cs'} ne 'Lab ' and $self->[0]{'output_cs'} eq 'XYZ '