Branch Coverage

xsi/ConnectRequest.xsi
Criterion Covered Total %
branch 11 42 26.1


line true false branch
5 18 0 Stash(__PACKAGE__).inherit("Protocol::HTTP::Request");
18 0 Stash(__PACKAGE__).inherit("Protocol::HTTP::Request");
10 83 0 make_request(params, RETVAL);
11 83 0 }
83 0 }
12 83 0
14 0 2 if (newval) {
15 0 0 THIS->ws_key = xs::in(newval);
0 0 THIS->ws_key = xs::in(newval);
18 2 0 RETVAL = THIS->ws_key;
22 0 3 if (newval) {
23 0 0 THIS->ws_version = SvIV(newval);
0 0 THIS->ws_version = SvIV(newval);
30 0 0 if (exts_av) {
32 0 0 av_to_header_values(exts_av, &exts);
33 0 0 THIS->ws_extensions(exts);
37 0 0 RETVAL = header_values_to_av(THIS->ws_extensions());
41 0 2 if (newval) {
42 0 0 THIS->ws_protocol = xs::in(newval);
0 0 THIS->ws_protocol = xs::in(newval);
45 2 0 RETVAL = THIS->ws_protocol;