blib/lib/Dancer/Serializer/Mutable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 20 | 80.0 |
line | true | false | branch |
---|---|---|---|
34 | 1 | 1 | if ($content_type =~ qr"text/html") |
46 | 17 | 0 | if ($request) |
56 | 17 | 0 | if ($method =~ /^(?:POST|PUT|GET|DELETE)$/) |
58 | 8 | 9 | if $request->{'content_type'} |
61 | 1 | 16 | if $params and $params->{'content_type'} |
75 | 4 | 7 | if $request->{'accept'} |
78 | 1 | 10 | if $request->{'accept_type'} |
125 | 10 | 0 | if (exists $serializer->{$ct}) |
127 | 4 | 6 | unless (exists $loaded_serializer->{$module}) |
128 | 4 | 0 | if ("Dancer::ModuleLoader"->load($module)) |