Branch Coverage

File:lib/OpenAPI/Dispatcher.pm
Coverage:77.8%

line%coveragebranch
5550TFif ($@)
7050TFif $url_prefix
7350TFif ($InitFatal)
81100TFif ($@)
9450TFif (not @bits)
10450TFif ($fst ne '=')
11050TFif (not $http_meth)
120100TFif ($cookies)
122100TFif ($cookie)
127100TFif ($cookie)
132100TFif ($cookie = $$cookies{'last_response'})
137100TFif ($http_meth eq 'GET' and @bits >= 2 and $bits[0] eq 'last' and $bits[1] eq 'response')
144100TFif ($bits[0] and not $bits[0] =~ /^(?:login|captcha|version)$/)
148100TFif (defined $user) { }
163100TFif ($session)
16650TFif ($user)
175100TFif (not $account)
17850TFif (not $openapi->has_user($account))
18550TFif (not $openapi->has_role($role))
191100TFif ($@)
198100TFif ($bits[0] and not $bits[0] =~ /^(?:login|captcha|version)$/) { }
200100TFif (not $res)
20850TFif ($category) { }
21150TFif (not defined $object)
21750TFif (not $openapi->can($meth))
224100TFif ($bits[0] eq 'model')
230100TFif ($@)