Branch Coverage

src/panda/uri/Strict.h
Criterion Covered Total %
branch 79 236 33.4


line true false branch
6 0 36 struct URIStrict : URI {
12 0 2 struct URI::Strict : URIStrict {
0 2 struct URI::Strict : URIStrict {
0 2 struct URI::Strict : URIStrict {
0 2 struct URI::Strict : URIStrict {
0 3 struct URI::Strict : URIStrict {
0 2 struct URI::Strict : URIStrict {
0 2 struct URI::Strict : URIStrict {
0 3 struct URI::Strict : URIStrict {
0 17 struct URI::Strict : URIStrict {
15 1 0 Strict (const URI& source) : URIStrict(source) { strict_scheme(); }
1 0 Strict (const URI& source) : URIStrict(source) { strict_scheme(); }
1 0 Strict (const URI& source) : URIStrict(source) { strict_scheme(); }
1 0 Strict (const URI& source) : URIStrict(source) { strict_scheme(); }
1 0 Strict (const URI& source) : URIStrict(source) { strict_scheme(); }
1 0 Strict (const URI& source) : URIStrict(source) { strict_scheme(); }
1 0 Strict (const URI& source) : URIStrict(source) { strict_scheme(); }
1 0 Strict (const URI& source) : URIStrict(source) { strict_scheme(); }
11 0 Strict (const URI& source) : URIStrict(source) { strict_scheme(); }
36 0 2 if (!_scheme.length()) {
0 2 if (!_scheme.length()) {
0 2 if (!_scheme.length()) {
0 2 if (!_scheme.length()) {
1 2 if (!_scheme.length()) {
0 3 if (!_scheme.length()) {
0 3 if (!_scheme.length()) {
1 3 if (!_scheme.length()) {
1 27 if (!_scheme.length()) {
37 0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
1 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
1 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
0 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
1 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
1 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
1 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
1 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
39 2 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 2 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
2 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 2 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
2 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 2 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
2 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 2 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
2 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 2 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
3 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
1 2 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
1 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
3 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
1 2 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
0 1 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
3 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
1 2 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
1 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
27 0 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
11 16 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
6 5 else if (!scheme_info || (scheme_info->type_info != &typeid(TYPE1) && scheme_info->type_info != &typeid(TYPE2))) {
40 0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
0 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
1 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
6 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
6 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
6 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
6 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
6 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());