| blib/lib/PPI/Document.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 29 | 62.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 493 | 277881 | 974 | 446 | $heredoc ne "" and $content =~ /\n/ |
| 571 | 0 | 0 | 459 | $last_line and not $any_after |
| 732 | 0 | 11163 | 31 | $heredoc and $$heredoc |
| 893 | 0 | 2 | 2 | @child and not $child[-1]->isa("PPI::Statement") |
| line | l | !l | condition |
|---|---|---|---|
| 519 | 9 | 624 | $Token->indentation || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 217 | 2 | 518 | 0 | $attr{'filename'} ||= $source |
| 563 | 0 | 0 | 2 | scalar @{$tokens[$_]{'_heredoc'};} or defined $tokens[$_]{'_terminator_line'} |
| 701 | 0 | 3 | 0 | $self->SUPER::location || $self->_default_location |
| 769 | 11 | 0 | 2 | $3 || $start->[4] |
| 788 | 4 | 2 | 0 | $3 || $file |