Condition Coverage

blib/lib/Statistics/Descriptive/Weighted.pm
Criterion Covered Total %
condition 24 40 60.0


and 3 conditions

line !l l&&!r l&&r condition
47 1 19 0 exists $_[1] and !(ref $_[1] eq 'ARRAY') || @{$_[0];} != @{$_[1];}
171 3 6 0 exists $_[1] and !(ref $_[1] eq 'ARRAY') || @{$_[0];} != @{$_[1];}

or 2 conditions

line l !l condition
245 1 220 $self->weight($_[0]) || 0
252 1 220 $self->count($_[0]) || 0

or 3 conditions

line l !l&&r !l&&!r condition
32 0 15 0 ref $proto || $proto
47 0 2 17 !(ref $_[1] eq 'ARRAY') || @{$_[0];} != @{$_[1];}
2 0 20 not ref $_[0] eq 'ARRAY' or exists $_[1] and !(ref $_[1] eq 'ARRAY') || @{$_[0];} != @{$_[1];}
83 14 229 3 not defined $$self{'max'} or $$datum[$_] > $$self{'max'}
86 14 1 231 not defined $$self{'min'} or $$datum[$_] < $$self{'min'}
148 0 8 0 ref $proto || $proto
171 0 0 6 !(ref $_[1] eq 'ARRAY') || @{$_[0];} != @{$_[1];}
0 0 9 not ref $_[0] eq 'ARRAY' or exists $_[1] and !(ref $_[1] eq 'ARRAY') || @{$_[0];} != @{$_[1];}
294 0 0 11 $proportion < 0 or $proportion > 1
312 0 0 4 $percent < 0 or $percent > 100