Branch Coverage

blib/lib/OX/RouteBuilder/REST.pm
Criterion Covered Total %
branch 9 14 64.2


line true false branch
38 0 6 unless $s
46 4 2 if ($component->can($action)) { }
1 1 elsif ($method eq 'HEAD' and $component->can($a . '_GET')) { }
52 1 0 if (ref $res eq 'ARRAY') { }
0 0 elsif (&blessed($res) and $res->can('content')) { }
79 0 4 if ref $action_spec
80 2 2 unless $action_spec =~ /^REST\.(\w+)\.(\w+)$/