Condition Coverage

blib/lib/Graphics/Fig/Spline.pm
Criterion Covered Total %
condition 28 62 45.1


and 3 conditions

line !l l&&!r l&&r condition
187 7 1 0 $subtype != 4 and $subtype != 5
349 1 0 5 defined $self && defined $finalPoint
417 0 0 0 sin($rotation) * cos($rotation) != 0 and $subtype == 2 || $subtype == 4

or 2 conditions

line l !l condition
256 0 13 not defined($temp = $parameters{'points'}) or scalar(@{$temp;} < 3)

or 3 conditions

line l !l&&r !l&&!r condition
45 0 0 11 $value < -1 or $value > 1
160 0 16 0 ref $proto || $proto
217 0 0 11 $subtype == 4 or $subtype == 5
349 1 1 4 not defined $self && defined $finalPoint or $parameters{'new'}
1 0 4 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0]
1 0 4 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1]
0 1 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'}
1 0 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'} or do { $self }->{'lineStyle'} != $parameters{'lineStyle'}
1 0 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'} or do { $self }->{'lineStyle'} != $parameters{'lineStyle'} or do { $self }->{'lineThickness'} != $parameters{'lineThickness'}
0 0 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'} or do { $self }->{'lineStyle'} != $parameters{'lineStyle'} or do { $self }->{'lineThickness'} != $parameters{'lineThickness'} or do { $self }->{'penColor'} != $parameters{'penColor'}
0 0 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'} or do { $self }->{'lineStyle'} != $parameters{'lineStyle'} or do { $self }->{'lineThickness'} != $parameters{'lineThickness'} or do { $self }->{'penColor'} != $parameters{'penColor'} or do { $self }->{'fillColor'} != $parameters{'fillColor'}
0 0 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'} or do { $self }->{'lineStyle'} != $parameters{'lineStyle'} or do { $self }->{'lineThickness'} != $parameters{'lineThickness'} or do { $self }->{'penColor'} != $parameters{'penColor'} or do { $self }->{'fillColor'} != $parameters{'fillColor'} or do { $self }->{'depth'} != $parameters{'depth'}
0 0 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'} or do { $self }->{'lineStyle'} != $parameters{'lineStyle'} or do { $self }->{'lineThickness'} != $parameters{'lineThickness'} or do { $self }->{'penColor'} != $parameters{'penColor'} or do { $self }->{'fillColor'} != $parameters{'fillColor'} or do { $self }->{'depth'} != $parameters{'depth'} or do { $self }->{'areaFill'} != $parameters{'areaFill'}
0 0 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'} or do { $self }->{'lineStyle'} != $parameters{'lineStyle'} or do { $self }->{'lineThickness'} != $parameters{'lineThickness'} or do { $self }->{'penColor'} != $parameters{'penColor'} or do { $self }->{'fillColor'} != $parameters{'fillColor'} or do { $self }->{'depth'} != $parameters{'depth'} or do { $self }->{'areaFill'} != $parameters{'areaFill'} or do { $self }->{'styleVal'} != $parameters{'styleVal'}
0 0 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'} or do { $self }->{'lineStyle'} != $parameters{'lineStyle'} or do { $self }->{'lineThickness'} != $parameters{'lineThickness'} or do { $self }->{'penColor'} != $parameters{'penColor'} or do { $self }->{'fillColor'} != $parameters{'fillColor'} or do { $self }->{'depth'} != $parameters{'depth'} or do { $self }->{'areaFill'} != $parameters{'areaFill'} or do { $self }->{'styleVal'} != $parameters{'styleVal'} or do { $self }->{'capStyle'} != $parameters{'capStyle'}
0 0 3 not defined $self && defined $finalPoint or $parameters{'new'} or do { $position }->[0] != do { $finalPoint }->[0] or do { $position }->[1] != do { $finalPoint }->[1] or do { $self }->{'subtype'} != $parameters{'splineSubtype'} or do { $self }->{'lineStyle'} != $parameters{'lineStyle'} or do { $self }->{'lineThickness'} != $parameters{'lineThickness'} or do { $self }->{'penColor'} != $parameters{'penColor'} or do { $self }->{'fillColor'} != $parameters{'fillColor'} or do { $self }->{'depth'} != $parameters{'depth'} or do { $self }->{'areaFill'} != $parameters{'areaFill'} or do { $self }->{'styleVal'} != $parameters{'styleVal'} or do { $self }->{'capStyle'} != $parameters{'capStyle'} or Graphics::Fig::Parameters::compareArrowParameters($self, \%parameters) != 0
417 0 0 0 $subtype == 2 || $subtype == 4