Condition Coverage

blib/lib/PPI/Document.pm
Criterion Covered Total %
condition 17 26 65.3


and 3 conditions

line !l l&&!r l&&r condition
406 265130 963 419 $heredoc ne "" and $content =~ /\n/
484 0 0 462 $last_line and not $any_after
635 0 10874 31 $heredoc and $$heredoc
796 0 2 2 @child and not $child[-1]->isa("PPI::Statement")

or 2 conditions

line l !l condition
432 9 597 $Token->indentation || ''

or 3 conditions

line l !l&&r !l&&!r condition
171 2 503 0 $attr{'filename'} ||= $source
476 0 0 2 scalar @{$tokens[$_]{'_heredoc'};} or defined $tokens[$_]{'_terminator_line'}
672 11 0 2 $3 || $start->[4]
691 4 2 0 $3 || $file