blib/lib/PDLA/PP/Dims.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 18 | 72.2 |
line | true | false | branch |
---|---|---|---|
12 | 0 | 11 | unless $expr =~ /^([a-zA-Z0-9]+)(?:=([0-9]+))?$/ |
15 | 3 | 8 | if (defined $this->{$name}) { } |
21 | 1 | 10 | if (defined $val) |
41 | 0 | 10 | unless $val > 0 |
43 | 4 | 6 | if (defined $this->{'Value'}) { } |
44 | 0 | 4 | if ($this->{'Value'} == -1 or $this->{'Value'} == 1) { } |
2 | 3 | elsif ($val != 1 and $val != $this->{'Value'}) { } | |
68 | 0 | 1 | if $this->{'From'} |
69 | 0 | 1 | if defined $this->{'Value'} |