Branch Coverage

signatures.xs
Criterion Covered Total %
branch 67 100 67.0


line true false branch
35 0 18 PUSHMARK (SP);
36 0 18 EXTEND (SP, 3);
44 18 0 FREETMPS;
52 16 1 if (strstr (s, ":") == NULL) {
70 270 0 key = SvPV (tmp, len);
72 0 270 if (!hints) {
79 264 6 if (!sv || !*sv) {
0 264 if (!sv || !*sv) {
83 0 264 return SvOK (*sv);
0 0 return SvOK (*sv);
0 0 return SvOK (*sv);
95 131 267 if (strNE (ud->f_class, SvPVX (PL_curstname))) {
99 6 261 if (!enabled (ud->class)) {
103 0 261 if (!PL_parser) {
107 0 261 if (!PL_lex_stuff) {
230 31 if (!PL_lex_stuff) {
113 0 31 if (!SvPOK (op_sv)) {
118 0 31 s = PL_oldbufptr;
121 12 19 if (strnNE (s, "sub", 3)) {
125 0 19 if (!isSPACE (s[3])) {
131 17 2 if (strNE (SvPVX (PL_subname), "?")) {
132 0 17 (void)hook_toke_scan_word (aTHX_ (s - SvPVX (PL_linestr)), 1, tmpbuf, sizeof (tmpbuf), &retlen);
134 0 17 if (retlen < 1) {
140 0 17 if (!sv_eq (PL_subname, name)) {
150 0 19 if (s[0] != '(') {
155 0 19 PL_lex_stuff = NULL;
161 19 0 if (s == tmp || !tmp2) {
0 19 if (s == tmp || !tmp2) {
170 155 19 while (tmp > s + 1) {
171 11 144 if (isSPACE (s[0])) {
176 11 133 if (isSPACE (tmp2[0])) {
181 0 133 if (*tmp2 != *s) {
192 5 14 if (s[0] == ':') {
194 7 4 while (s[0] != '{') {
198 0 7 (void)hook_toke_scan_word (aTHX_ (s - SvPVX (PL_linestr)), 0, tmpbuf, sizeof (tmpbuf), &retlen);
200 0 7 if (retlen < 1) {
205 4 3 if (s[0] == '(') {
210 0 4 if (s == tmp) {
216 3 1 if (strEQ (tmpbuf, "proto")) {
217 31 3 while (attr_start < tmp) {
227 1 2 else if (strEQ (tmpbuf, "proto")) {
233 0 6 if (s[0] == ':') {
239 0 18 if (s[0] != '{') {
246 15 3 if (!ret) {
260 0 1942 if (SvLEN (PL_linestr) < 16384)
185 1757 if (SvLEN (PL_linestr) < 16384)
272 3 0 if (PL_op->op_private & OPpEVAL_HAS_HH) {
284 3 0 if (SvPOK (sv)) {
300 3 0 if (enabled (ud->class)) {
343 14 2 if (ud) {