Branch Coverage

blib/lib/PDL/PP/Dims.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
15 0 123 unless my($name, $val) = $expr =~ /^([a-zA-Z0-9]+)(?:=([0-9]+))?$/
16 0 123 if $calc and defined $val
20 33 90 if defined $val
45 0 51 if $val =~ /^\d+$/ and $val <= 0
50 0 5 if not defined $this->{'Value'} or $this->{'Value'} == -1 or $this->{'Value'} == 1
51 2 3 if $val != 1 and $val != $this->{'Value'}
70 1 24 $this->{'From'} ? :
71 24 2 unless defined $init