Branch Coverage

blib/lib/Statistics/Descriptive/Weighted.pm
Criterion Covered Total %
branch 7 80 8.7


line true false branch
43 0 1 unless (@_ == 2 and ref $_[0] eq 'ARRAY' and ref $_[1] eq 'ARRAY' and @{$_[0];} == @{$_[1];})
64 0 4 if ($$weight[$_] <= 0)
76 4 0 if (not defined $$self{'max'} or $$datum[$_] > $$self{'max'})
79 1 3 if (not defined $$self{'min'} or $$datum[$_] < $$self{'min'})
83 0 1 if $weighterror
85 1 0 if ($$self{'count'} > 1)
96 0 0 if (@_ > 0)
169 0 0 if ($$weight[$_] > 0) { }
173 0 0 if ($newweight > $$self{'maxweight'})
182 0 0 if $weighterror
189 0 0 if exists $$self{'_reserved'}{$key}
191 0 0 if exists $$self{'_permitted'}{$key}
199 0 0 if (@_ == 1) { }
0 0 elsif (@_ == 0) { }
201 0 0 defined $val ? :
214 0 0 if (@_ == 1) { }
0 0 elsif (@_ == 0) { }
216 0 0 defined $val ? :
232 0 0 $value ? :
234 0 0 $value ? :
237 0 0 if (@_ == 2) { }
275 0 0 unless $$self{'did_cdf'}
276 0 0 if (@_ == 1) { }
278 0 0 if $proportion < 0 or $proportion > 1
291 0 0 unless $$self{'did_cdf'}
292 0 0 if (@_ == 1) { }
294 0 0 if $percent < 0 or $percent > 100
295 0 0 if ($percent < $$self{'percentile'}->minimum) { }
0 0 elsif ($percent > $$self{'percentile'}->maximum) { }
322 0 0 if defined $$self{'median'}
333 0 0 unless $$self{'did_cdf'}
334 0 0 if (@_ == 1) { }
336 0 0 if $$self{'data'}->minimum > $value
349 0 0 unless $$self{'did_cdf'}
350 0 0 if (@_ == 1) { }
352 0 0 if $$self{'data'}->minimum > $value
365 0 0 unless $$self{'did_cdf'}
366 0 0 if (@_ == 1) { }
368 0 0 if $$self{'data'}->maximum < $value
381 0 0 unless $$self{'did_cdf'}