Branch Coverage

src/panda/uri/parser.rl
Criterion Covered Total %
branch 53 122 43.4


line true false branch
15 0 0 acc *= 10;
28 149 acc *= 10;
0 1 acc *= 10;
0 0 acc *= 10;
22 351 acc *= 10;
0 1 acc *= 10;
14 419 acc *= 10;
0 9 acc *= 10;
2 123 acc *= 10;
51 542 acc *= 10;
3 48 acc *= 10;
0 10 acc *= 10;
4 549 acc *= 10;
19 123 0 action scheme { SAVE(_scheme); }
20 0 0 action host { SAVE(_host); }
4 0 action host { SAVE(_host); }
0 0 action host { SAVE(_host); }
30 0 action host { SAVE(_host); }
0 0 action host { SAVE(_host); }
5 0 action host { SAVE(_host); }
0 0 action host { SAVE(_host); }
15 0 action host { SAVE(_host); }
7 40 action host { SAVE(_host); }
0 0 action host { SAVE(_host); }
7 0 action host { SAVE(_host); }
0 35 action host { SAVE(_host); }
0 0 action host { SAVE(_host); }
57 0 action host { SAVE(_host); }
22 11 0 action userinfo { SAVE(_user_info); }
0 0 action userinfo { SAVE(_user_info); }
2 121 action userinfo { SAVE(_user_info); }
23 0 0 action path { SAVE(_path); }
0 0 action path { SAVE(_path); }
4 0 action path { SAVE(_path); }
0 0 action path { SAVE(_path); }
35 0 action path { SAVE(_path); }
0 0 action path { SAVE(_path); }
5 0 action path { SAVE(_path); }
0 0 action path { SAVE(_path); }
28 0 action path { SAVE(_path); }
0 0 action path { SAVE(_path); }
57 0 action path { SAVE(_path); }
7 0 action path { SAVE(_path); }
24 0 0 action query { SAVE(_qstr); }
26 0 action query { SAVE(_qstr); }
14 0 action query { SAVE(_qstr); }
0 0 action query { SAVE(_qstr); }
25 0 11 action fragment { SAVE(_fragment); }
28 0 action fragment { SAVE(_fragment); }
0 0 action fragment { SAVE(_fragment); }
26 0 30
0 40
30 0 0 gen_delim = ":" | "/" | "?" | "#" | "[" | "]" | "@";
0 0 gen_delim = ":" | "/" | "?" | "#" | "[" | "]" | "@";
0 0 gen_delim = ":" | "/" | "?" | "#" | "[" | "]" | "@";
111 7 138 if (cs < uri_parser_first_final) {
116 0 138 if (authority_has_pct) {
121 39 99 if (_qstr) ok_qstr();
122 9 129 if (_flags & Flags::allow_suffix_reference && !_host.length()) guess_suffix_reference();
9 0 if (_flags & Flags::allow_suffix_reference && !_host.length()) guess_suffix_reference();
9 129 if (_flags & Flags::allow_suffix_reference && !_host.length()) guess_suffix_reference();