Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
41 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
75 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
130 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::matf')
167 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
201 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::clut')
235 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
427 0 0 0 @_ == $h + 2 and UNIVERSAL::isa($_[1], 'Math::Matrix')
0 0 0 @_ == $h + 2 and ref $_[1] eq 'ARRAY'
436 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];})
594 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
655 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 '
689 0 0 0 @{$wtpt;} == 3 and 3 == grep({not ref $_;} @{$wtpt;})
739 0 0 0 defined $p->[0] && !ref($p->[0])
831 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
860 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
982 0 0 1 $self->[1][0]->cin == 3 and $self->[1][0]->cout == 3
985 0 1 0 defined $self->[1][0]->offset and grep {$_;} @{$self->[1][0]->offset;}
1127 0 0 1 $mft[1] > 0 and $mft[1] < 16
1130 0 0 1 $mft[2] > 0 and $mft[2] < 16

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
655 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 '