Condition Coverage

blib/lib/XS/Install/ParseXS.pm
Criterion Covered Total %
condition 1 70 1.4


and 3 conditions

line !l l&&!r l&&r condition
125 0 0 0 $lines->[0] and $lines->[0] =~ /^([A-Z]+)\s*\{/
132 0 0 0 $lines->[0] and $lines->[0] =~ /^(.+?)\s+([^\s()]+\s*(\((?:[^()]|(?3))*\)))\s*(.*)/
138 0 0 0 $lines->[0] and $lines->[0] =~ s/^\s*\{//
158 0 0 0 $lines->[0] and $lines->[0] =~ /\S/
176 0 0 0 $attr eq 'ALIAS' and my @alias = split(/\s*,\s*/, $val, 0)
247 0 0 0 $first_arg && $first_arg->{'name'} eq 'THIS'
255 0 0 0 $func ne 'new' and $func ne 'DESTROY' || !$is_method
270 0 0 0 $para =~ /^CODE\s*:/m and not $para =~ /^OUTPUT\s*:/m
293 0 0 0 $func eq 'DESTROY' and $is_method
428 0 0 0 defined $self->{'argtype_seen'}{$var_name} and not $self->{'processing_arg_with_types'}
455 0 0 0 $self->{'in_out'}{$var_name} and $self->{'in_out'}{$var_name} =~ /^OUT/
0 0 0 $self->{'in_out'}{$var_name} and $self->{'in_out'}{$var_name} =~ /^OUT/ and not $var_init =~ /\S/

or 2 conditions

line l !l condition
369 0 1 $out //= ''
452 0 0 $typemap && $typemap->proto || '$'

or 3 conditions

line l !l&&r !l&&!r condition
65 0 0 0 $linno->[$idx] // $linno->[-1]
74 0 0 0 $linno->[$idx] // $linno->[-1]
160 0 0 0 $linno->[0] ||= $deflinno
211 0 0 0 not $out_type or $out_type =~ /^#/
0 0 0 not $out_type or $out_type =~ /^#/ or $out_type =~ /^[_A-Z]+\s*:([^:]|$)/
246 0 0 0 exists $attrs{'const'} or exists $attrs{'CONST'}
255 0 0 0 $func ne 'DESTROY' || !$is_method
428 0 0 0 $self->{'arg_list'}{$var_name}++ or defined $self->{'argtype_seen'}{$var_name} and not $self->{'processing_arg_with_types'}
450 0 0 0 $typemap or $is_overridden_typemap
455 0 0 0 $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/