Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
46 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile')
86 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
141 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
175 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::matf')
209 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
243 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::clut')
277 0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'ICC::Profile::cvst')
525 0 0 0 @_ == $h + 2 and UNIVERSAL::isa($_[1], 'Math::Matrix')
0 0 0 @_ == $h + 2 and ref $_[1] eq 'ARRAY'
534 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];})
692 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
781 0 0 0 @{$wtpt;} == 3 and 3 == grep({not ref $_;} @{$wtpt;})
831 0 0 0 defined $p->[0] && !ref($p->[0])
923 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
952 0 0 0 defined $self->[1][$i] and $self->[2] & 1 << $i
1098 0 0 1 $self->[1][1]->cin == 3 and $self->[1][1]->cout == 3
1122 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 '
1131 0 0 0 @XYZ == 3 and @TRC == 3
1247 0 0 1 $mft[1] > 0 and $mft[1] < 16
1250 0 0 1 $mft[2] > 0 and $mft[2] < 16

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
1101 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
1086 1 0 0 0 defined $self->[1][1] xor defined $self->[1][2]
1089 1 0 0 0 defined $self->[1][3] xor defined $self->[1][4]