Branch Coverage

xdr.yp
Criterion Covered Total %
branch 18 30 60.0


line true false branch
11 0 1 if ref $class
297 42 130 unless ($yydata->{'INPUT'})
302 0 42 if (@comments and not $yydata->{'INPUT'})
310 1 41 unless $yydata->{'INPUT'}
312 0 41 if ($yydata->{'INPUT'} =~ s/^(%.*)//)
319 0 41 if ($yydata->{'INPUT'} =~ s/^(#.*)//)
330 41 130 unless $yydata->{'INPUT'}
333 0 130 if ($yydata->{'INPUT'} =~ s[^/\*][]) { }
30 100 elsif ($yydata->{'INPUT'} =~ s/^(const|typedef|enum|union|struct|switch|case|default|unsigned|int|char|short|long|hyper|float|string|double|quadruple|bool|opaque|void)\b(?!_)//) { }
35 65 elsif ($yydata->{'INPUT'} =~ s/^([a-z][a-z0-9_]*)//i) { }
7 58 elsif ($yydata->{'INPUT'} =~ s/^(-?\d+|0x[0-9a-f]+)(?=\b|$)//i) { }
58 0 elsif ($yydata->{'INPUT'} =~ s/^(.)//) { }
337 0 0 if ($yydata->{'INPUT'} =~ s[(.*?)\*/][])
346 0 0 unless $yydata->{'INPUT'}
390 0 0 $tok ? :