Condition Coverage

blib/lib/ExtUtils/ParseXS.pm
Criterion Covered Total %
condition 18 28 64.2


and 3 conditions

line !l l&&!r l&&r condition
459 0 0 0 not /^\"/ and length $_ > 0
478 0 1 0 defined $command and $command =~ /\s/
1 0 0 defined $command and $command =~ /\s/ and not $command =~ /[$quote]/
683 3556 90 3 $self->{'lastline'} =~ /^\s*#/ and not $self->{'lastline'} =~ /^\#[ \t]* (?: (?:if|ifn?def|elif|else|endif|elifn?def| define|undef|pragma|error| warning|line\s+\d+|ident) \b | (?:include(?:_next)?|import) \s* ["<] .* [>"] ) /x
711 1538 1061 1047 $self->{'lastline'} =~ /^\S/ and @{$self->{'line'};}
2599 407 640 $self->{'lastline'} =~ /^\S/ and @{$self->{'line'};} and $self->{'line'}[-1] eq ""
783 2838 0 4 $self->{'lastline'} =~ /\\$/ and defined($tmp_line = readline $self->{'in_fh'})
794 78 1197 821 @{$self->{'line'};} and $self->{'line'}[-1] eq ""

or 2 conditions

line l !l condition
417 1 0 $_[0]{'error_count'} || 0
420 0 1 $ExtUtils::ParseXS::Singleton->{'error_count'} || 0