Branch Coverage

src/yuarel.c
Criterion Covered Total %
branch 0 72 0.0


line true false branch
39 0 0 for (i = 0; i < len; i++) {
74 0 0 if (s == NULL || s == str) {
0 0 if (s == NULL || s == str) {
79 0 0 if (s[1] == '\0' || s[1] != '/' || s[2] == '\0' || s[2] != '/') {
0 0 if (s[1] == '\0' || s[1] != '/' || s[2] == '\0' || s[2] != '/') {
0 0 if (s[1] == '\0' || s[1] != '/' || s[2] == '\0' || s[2] != '/') {
0 0 if (s[1] == '\0' || s[1] != '/' || s[2] == '\0' || s[2] != '/') {
102 0 0 if (NULL == str) {
142 0 0 if (NULL == url || NULL == u) {
0 0 if (NULL == url || NULL == u) {
155 0 0 if (!is_relative(u)) {
159 0 0 if (u == NULL) {
164 0 0 if ('\0' == *u) {
174 0 0 if (NULL != u) {
176 0 0 if (u == url->host) {
185 0 0 if (NULL == u) {
194 0 0 if ('\0' == *url->host) {
200 0 0 if (NULL != u && (NULL == url->path || u < url->path)) {
0 0 if (NULL != u && (NULL == url->path || u < url->path)) {
0 0 if (NULL != u && (NULL == url->path || u < url->path)) {
202 0 0 if ('\0' == *u) {
206 0 0 if (url->path) {
214 0 0 if ('\0' == *url->host) {
241 0 0 if (NULL == path || '\0' == *path) {
0 0 if (NULL == path || '\0' == *path) {
247 0 0 while (*path == '/') path++;
249 0 0 if ('\0' == *path) {
256 0 0 if (NULL == path) {
261 0 0 } while (i < max_parts);
271 0 0 if (NULL == query || '\0' == *query) {
0 0 if (NULL == query || '\0' == *query) {
276 0 0 while (i < max_params && NULL != (query = strchr(query, delimiter))) {
0 0 while (i < max_params && NULL != (query = strchr(query, delimiter))) {
282 0 0 if (i > 0) {
283 0 0 if ((params[i - 1].val = strchr(params[i - 1].key, '=')) != NULL) {
291 0 0 if ((params[i - 1].val = strchr(params[i - 1].key, '=')) != NULL) {