| blib/lib/PDL/PP/PDLCode.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 25 | 65 | 38.4 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 77 | 10 | 0 | 0 | $handlebad and $code ne $badcode || $badcode =~ /PDL_BAD_CODE|PDL_IF_BAD/ |
| 146 | 0 | 0 | 0 | defined $str and $str ne $bad_str |
| 376 | 272 | 7 | 68 | $this->can('myitemstart') && $this->myitemstart($parent, $nth) |
| 377 | 147 | 59 | 141 | $nth and not $it |
| 380 | 134 | 0 | 66 | $this->can('myitemend') && $this->myitemend($parent, $nth) |
| 460 | 0 | 0 | 0 | defined $loopstart && length $loopstart |
| 473 | 2 | 0 | 0 | defined $loopend && length $loopend |
| 517 | 9 | 0 | 0 | defined $this->[1] and $parent->{'ftypes_type'} |
| line | l | !l | condition |
|---|---|---|---|
| 92 | 0 | 9 | $badcode // "" |
| 217 | 0 | 3 | $cntrlval // "" |
| 366 | 141 | 0 | $this->get_str_int($parent, $context) // "" |
| 367 | 75 | 66 | $this->mypostlude($parent, $context) // "" |
| 378 | 68 | 138 | $it // "" |
| 458 | 0 | 2 | $loopinc ||= 1 |
| 524 | 68 | 7 | $this->[0][$nth] || (return '') |
| 548 | 66 | 0 | $this->[0][$nth] || (return '') |
| 599 | 0 | 0 | $backcode // 1 |
| 606 | 0 | 0 | $backcode // 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 35 | 0 | 0 | 0 | $badcode //= $code |
| 42 | 0 | 0 | 10 | $dont_add_brcloop ||= !$havebroadcasting |
| 77 | 0 | 0 | 0 | $code ne $badcode || $badcode =~ /PDL_BAD_CODE|PDL_IF_BAD/ |
| 87 | 1 | 0 | 8 | $broadcastloops or $dont_add_brcloop |
| 296 | 0 | 0 | 0 | $1 || $3 |
| 737 | 0 | 0 | 0 | $parent->{'ParObjs'}{$this->[0]} // confess("not a defined parname") |
| 751 | 0 | 0 | 0 | $parent->{'ParObjs'}{$this->[0]} // confess("not a defined parname") |