Condition Coverage

blib/lib/Math/PlanePath/PythagoreanTree.pm
Criterion Covered Total %
condition 49 82 59.7


and 3 conditions

line !l l&&!r l&&r condition
99 0 0 0 $self->{'tree_type'} eq 'UAD' && $UAD_coordinates_always_right{$self->{'coordinates'}}
107 0 0 0 $self->{'tree_type'} eq 'UAD' && $UAD_coordinates_always_left{$self->{'coordinates'}}
116 0 0 0 $self->{'tree_type'} eq 'UMT' && $UMT_coordinates_any_straight{$self->{'coordinates'}}
388 0 0 0 $self->{'coordinates'} eq 'AB' || $self->{'coordinates'} eq 'BA' || $self->{'coordinates'} eq 'SM' and $n == int $n
580 184 144 1041 $p >= 2 and $q >= 1
596 90 24 771 $p > $q and $q >= 1
599 487 122 162 $q <= 1 and $p <= 2
626 0 0 0 $p > $q and $q >= 1
629 0 0 0 $q <= 1 and $p <= 2
654 643 137 166 $q <= 1 and $p <= 2
989 872 2075 2062 $b >= 4 and $a % 2
2947 984 1078 $b >= 4 and $a % 2 and not $b % 2
1023 782 234 274 $c > $b and $b >= 4
1016 128 146 $c > $b and $b >= 4 and not $b % 2
362 72 74 $c > $b and $b >= 4 and not $b % 2 and $c % 2
1051 782 208 379 $c > $a and $a >= 3
990 144 235 $c > $a and $a >= 3 and $a % 2
352 90 145 $c > $a and $a >= 3 and $a % 2 and $c % 2

or 2 conditions

line l !l condition
208 0 0 $absdx_minimum{"$self->{'coordinates'},$self->{'tree_type'}"} || 0
234 0 0 $absdy_minimum{"$self->{'coordinates'},$self->{'tree_type'}"} || 0
344 0 21 $self->{'digit_order'} ||= 'HtoL'
349 11 10 $self->{'tree_type'} ||= 'UAD'
354 14 7 $self->{'coordinates'} ||= 'AB'

or 3 conditions

line l !l&&r !l&&!r condition
355 21 0 0 $xy_to_pq{$coordinates} || croak('Unrecognised coordinates option: ', $coordinates)
388 0 0 0 $self->{'coordinates'} eq 'AB' || $self->{'coordinates'} eq 'BA' || $self->{'coordinates'} eq 'SM'
651 29 0 1036 $q <= 0 or $p <= 0
29 90 946 $q <= 0 or $p <= 0 or $p <= $q
727 0 0 28 $x2 < 2 or $y2 < 1
741 0 0 36 $x2 < 3 or $y2 < 0