Branch Coverage

blib/lib/Data/Grouper.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
47 0 5 unless defined $_[$x + 1]
52 1 1 if (defined $$self{'OPTIONS'}{'AGGREGATES'})
59 1 1 if (defined $$self{'OPTIONS'}{'DATA'})
76 3 0 if (ref $r eq 'HASH') { }
100 0 2 unless defined $$options{'COLNAMES'}
117 1 4 if ($#{$$options{'COLNAMES'};} == -1)
138 2 3 if ($$options{'USE_AGGREGATES'} == 1)
162 0 5 unless grep {$_ eq $colname;} @{$$options{'COLNAMES'};}
170 3 2 if (not defined $$self{'LASTVALS'}[$i] or $$self{'LASTVALS'}[$i] ne $h2{$colname}) { }
182 1 2 if (defined $$self{'LASTVALS'}[$i])
199 1 2 if ($$options{'USE_AGGREGATES'} == 1)
218 1 1 if ($$options{'USE_AGGREGATES'} == 1)
268 0 0 if ($loc eq $$href{$colname})
278 0 0 unless ($found)
367 1 1 if (not defined $x or $val < $x)
373 2 0 if (not defined $x or $val > $x)
402 3 0 if ($#{$aref2;} >= 0) { }