Condition Coverage

blib/lib/Stats/LikeR.pm
Criterion Covered Total %
condition 60 81 74.0


and 3 conditions

line !l l&&!r l&&r condition
60 0 5 10 @_ and ref $_[0]
67 0 0 7 @_ >= 2 and defined $_[-2]
0 0 7 @_ >= 2 and defined $_[-2] and not ref $_[-2]
0 5 2 @_ >= 2 and defined $_[-2] and not ref $_[-2] and $_[-2] =~ /^(?:nrows|nrow)$/
79 11 3 1 $ref_type ne "ARRAY" and $ref_type ne "HASH"
83 3 3 8 $ref_type eq "ARRAY" and ref $data->[0] eq ""
188 535 11 1 defined $filter and ref $filter eq "CODE"
535 10 1 defined $filter and ref $filter ne "HASH"
203 0 0 546 @line and defined $line[0]
0 0 546 @line and defined $line[0] and length($args{'comment'} // "")
205 0 535 11 @header and $header[0] eq ""
216 536 4 6 $otype eq "hoh" and not defined $args{'row.names'}
219 536 9 1 defined $args{'row.names'} and not grep({$_ eq $args{'row.names'};} @header)
345 32 7 1 exists $args{'n'} and exists $args{'rows'}
349 0 2 37 defined $n and $n =~ /^\d+$/
502 0 10 38 defined $l and &looks_like_number($l)
512 0 138 2 $maxw and length $v > $maxw

or 2 conditions

line l !l condition
77 1 11 delete $args{'nrow'} // 10
183 22 527 $args{'output.type'} // "aoh"
203 546 0 $args{'comment'} // ""
296 546 0 $args{'sep'} // ""
546 0 $args{'comment'} // ""
366 1 1 $rt || 'a non-reference'

or 3 conditions

line l !l&&r !l&&!r condition
25 0 50 0 ref $_[0] || $_[0]
77 3 12 0 $args{'nrows'} //= delete $args{'nrow'} // 10
254 0 29 74790 !defined($v) || $v eq ''
271 1 1 725 !defined($_) || $_ eq ''
356 4 1 32 $args{'cols'} || $args{'columns'}
366 22 13 2 $rt eq "ARRAY" or $rt eq "HASH"