Condition Coverage

blib/lib/ICC/Profile/matf.pm
Criterion Covered Total %
condition 1 108 0.9


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
312 0 0 0 @_ == 1 and ref $_[0] eq 'HASH'
343 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];})
0 0 0 @_ == 1 and UNIVERSAL::isa($_[0], 'Math::Matrix')
380 0 0 0 @_ == 1 and ref $_[0] eq 'ARRAY'
0 0 0 @_ == 1 and ref $_[0] eq 'ARRAY' and @{$_[0];} == grep({not ref $_;} @{$_[0];})
413 0 0 0 UNIVERSAL::isa($pri, 'Math::Matrix') || ref $pri eq 'ARRAY' and @{$pri;} == 3
0 0 0 UNIVERSAL::isa($pri, 'Math::Matrix') || ref $pri eq 'ARRAY' and @{$pri;} == 3 and @{$pri->[0];} == 3
471 0 0 0 ref $in eq 'ARRAY' and ref $in->[0] eq 'ARRAY'
0 0 0 ref $in eq 'ARRAY' and ref $in->[0] eq 'ARRAY' and not ref $in->[0][0]
474 0 0 0 ref $out eq 'ARRAY' and ref $out->[0] eq 'ARRAY'
0 0 0 ref $out eq 'ARRAY' and ref $out->[0] eq 'ARRAY' and not ref $out->[0][0]
534 0 0 0 @_ == $h + 2 and UNIVERSAL::isa($_[1], 'Math::Matrix')
0 0 0 @_ == $h + 2 and ref $_[1] eq 'ARRAY'
543 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];})
726 0 0 0 @_ == $h + 2 and UNIVERSAL::isa($_[1], 'Math::Matrix')
0 0 0 @_ == $h + 2 and ref $_[1] eq 'ARRAY'
735 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];})
867 0 0 0 defined $p->[0] && !ref($p->[0])
879 0 0 0 $rows < 0 and $off < 0
1252 0 0 0 ref $value eq 'ARRAY' and @{$value;} == grep({ref $_ eq 'ARRAY';} @{$value;})
0 0 0 &Scalar::Util::looks_like_number($value) and $value == int $value
0 0 0 &Scalar::Util::looks_like_number($value) and $value == int $value and $value > 0
1285 0 0 0 ref $value eq 'ARRAY' and @{$value;} == grep({not ref $_;} @{$value;})
1456 0 0 2 defined $self->[2] && @{$self->[2];} > 0
1475 0 0 0 defined $self->[2] && @{$self->[2];} > 0
1505 0 0 0 $ci > 0 and $ci < 16
1508 0 0 0 $co > 0 and $co < 16

or 3 conditions

line l !l&&r !l&&!r condition
51 0 0 0 @_ == 2 or @_ == 3
413 0 0 0 UNIVERSAL::isa($pri, 'Math::Matrix') || ref $pri eq 'ARRAY'
471 0 0 0 ref $in eq 'ARRAY' and ref $in->[0] eq 'ARRAY' and not ref $in->[0][0] or UNIVERSAL::isa($in, 'Math::Matrix')
474 0 0 0 ref $out eq 'ARRAY' and ref $out->[0] eq 'ARRAY' and not ref $out->[0][0] or UNIVERSAL::isa($out, 'Math::Matrix')
670 0 0 0 $mat->solve || print("matf inverse error: @{$in;}\n")