xs/ServerParser.xsi

filter: Statementstmt 0.0% 0 / 11 Branchbran 0.0% 0 / 42 Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a totaltotal 0.0% 0 / 53 CC 0 SCAR 0
CC
0
Cov
0%
CRAP 0
« xs/Parser.xsi ↑ Summary xs/main.xs »
1 MODULE = Protocol::WebSocket::Fast PACKAGE = Protocol::WebSocket::Fast::ServerParser
2 PROTOTYPES: DISABLE
3  
4 BOOT {
5 0 ▶ Stash(__PACKAGE__).inherit("Protocol::WebSocket::Fast::Parser");
Branch: 2 branches
BranchTrueFalseTotal
Stash(__PACKAGE__).inherit("Protocol::WebSocket::Fast::Parser"); 0 0 0
Stash(__PACKAGE__).inherit("Protocol::WebSocket::Fast::Parser"); 0 0 0
6 }
7  
8 0 ServerParser* ServerParser::new (Parser::Config cfg = {})
9 0 ▶ 
Branch: 1 branch
BranchTrueFalseTotal
0 0 0
10 0 ▶bool ServerParser::accept_parsed ()
Branch: 5 branches
BranchTrueFalseTotal
bool ServerParser::accept_parsed () 0 0 0
bool ServerParser::accept_parsed () 0 0 0
bool ServerParser::accept_parsed () 0 0 0
bool ServerParser::accept_parsed () 0 0 0
bool ServerParser::accept_parsed () 0 0 0
11  
12 0 ▶bool ServerParser::accepted ()
Branch: 1 branch
BranchTrueFalseTotal
bool ServerParser::accepted () 0 0 0
13  
14 ConnectRequestSP ServerParser::accept (string buf) {
15 0 RETVAL = THIS->accept(buf);
16 0 ▶}
Branch: 2 branches
BranchTrueFalseTotal
} 0 0 0
} 0 0 0
17  
18 string ServerParser::accept_error (panda::protocol::http::ResponseSP res = nullptr) {
19 0 ▶ if (!res) RETVAL = THIS->accept_error();
Branch: 3 branches
BranchTrueFalseTotal
if (!res) RETVAL = THIS->accept_error(); 0 0 0
if (!res) RETVAL = THIS->accept_error(); 0 0 0
if (!res) RETVAL = THIS->accept_error(); 0 0 0
20 0 ▶ else RETVAL = THIS->accept_error(res);
Branch: 2 branches
BranchTrueFalseTotal
else RETVAL = THIS->accept_error(res); 0 0 0
else RETVAL = THIS->accept_error(res); 0 0 0
21 }
22  
23 string ServerParser::accept_response (ConnectResponseSP res = nullptr) {
24 0 ▶ if (!res) RETVAL = THIS->accept_response();
Branch: 3 branches
BranchTrueFalseTotal
if (!res) RETVAL = THIS->accept_response(); 0 0 0
if (!res) RETVAL = THIS->accept_response(); 0 0 0
if (!res) RETVAL = THIS->accept_response(); 0 0 0
25 0 ▶ else RETVAL = THIS->accept_response(res);
Branch: 2 branches
BranchTrueFalseTotal
else RETVAL = THIS->accept_response(res); 0 0 0
else RETVAL = THIS->accept_response(res); 0 0 0
26 }
« xs/Parser.xsi ↑ Summary xs/main.xs »