Branch Coverage

blib/lib/XRI/Parse.pm
Criterion Covered Total %
branch 31 32 96.8


line true false branch
44 1 14 if ($subseg =~ /^\(/) { }
62 2 1 if (defined $$this{'authority'}) { }
88 8 23 if (defined $$this{'token'}) { }
93 13 10 if ($token = $this->nextToken) { }
103 11 10 if $token
116 2 6 if $xref =~ /^\(\!/
132 2 21 if ($xref = $this->getCrossReference($xri))
136 9 12 if ($$this{'remainder'} =~ m[^\/\/(.*)$])
141 4 8 if ($$this{'remainder'} =~ /^([\@\=\*])(.*)$/)
143 0 4 $rem =~ m[^[\/\*\:]] ? :
167 15 146 if (not defined $$this{'remainder'} and $auth = $this->getAuthority)
170 4 142 if $xref = $this->getCrossReference($$this{'remainder'})
172 57 85 if ($$this{'remainder'} =~ m[^([\/\*\:])(.*)$])
174 30 27 if ($sep eq '/')
175 1 29 if ($rem =~ /^([\*\:])(.*)$/) { }
186 55 30 if ($$this{'remainder'} =~ m[^([^\/\*\:]+)(.*)$])