Branch Coverage

src/panda/uri/URI.h
Criterion Covered Total %
branch 11 16 68.7


line true false branch
17 0 8 struct URIError : std::logic_error {
21 0 8 struct WrongScheme : URIError {
62 23 0 URI (const URI& s) { assign(s); }
250 0 0 virtual ~URI () {}
276 296 121 bool has_ok_qstr () const { return !_qrev || _qrev == _query.rev; }
290 6 bool has_ok_qstr () const { return !_qrev || _qrev == _query.rev; }
298 6 411 void sync_query_string () const { if (!has_ok_qstr()) compile_query(); }
299 8 43 void sync_query () const { if (!has_ok_query()) parse_query(); }