| blib/lib/PPI/Document.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 29 | 62.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 489 | 275473 | 962 | 443 | $heredoc ne "" and $content =~ /\n/ |
| 567 | 0 | 0 | 459 | $last_line and not $any_after |
| 725 | 0 | 11131 | 31 | $heredoc and $$heredoc |
| 886 | 0 | 2 | 2 | @child and not $child[-1]->isa("PPI::Statement") |
| line | l | !l | condition |
|---|---|---|---|
| 515 | 9 | 622 | $Token->indentation || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 212 | 2 | 507 | 0 | $attr{'filename'} ||= $source |
| 559 | 0 | 0 | 2 | scalar @{$tokens[$_]{'_heredoc'};} or defined $tokens[$_]{'_terminator_line'} |
| 694 | 0 | 3 | 0 | $self->SUPER::location || $self->_default_location |
| 762 | 11 | 0 | 2 | $3 || $start->[4] |
| 781 | 4 | 2 | 0 | $3 || $file |