Branch Coverage

blib/lib/Statistics/Frequency.pm
Criterion Covered Total %
branch 39 54 72.2


line true false branch
11 0 1 wantarray ? :
19 1 exists $self->{'data'} ? :
16 116 1 exists $self->{'data'} ? :
24 0 174 if ($ref eq ref $self)
29 5 169 if ($ref eq 'HASH') { }
4 165 elsif ($ref eq 'ARRAY') { }
41 18 7 if ($mod)
43 0 18 if exists $self->{'update'}
58 0 3 if ($ref and $data->isa(ref $self))
63 0 3 if ($ref eq 'HASH') { }
0 3 elsif ($ref eq 'ARRAY') { }
78 3 9 if $self->{'data'}{$e} <= 0
81 3 0 if ($mod)
83 0 3 if exists $self->{'update'}
95 3 0 if ($mod)
96 0 3 unless keys %{$$self{'data'};}
98 0 3 if exists $self->{'update'}
107 1 1 if exists $self->{'update'}
120 24 0 exists $self->{'data'} ? :
125 15 0 unless (exists $self->{'sum'})
130 14 1 exists $self->{'data'} ? :
133 10 49 if ($f < $min) { }
16 33 elsif ($f > $max) { }
143 15 60 unless exists $self->{'sum'}
149 0 12 unless exists $self->{'min'}
155 0 12 unless exists $self->{'max'}
171 39 9 defined $freq && $sum ? :