Condition Coverage

blib/lib/PPI/Document.pm
Criterion Covered Total %
condition 18 29 62.0


and 3 conditions

line !l l&&!r l&&r condition
488 276852 963 443 $heredoc ne "" and $content =~ /\n/
566 0 0 459 $last_line and not $any_after
724 0 11117 31 $heredoc and $$heredoc
885 0 2 2 @child and not $child[-1]->isa("PPI::Statement")

or 2 conditions

line l !l condition
514 9 622 $Token->indentation || ''

or 3 conditions

line l !l&&r !l&&!r condition
212 2 515 0 $attr{'filename'} ||= $source
558 0 0 2 scalar @{$tokens[$_]{'_heredoc'};} or defined $tokens[$_]{'_terminator_line'}
693 0 3 0 $self->SUPER::location || $self->_default_location
761 11 0 2 $3 || $start->[4]
780 4 2 0 $3 || $file