Branch Coverage

blib/lib/XS/Check.pm
Criterion Covered Total %
branch 27 40 67.5


line true false branch
30 0 19 unless (defined $pos)
44 0 19 unless $message
45 1 18 if (my $r = $o->{'reporter'}) { }
80 0 8 if ($o->{'verbose'})
83 5 3 if ($lvar_type and not $lvar_type =~ /\bconst\b/)
86 1 7 if ($arg2_type and not $arg2_type =~ /\bSTRLEN\b/)
89 5 3 unless ($svpv =~ /bytes?|utf8/)
115 0 1 if (not $equiv) { }
162 0 21 if ($o->{'verbose'})
165 0 21 if ($o->{'vars'}{$type})
183 0 16 if ($var =~ /->|\./)
188 1 15 unless ($type)
209 19 0 unless ($o->{'file'})
257 1 2 unless ($hash =~ /^(?: define| else| endif| error| ifdef| ifndef| if| include| line| undef| warning| ZZZZZZZZZZZ)(\s+|$)/x)
281 0 3 if ($hash =~ /(?:if|else|endif)\s+/)
300 1 0 unless ($later =~ /\+\s*1/)
317 2 16 if (my $r = $options{'reporter'})
318 1 1 if (ref $r ne 'CODE') { }
325 0 18 if (defined $options{'verbose'})
334 0 0 unless ($file)