Branch Coverage

blib/lib/PDLA/PP/PdlParObj.pm
Criterion Covered Total %
branch 27 94 28.7


line true false branch
42 0 0 unless $hasTB
43 0 0 if not defined $txt or $txt =~ /^\s*$/
52 0 0 if @partialargs
56 0 0 if $ct >= 1000
59 0 0 if @partialargs
60 0 0 if @partialargs
97 0 9 unless $string =~ /$pars_re/x
100 8 19 unless defined $_
101 0 9 if $main::PP_VERBOSE
105 0 9 $opt1 ? :
114 0 0 unless /^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
120 0 9 if ($this->{'FlagTyped'} and $this->{'Type'} =~ s/[+]$//)
123 0 9 if ($this->{'FlagNCreat'})
160 0 9 if $pdl->isnull and not $this->{'FlagCreat'}
161 1 8 if $pdl->isnull
163 0 8 if ($pdl->threadids)[0] < $rdims
175 1 5 if $pdl->isnull
180 1 5 if $dims[$i++] != $ind->{'Value'}
190 0 0 if not defined $_->{'Value'} or $_->{'Value'} < 1
199 0 0 if ($#match < 0)
210 4 0 unless $this->{'FlagTyped'}
212 0 0 unless defined $Typemap{$this->{'Type'}}
214 0 0 if ($this->{'FlagTplus'})
217 0 0 $Typemap{$this->{'Type'}}{'Val'} > typeval($generic) ? :
226 0 0 unless defined $Typemap{$this->{'Type'}}
252 0 1 if $this->{'FlagCreat'}
258 1 0 if ($ninds > 0)
288 0 1 if $this->{'FlagPhys'}
290 0 1 if ($this->{'FlagCreat'})
297 0 0 $this->{'FlagTemp'} ? :
307 0 10 if ($this->{'IndTotCounts'}[$ind] > 1) { }
316 0 1 if (scalar @{$this->{'IndObjs'};} == 0)
324 0 3 if (scalar @{$this->{'IndObjs'};} == 0)
347 0 1 $this->{'FlagPhys'} ? :
358 0 0 unless /^\s*(\w+)\s*=>\s*(\S*)\s*$/
369 0 0 if (scalar keys %subst != 0)
379 0 0 if $_->name eq $ind
388 0 0 if $_->name eq $ind
418 0 0 $indtot > 1 ? :
419 0 0 $indtot > 1 ? :
421 0 0 if (defined $subst->{$substname}) { }
425 0 0 if ($_->[0] eq $indname)
428 0 0 unless (defined $index)
447 4 0 if defined $genlooptype
448 0 4 $asgnonly ? :
449 4 0 $type ? :
459 0 0 if ($this->{'BadFlag'} and $type and $usenan == 0 || !($type =~ /^PDLA_(Float|Double)$/))