line | % | coverage | condition |
183 | 100 | | /^$/ or /^#/ |
383 | 67 | | @line and not $line[0] =~ /^[^\#]/ |
408 | 0 | | --$XSS_work_idx and $XSStack[$XSS_work_idx]{'type'} ne 'if' |
419 | 33 | | $XSS_work_idx and not $XSStack[$XSS_work_idx]{'varname'} |
467 | 0 | | $WantLineNumbers and not $line[0] =~ /^\s*#\s*line\b/ |
479 | 33 | | $process_argtypes and $ret_type =~ s/^(.*?\w.*?)\s*\b(\w+\s*\(.*)/$1/s |
519 | 67 | | $process_argtypes and $orig_args =~ /\S/ |
530 | 100 | | defined $pre and length $pre |
533 | 33 | | $process_inout and s/^(IN|IN_OUTLIST|OUTLIST|OUT|IN_OUT)\s+// |
546 | 33 | | length $pre or $islength |
557 | 33 | | $out_type eq 'OUTLIST' or $islength |
570 | 0 | | $process_inout and s/^(IN|IN_OUTLIST|OUTLIST|IN_OUT|OUT)\s+// |
581 | 67 | | defined $static || $func_name eq 'new' |
592 | 33 | | $args[$i] eq '' and $i == $#args |
629 | 67 | | $CODE && "@line" =~ /(\bST\s*\([^;]*=) | (\bXST_m\w+\s*\()/x |
726 | 67 | | not $thisdone and defined $class |
727 | 67 | | defined $static or $func_name eq 'new' |
750 | 67 | | $WantOptimize and $targetable{$type_kind{$ret_type}} |
754 | 67 | | @fake_INPUT or @fake_INPUT_pre |
764 | 100 | | defined $class and $func_name eq 'DESTROY' |
818 | 100 | | $gotRETVAL or $wantRETVAL |
| 67 | | $gotRETVAL and $RETVAL_code |
822 | 67 | | $WantOptimize && $targetable{$type_kind{$ret_type}} |
827 | 75 | | $t and not $$t[1] and $$t[0] eq 'p' |
855 | 33 | | $c and not $prepush_done |
866 | 33 | | $ScopeThisXSUB and not $PPCODE |
1039 | 67 | | defined $XsubAliases or defined $Interfaces |
1059 | 67 | | defined $XsubAliases or defined $Interfaces |
1137 | 67 | | not /\S/ and @line |
1143 | 33 | | not /\S/ and @line |
1145 | 25 | | $WantLineNumbers and not /^\s*#\s*line\b/ and not /^#if XSubPPtmp/ |
1147 | 67 | | defined $_ and not /^$BLOCK_re/o |
1156 | 67 | | not /\S/ and @line |
1160 | 67 | | defined $_ and not /^$BLOCK_re/o |
1177 | 0 | | $condnum and $cond eq '' |
1214 | 50 | | $arg_list{$var_name}++ or defined $argtype_seen{$var_name} and not $processing_arg_with_types |
1239 | 20 | A | B | C | D | dec |
---|
0 | 0 | X | X | 0 | 0 | 1 | 0 | X | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | X | X | X | 1 |
| $var_init =~ /^[=;]\s*NO_INIT\s*;?\s*$/ or $in_out{$var_name} and $in_out{$var_name} =~ /^OUT/ and not $var_init =~ /\S/ |
1273 | 33 | | not $gotRETVAL and $outarg eq 'RETVAL' |
1291 | 0 | | exists $in_out{$outarg} and $in_out{$outarg} =~ /OUT$/ |
1593 | 0 | | $isPipe and $? |
1665 | 67 | | not defined $lastline and $XSStack[-1]{'type'} eq 'if' |
1695 | 33 | | not $lastline =~ /^\s*#/ or $lastline =~ /^#[ \t]*(?:(?:if|ifn?def|elif|else|endif|define|undef|pragma|error|warning|line\s+\d+|ident)\b|(?:include(?:_next)?|import)\s*["<].*[>"])/ |
1703 | 100 | | $lastline =~ /^\S/ and @line and $line[-1] eq '' |
1712 | 33 | | $lastline =~ /\\$/ and defined($tmp_line = <$FH>) |
1718 | 100 | | @line and $line[-1] eq '' |
1738 | 0 | | $init =~ s/^\+// and $num |
1787 | 67 | | $tk eq 'T_PV' and exists $lengthof{$var} |
1815 | 67 | | $ScopeThisXSUB or not $expr =~ /^\s*\$var =/ |
1938 | 33 | | $varname and $type =~ / \( \s* \* (?= \s* \) ) /gx |