| blib/lib/PDL/PP/Dims.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 27 | 62.9 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 16 | 123 | 0 | 0 | $calc and defined $val |
| 45 | 0 | 51 | 0 | $val =~ /^\d+$/ and $val <= 0 |
| 51 | 1 | 2 | 2 | $val != 1 and $val != $this->{'Value'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 18 | 33 | 0 | 90 | $val //= $calc |
| 19 | 37 | 86 | 0 | $this->{$name} //= "PDL::PP::Ind"->new($name) |
| 50 | 46 | 0 | 5 | not defined $this->{'Value'} or $this->{'Value'} == -1 |
| 46 | 0 | 5 | not defined $this->{'Value'} or $this->{'Value'} == -1 or $this->{'Value'} == 1 | |
| 66 | 15 | 0 | 0 | $_[0]{'Index'} // confess("unknown index for $_[0]{'Name'}") |
| 70 | 1 | 1 | 24 | $this->{'Value'} // ($this->{'From'} ? '$COMP(' . $this->{'From'}{'ProtoName'} . ')' : undef) |