Branch Coverage

blib/lib/Inline/Struct.pm
Criterion Covered Total %
branch 30 46 65.2


line true false branch
22 0 15 if $o->{'STRUCT'}{'.parser'}
23 0 15 unless $o->{'STRUCT'}{'.any'}
28 10 5 if $nstructs == 0
37 0 15 unless my $grammar = Inline::Struct::grammar::grammar()
56 10 5 if ($o->{'STRUCT'}{'.all'}) { }
57 0 10 unless $parser->{'data'}{'structs'}
65 0 21 unless (defined $parser->{'data'}{'struct'}{$struct})
66 0 0 if $^W
113 0 21 unless $maxi > 0
205 21 26 $i == 1 ? :
231 21 26 $i == $maxi ? :
236 21 26 $i == $maxi ? :
241 21 26 $i == $maxi ? :
260 4 43 $is_sv ? :
265 4 43 $is_sv ? :
272 4 43 $is_sv ? :
320 0 15 unless -d $o->{'API'}{'build_dir'}
323 0 15 unless open $fh, ">$fname"
348 0 282 unless $tkind
351 0 282 if $@
353 141 141 if $preproc
363 0 0 unless defined $o->{'STRUCT'}{'.parser'}
365 0 0 if (defined $o->{'STRUCT'}{'.bound'}) { }