Condition Coverage

blib/lib/ICC/Profile.pm
Criterion Covered Total %
condition 1 75 1.3


and 3 conditions

line !l l&&!r l&&r condition
152 1 0 0 @_ == 1 and ref $_[0] eq 'HASH'
185 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
216 0 0 0 @_ == 1 and ref $_[0] eq 'ARRAY'
0 0 0 @_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} == grep({not ref $_;} @{$_[0];})
247 0 0 0 @_ == 1 and ref $_[0] eq 'ARRAY'
0 0 0 @_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} == grep({ref $_ eq 'ARRAY';} @{$_[0];})
284 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
472 0 0 0 defined $p->[0] && !ref($p->[0])
648 0 0 0 $class ne 'abst' and $dcs =~ /$redcs/
652 0 0 0 $class eq 'link' and $pcs =~ /$redcs/
797 0 0 0 $dcs =~ /CLR$/ and $vmaj == 4
828 0 0 0 $dcs =~ /CLR$/ and $vmaj == 4
838 0 0 0 $pcs =~ /CLR$/ and $vmaj == 4
906 0 0 0 $header[0] eq '8BPS' and $header[1] == 1
1029 0 0 0 $ts[$tag[1]] == 2 and $tag[2] == 1
0 0 0 $ts[$tag[1]] == 2 and $tag[2] == 2
1277 0 0 0 $tag->[0] =~ /^(A2B[0-9A-F]|B2A[0-9A-F]|gamt)$/ and defined $tag->[3]
0 0 0 $tag->[0] =~ /^(D2B[0-9A-F]|B2D[0-9A-F]|gbd[0-3])$/ and defined $tag->[3]
1719 0 0 0 $tag->[0] eq 'cprt' and UNIVERSAL::isa($tag->[3], 'ICC::Profile::text')

or 2 conditions

line l !l condition
541 0 0 ref $entry->[3] || ' undefined'
0 0 $entry->[1] || 0
0 0 $entry->[2] || 0

or 3 conditions

line l !l&&r !l&&!r condition
302 0 0 0 not defined $value or ref($value) =~ /^ICC::(Profile|Support)::/
648 0 0 0 $dcs =~ /$repcs/ or $class ne 'abst' and $dcs =~ /$redcs/
652 0 0 0 $pcs =~ /$repcs/ or $class eq 'link' and $pcs =~ /$redcs/
1029 0 0 0 $size > 4 or $ts[$tag[1]] == 4