Branch Coverage: blib/lib/Stats/LikeR.pm

# Branch Coverage

File: | blib/lib/Stats/LikeR.pm
Coverage: | 73.2%

line | % | coverage | branch
--- | --- | --- | ---
22 | 100 | T | F | unless ref $data eq "ARRAY"
41 | 50 | T | F | unless -r -f $file
51 | 50 | T | F | if (scalar @undef_args > 0)
56 | 100 | T | F | unless ($args{'output.type'} =~ /^(?:aoh|hoa|hoh)$/)
61 | 50 | T | F | if (defined $filter and ref $filter eq 'CODE') { }
| 50 | T | F | elsif (defined $filter and ref $filter ne 'HASH') { }
72 | 100 | T | F | unless (@header)
74 | 50 | T | F | if @line and defined $line[0]
78 | 100 | T | F | if (scalar @header > 0 and $header[0] eq "")
81 | 100 | T | F | if ($args{'output.type'} eq "hoh" and not defined $args{'row.names'})
84 | 50 | T | F | if (defined $args{'row.names'} and not grep({$_ eq $args{'row.names'};} @header))
88 | 100 | T | F | if ($filter)
90 | 50 | T | F | if ($k =~ /^\d+$/) { }
94 | 50 | T | F | unless defined $idx
102 | 50 | T | F | if (scalar @line != scalar @header)
108 | 50 | T | F | if (not defined $line[$i] or $line[$i] eq '') { }
116 | 100 | T | F | if (%mapped_filters)
119 | 50 | T | F | $fld == 0 ? :
122 | 100 | T | F | unless ($keep)
128 | 50 | T | F | if ($fld > 0)
130 | 50 | T | F | defined $_ && $_ eq '' ? :
134 | 100 | T | F | if $skip
137 | 100 | T | F | if ($args{'output.type'} eq 'aoh') { }
| 100 | T | F | elsif ($args{'output.type'} eq 'hoa') { }
| 50 | T | F | elsif ($args{'output.type'} eq 'hoh') { }
146 | 100 | T | F | if $col eq $args{'row.names'}
153 | 100 | T | F | if ($args{'output.type'} eq 'aoh') { }
| 50 | T | F | elsif ($args{'output.type'} =~ /^(?:hoa|hoh)$/) { }