blib/lib/PDL/PP/PdlParObj.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 78 | 17.9 |
line | l | !l | condition |
---|---|---|---|
114 | 1 | 0 | /^io$/ and $this->{'FlagW'} = 1 |
1 | 0 | /^nc$/ and $this->{'FlagNCreat'} = 1 | |
0 | 1 | /^o$/ and $this->{'FlagOut'} = 1 | |
0 | 1 | /^o$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 | |
0 | 1 | /^o$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 | |
0 | 0 | /^oca$/ and $this->{'FlagOut'} = 1 | |
0 | 0 | /^oca$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 | |
0 | 0 | /^oca$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 | |
0 | 0 | /^oca$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 and $this->{'FlagCreateAlways'} = 1 | |
0 | 0 | /^t$/ and $this->{'FlagTemp'} = 1 | |
0 | 0 | /^t$/ and $this->{'FlagTemp'} = 1 and $this->{'FlagCreat'} = 1 | |
0 | 0 | /^t$/ and $this->{'FlagTemp'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 | |
0 | 0 | /^phys$/ and $this->{'FlagPhys'} = 1 | |
0 | 0 | /^((?:$typeregex)[+]*)$/ and $this->{'Type'} = $1 and $this->{'FlagTyped'} = 1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
47 | 0 | 0 | 0 | $got and $txt =~ /[({\[]/ |
0 | 0 | 0 | $got and $txt =~ /[({\[]/ and $ct++ < 1000 | |
114 | 0 | 0 | 0 | /^((?:$typeregex)[+]*)$/ and $this->{'Type'} = $1 |
120 | 9 | 0 | 0 | $this->{'FlagTyped'} and $this->{'Type'} =~ s/[+]$// |
160 | 8 | 1 | 0 | $pdl->isnull and not $this->{'FlagCreat'} |
455 | 4 | 0 | 0 | $this->{'BadFlag'} and $type |
4 | 0 | 0 | $this->{'BadFlag'} and $type and $usenan == 0 || !($type =~ /^PDL_(Float|Double)$/) |
line | l | !l | condition |
---|---|---|---|
93 | 0 | 9 | $badflag ||= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
43 | 0 | 0 | 0 | not defined $txt or $txt =~ /^\s*$/ |
114 | 0 | 0 | 1 | /^io$/ and $this->{'FlagW'} = 1 or /^nc$/ and $this->{'FlagNCreat'} = 1 |
0 | 1 | 0 | /^io$/ and $this->{'FlagW'} = 1 or /^nc$/ and $this->{'FlagNCreat'} = 1 or /^o$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 | |
1 | 0 | 0 | /^io$/ and $this->{'FlagW'} = 1 or /^nc$/ and $this->{'FlagNCreat'} = 1 or /^o$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 or /^oca$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 and $this->{'FlagCreateAlways'} = 1 | |
0 | 0 | 0 | /^io$/ and $this->{'FlagW'} = 1 or /^nc$/ and $this->{'FlagNCreat'} = 1 or /^o$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 or /^oca$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 and $this->{'FlagCreateAlways'} = 1 or /^t$/ and $this->{'FlagTemp'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 | |
0 | 0 | 0 | /^io$/ and $this->{'FlagW'} = 1 or /^nc$/ and $this->{'FlagNCreat'} = 1 or /^o$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 or /^oca$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 and $this->{'FlagCreateAlways'} = 1 or /^t$/ and $this->{'FlagTemp'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 or /^phys$/ and $this->{'FlagPhys'} = 1 | |
0 | 0 | 0 | /^io$/ and $this->{'FlagW'} = 1 or /^nc$/ and $this->{'FlagNCreat'} = 1 or /^o$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 or /^oca$/ and $this->{'FlagOut'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 and $this->{'FlagCreateAlways'} = 1 or /^t$/ and $this->{'FlagTemp'} = 1 and $this->{'FlagCreat'} = 1 and $this->{'FlagW'} = 1 or /^phys$/ and $this->{'FlagPhys'} = 1 or /^((?:$typeregex)[+]*)$/ and $this->{'Type'} = $1 and $this->{'FlagTyped'} = 1 | |
190 | 0 | 0 | 0 | not defined $_->{'Value'} or $_->{'Value'} < 1 |
455 | 0 | 0 | 0 | $usenan == 0 || !($type =~ /^PDL_(Float|Double)$/) |