Branch Coverage

blib/lib/Statistics/Basic/Vector.pm
Criterion Covered Total %
branch 50 68 73.5


line true false branch
17 203 4 defined $_ ? :
18 4 38 $Statistics::Basic::DEBUG ? :
28 182 112 if (blessed $vector and $vector->isa('Statistics::Basic::Vector'))
29 0 182 if $Statistics::Basic::DEBUG >= 3
36 0 112 if $Statistics::Basic::DEBUG >= 3
46 0 3 if $Statistics::Basic::DEBUG >= 3
57 2 241 if $Statistics::Basic::DEBUG
83 2 242 if $Statistics::Basic::DEBUG
105 268 3 if (defined $v and blessed $v) { }
124 25 17 if ($d > 0)
129 34 8 unless ($Statistics::Basic::NOFILL)
130 8 26 if ($d < 0)
138 0 42 if $Statistics::Basic::DEBUG >= 2
148 262 66 wantarray ? :
155 0 185 if $Statistics::Basic::DEBUG >= 1
157 4 181 if @{$$this{'v'};} < $$this{'s'}
166 0 29 unless defined $$this{'s'}
169 3 28 if (ref $e and not blessed $e) { }
170 3 0 if (ref $e eq 'ARRAY') { }
172 0 3 if $Statistics::Basic::DEBUG >= 1
180 0 28 if $Statistics::Basic::DEBUG >= 1
195 2 37 if (ref $e and not blessed $e) { }
196 2 0 if (ref $e eq 'ARRAY') { }
198 0 2 if $Statistics::Basic::DEBUG >= 1
206 0 37 if $Statistics::Basic::DEBUG >= 1
210 39 0 if @{$$this{'v'};} > $$this{'s'}
234 0 13 if $size < 0
236 13 0 if ($$this{'s'} != $size)
250 76 84 if (ref $vector eq 'ARRAY') { }
0 84 elsif (UNIVERSAL::isa($vector, 'Statistics::Basic::ComputedVector')) { }
3 81 elsif (UNIVERSAL::isa($vector, 'Statistics::Basic::Vector')) { }
37 44 elsif (@_) { }
0 44 elsif (defined $vector) { }
276 0 160 if $Statistics::Basic::DEBUG >= 2 and ref $$this{'v'}