Condition Coverage

blib/lib/ICC/Profile/mAB_.pm
Criterion Covered Total %
condition 11 98 11.2


and 3 conditions

line !l l&&!r l&&r condition
43 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile')
83 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
138 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
172 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::matf')
206 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
240 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::clut')
274 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
522 0 0 0 @_ == $h + 2 and UNIVERSAL::isa($_[1], 'Math::Matrix')
0 0 0 @_ == $h + 2 and ref $_[1] eq 'ARRAY'
531 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];})
689 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
778 0 0 0 @{$wtpt;} == 3 and 3 == grep({not ref $_;} @{$wtpt;})
828 0 0 0 defined $p->[0] && !ref($p->[0])
920 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
949 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
1095 0 0 1 $self->[1][1]->cin == 3 and $self->[1][1]->cout == 3
1119 0 0 0 UNIVERSAL::isa($disp, 'ICC::Profile') and $disp->profile_header->[3] eq 'mntr'
0 0 0 UNIVERSAL::isa($disp, 'ICC::Profile') and $disp->profile_header->[3] eq 'mntr' and $disp->profile_header->[4] eq 'RGB '
0 0 0 UNIVERSAL::isa($disp, 'ICC::Profile') and $disp->profile_header->[3] eq 'mntr' and $disp->profile_header->[4] eq 'RGB ' and $disp->profile_header->[5] eq 'XYZ '
1128 0 0 0 @XYZ == 3 and @TRC == 3
1244 0 0 1 $mft[1] > 0 and $mft[1] < 16
1247 0 0 1 $mft[2] > 0 and $mft[2] < 16

or 2 conditions

line l !l condition
454 3 0 $self->[1][3][0]{'clut_bytes'} || 2
599 0 0 $hash->{'inv_max'} || 10
602 0 0 $hash->{'inv_elim'} || 1e-06
605 0 0 $hash->{'inv_dlim'} || 0.5
1582 1 0 $self->[1][3][0]{'clut_bytes'} || 2
1667 3 13 $self->[1][3]->gsa->[$i] || 0

or 3 conditions

line l !l&&r !l&&!r condition
1098 0 0 1 not defined $self->[1][1][2] or @{$self->[1][1][2];} == 0
0 1 0 not defined $self->[1][1][2] or @{$self->[1][1][2];} == 0 or @{$self->[1][1][2];} == 3

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
1083 1 0 0 0 defined $self->[1][1] xor defined $self->[1][2]
1086 1 0 0 0 defined $self->[1][3] xor defined $self->[1][4]