Branch Coverage

blib/lib/Mo/utils/URI.pm
Criterion Covered Total %
branch 21 22 95.4


line true false branch
20 2 8 if _check_key($self, $key)
24 0 3 unless ($uri->can("scheme") and $uri->can("host") and $uri->scheme and $uri->host)
25 2 3 unless ($uri->can("path_segments") and $uri->path_segments)
26 1 1 unless ($uri->can("query") and $uri->query)
40 2 13 if _check_key($self, $key)
43 2 11 unless (is_uri($value))
55 2 10 if _check_key($self, $key)
59 1 5 unless ($uri->can("scheme") and $uri->can("host") and $uri->scheme and $uri->host)
71 2 8 if _check_key($self, $key)
75 2 4 unless ($uri->can("nid") and $uri->can("nss") and $uri->nid and $uri->nss)
87 8 39 unless (exists $self->{$key} and defined $self->{$key})