Condition Coverage

blib/lib/Clustericious/RouteBuilder.pm
Criterion Covered Total %
condition 22 41 53.6


and 3 conditions

line !l l&&!r l&&r condition
51 36 9 0 not ref $arg and @args
143 0 49 5 not ref $methods and $methods eq 'authenticate'
153 0 45 4 not ref $methods and $methods eq 'authorize'
181 0 45 0 not ref $methods and $methods eq 'ladder'
183 0 0 0 $constraints and @$constraints
193 0 43 2 not ref $methods and $methods eq 'websocket'

or 2 conditions

line l !l condition
95 36 10 $cb ||= sub { 1; }
96 0 46 $constraints ||= []
99 0 46 $defaults ||= {}
103 9 37 $name ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
51 36 9 38 ref $arg || $pattern
131 21 0 0 $routes{ref $app} // do { WARN("no routes stashed for $app"); [] }
145 0 5 0 $pattern || ref $app
166 0 10 0 $d_resource ||= $c->req->url->path
168 0 10 0 $d_action ||= $c->req->method