Condition Coverage

blib/lib/Math/PlanePath/VogelFloret.pm
Criterion Covered Total %
condition 14 26 53.8


and 3 conditions

line !l l&&!r l&&r condition
227 6 0 2 ref $n and $n->isa('Math::BigInt')
6 1 1 ref $n and $n->isa('Math::BigInt') and $rf != int $rf
364 1 0 0 ref $n_lo and $n_lo->isa('Math::BigInt')
368 1 0 0 ref $n_hi and $n_lo->isa('Math::BigInt')

or 2 conditions

line l !l condition
202 2 9 $self->{'rotation_type'} ||= 'phi'

or 3 conditions

line l !l&&r !l&&!r condition
203 11 0 0 {phi => {radius_factor => 0.624239116809924, rotation_factor => 0.3819660112501051}, sqrt2 => {radius_factor => 0.679984167849259, rotation_factor => 0.41421356237309515}, sqrt3 => {radius_factor => 0.755560810248419, rotation_factor => 1648431872091733 * 2**-51}, sqrt5 => {radius_factor => 0.853488207169303, rotation_factor => 0.23606797749978981}}->{$rotation_type} || croak('Unrecognised rotation_type: "', $rotation_type, '"')
208 5 6 0 $self->{'radius_factor'} ||= $self->{'rotation_factor'} ? 1 : $defaults->{'radius_factor'}
209 1 10 0 $self->{'rotation_factor'} ||= $defaults->{'rotation_factor'}
290 0 0 0 is_infinite($n_lo) or is_infinite($n_hi)