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 263521 974 416 $heredoc ne "" and $content =~ /\n/
484 0 0 459 $last_line and not $any_after
635 0 10871 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 594 $Token->indentation || ''

or 3 conditions

line l !l&&r !l&&!r condition
171 2 497 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