blib/lib/Math/PlanePath/SierpinskiTriangle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 38 | 42.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
125 | 0 | 0 | 0 | $self->{'align'} eq 'right' && $self->{'parts'} eq 'right' |
311 | 828 | 812 | 1614 | $x >= 0 and $x <= $y |
1640 | 0 | 1614 | $x >= 0 and $x <= $y and $y >= 0 | |
412 | 0 | 0 | 0 | $n == 0 and $self->{'parts'} ne 'all' |
447 | 40 | 4 | 0 | $n == 0 and $self->{'parts'} ne 'all' |
line | l | !l | condition |
---|---|---|---|
205 | 0 | 23 | $self->{'parts'} ||= 'all' |
207 | 10 | 13 | $self->{'align'} ||= 'triangular' |
262 | 245 | 284 | shift @nbits or 0 |
330 | 1356 | 1391 | $xbits[$i] || 0 |
601 | 0 | 0 | $nbits[0] || 0 |
604 | 0 | 0 | shift @nbits || 0 |
662 | 0 | 0 | shift @$depthbits || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
100 | 1 | 0 | 10 | $self->{'align'} eq 'left' || $self->{'align'} eq 'triangular' && $self->{'parts'} ne 'right' |
106 | 0 | 0 | 0 | $self->{'align'} eq 'left' || $self->{'align'} eq 'triangular' && $self->{'parts'} ne 'right' |
116 | 0 | 0 | 0 | $self->{'align'} eq 'left' || $self->{'align'} eq 'triangular' && ($self->{'parts'} || 'all') eq 'left' |