Condition Coverage

File:lib/ExtUtils/OOParseXS.pm
Coverage:44.6%

line%coveragecondition
10450
Adec
00
11
shift @_ || undef
44067
ABdec
0X0
100
111
$rvref = $self->fetch_para and $$rvref[0] == 0
446100
ABdec
0X0
100
111
@{$$self{'line'};} and $$self{'line'}[0] =~ /^(?:#|$)/
4790
ABdec
0X0
100
111
--$$self{'XSS_work_idx'} and $$self{'XSStack'}[$$self{'XSS_work_idx'}]{'type'} ne 'if'
489100
ABdec
0X0
100
111
$$self{'XSS_work_idx'} and not $$self{'XSStack'}[$$self{'XSS_work_idx'}]{'varname'}
53667
ABdec
0X0
100
111
($kwd, $thisline) = $self->check_keyword($thisline, 'REQUIRE|PROTOTYPES|FALLBACK|VERSIONCHECK|INCLUDE') and $kwd
54767
ABdec
0X0
100
111
($kwd, $thisline) = $self->check_keyword($thisline, 'BOOT') and $kwd
55133
ABdec
0X0
100
111
$$self{'linenumbers'} and not $$self{'line'}[0] =~ /^\s*#\s*line\b/
56633
ABdec
0X0
100
111
$$self{'argtypes'} and $$self{'ret_type'} =~ s/^(.*?\w.*?)\s*\b(\w+\s*\(.*)/$1/s
61967
ABdec
0X0
100
111
$$self{'argtypes'} and $orig_args =~ /\S/
631100
ABdec
0X0
100
111
defined $pre and length $pre
63533
ABdec
0X0
100
111
$$self{'inout'} and s/^(IN|IN_OUTLIST|OUTLIST|OUT|IN_OUT)\s+//
64833
ABdec
000
011
1X1
length $pre or $islength
65967
ABdec
000
011
1X1
$out_type eq 'OUTLIST' or $islength
6740
ABdec
0X0
100
111
$$self{'inout'} and $thisarg =~ s/^(IN|IN_OUTLIST|OUTLIST|IN_OUT|OUT)\s+//
6880
ABdec
000
011
1X1
defined $static || $$self{'func_name'} eq 'new'
69933
ABdec
0X0
100
111
$args[$i] eq '' and $i == $#args
73767
ABdec
0X0
100
111
$CODE && "@{$$self{'line'};}" =~ /(\bST\s*\([^;]*=) | (\bXST_m\w+\s*\()/x
81767
ABdec
0X0
100
111
($kwd, $thisline) = $self->check_keyword($thisline, 'CASE') and $kwd
101267
ABdec
0X0
100
111
not $thisline =~ /\S/ and @{$$self{'line'};}
1016100
Adec
00
11
$2 || 0
115233
ABdec
0X0
100
111
$$self{'condnum'} and $$self{'cond'} eq ''
12050
ABCdec
00X0
0100
0111
1XX1
$$self{'arg_list'}{$var_name}++ or defined $$self{'argtype_seen'}{$var_name} and not $$self{'processing_arg_with_types'}
12340
ABCDdec
00XX0
010X0
01100
01111
1XXX1
$var_init =~ /^[=;]\s*NO_INIT\s*;?\s*$/ or $$self{'in_out'}{$var_name} and $$self{'in_out'}{$var_name} =~ /^OUT/ and not $var_init =~ /\S/
12680
ABdec
0X0
100
111
$varname and $type =~ / \( \s* \* (?= \s* \) ) /gx
138167
ABdec
0X0
100
111
not defined $$self{'lastline'} and $$self{'XSStack'}[-1]{'type'} eq 'if'
142233
ABdec
0X0
100
111
$isPipe and $?
1472100
ABdec
000
011
1X1
not $$self{'lastline'} =~ /^\s*#/ or $$self{'lastline'} =~ /^#[ \t]*(?:(?:if|ifn?def|elif|else|endif|define|undef|pragma|error|warning|line\s+\d+|ident)\b|(?:include(?:_next)?|import)\s*["<].*[>"])/
1474100
ABCdec
0XX0
10X0
1100
1111
$$self{'lastline'} =~ /^\S/ and @line and $line[-1] eq ''
148533
ABdec
0X0
100
111
$$self{'lastline'} =~ /\\$/ and defined($tmp_line = <$IN>)
1610100
ABdec
0X0
100
111
@{$line_ref;} and $$line_ref[-1] eq ''
16430
ABdec
0X0
100
111
$tk eq 'T_PV' and exists $$self{'lengthof'}{$$self{'var'}}
16860
ABdec
000
011
1X1
$$self{'ScopeThisXSUB'} or not $$self{'expr'} =~ /^\s*\$self->{var} =/
17410
ABdec
0X0
100
111
$init =~ s/^\+// and $$self{'var_num'}