Branch Coverage

blib/lib/Stream/Aggregate/Stats.pm
Criterion Covered Total %
branch 34 56 60.7


line true false branch
18 0 225 unless $ps
19 172 53 if $$ps{'numeric'}{$field}
21 0 53 unless ($$ps{'keep'}{$field})
26 162 2 if defined $_
32 0 106 unless $cutoff >= 0 and $cutoff <= 100
34 0 106 unless numeric_only($field)
36 0 143 unless $a <=> $b
38 76 30 unless @sorted > 1
47 14 16 unless $rem
49 0 16 unless exists $sorted[$i + 1]
51 0 16 unless $sorted[$i] > 0
52 0 16 unless $sorted[$i + 1] > 0
60 0 17 unless numeric_only($field)
62 2 15 unless $count
75 0 96 unless numeric_only($field)
82 0 4 unless numeric_only($field)
84 0 4 unless $data and @$data
91 0 4 if ($$side{'count'}) { }
101 0 1 unless numeric_only($field)
108 0 1 unless numeric_only($field)
116 0 1 unless $ps
117 0 1 unless $$ps{'keep'}{$field}
120 0 4 unless defined $d
126 1 2 unless $counts{$c} > $maxcount
131 0 1 if wantarray
138 0 1 unless $ps
140 0 1 unless $data and @$data
142 1 0 if (defined $$ps{'sidestats'}{$field}{'dominantcount'}) { }