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
460 0 0 0 not /^\"/ and length $_ > 0
479 0 3 0 defined $command and $command =~ /\s/
3 0 0 defined $command and $command =~ /\s/ and not $command =~ /[$quote]/
684 4471 86 7 $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
712 1788 1420 1349 $self->{'lastline'} =~ /^\S/ and @{$self->{'line'};}
3208 479 870 $self->{'lastline'} =~ /^\S/ and @{$self->{'line'};} and $self->{'line'}[-1] eq ""
784 3425 0 4 $self->{'lastline'} =~ /\\$/ and defined($tmp_line = readline $self->{'in_fh'})
795 86 1577 1084 @{$self->{'line'};} and $self->{'line'}[-1] eq ""

or 2 conditions

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