Branch Coverage

/root/.cpan/build/URI-XS-2.1.2-0/clib/src/panda/uri/Strict.h
Criterion Covered Total %
branch 92 254 36.2


line true false branch
6 0 137 struct URIStrict : URI {
12 0 12 struct URI::Strict : URIStrict {
0 12 struct URI::Strict : URIStrict {
0 12 struct URI::Strict : URIStrict {
0 12 struct URI::Strict : URIStrict {
0 15 struct URI::Strict : URIStrict {
0 12 struct URI::Strict : URIStrict {
0 12 struct URI::Strict : URIStrict {
0 14 struct URI::Strict : URIStrict {
0 33 struct URI::Strict : URIStrict {
14 10 0 Strict (const string& source, int flags = 0) : URIStrict(source, flags) { strict_scheme(); }
10 0 Strict (const string& source, int flags = 0) : URIStrict(source, flags) { strict_scheme(); }
10 0 Strict (const string& source, int flags = 0) : URIStrict(source, flags) { strict_scheme(); }
10 0 Strict (const string& source, int flags = 0) : URIStrict(source, flags) { strict_scheme(); }
13 0 Strict (const string& source, int flags = 0) : URIStrict(source, flags) { strict_scheme(); }
10 0 Strict (const string& source, int flags = 0) : URIStrict(source, flags) { strict_scheme(); }
10 0 Strict (const string& source, int flags = 0) : URIStrict(source, flags) { strict_scheme(); }
12 0 Strict (const string& source, int flags = 0) : URIStrict(source, flags) { strict_scheme(); }
18 2 Strict (const string& source, int flags = 0) : URIStrict(source, flags) { strict_scheme(); }
36 0 12 if (!_scheme.length()) {
0 12 if (!_scheme.length()) {
0 12 if (!_scheme.length()) {
0 12 if (!_scheme.length()) {
2 13 if (!_scheme.length()) {
0 14 if (!_scheme.length()) {
0 14 if (!_scheme.length()) {
2 14 if (!_scheme.length()) {
2 51 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());
2 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
2 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());
2 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
2 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
2 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
2 0 if (_host.length()) URI::scheme(TYPE1::default_scheme());
39 12 0 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
0 12 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))) {
0 12 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
12 0 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
0 12 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))) {
0 12 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
12 0 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
0 12 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))) {
0 12 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
12 0 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
0 12 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))) {
0 12 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
13 0 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
0 13 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))) {
0 13 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
14 0 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
2 12 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))) {
2 12 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
14 0 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
2 12 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 14 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
14 0 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
2 12 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))) {
2 12 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
51 0 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
17 34 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
10 7 else if (!scheme_info || (*(scheme_info->type_info) != typeid(TYPE1) && *(scheme_info->type_info) != typeid(TYPE2))) {
10 41 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());
2 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
2 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
2 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
2 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
2 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());
2 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
2 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
2 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
2 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
2 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
10 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
10 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
10 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
10 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());
10 0 throw WrongScheme("URI: wrong scheme '" + _scheme + "' for " + typeid(TYPE1).name());