Condition Coverage

lib/Test/HTTP/Router.pm
Criterion Covered Total %
condition 10 30 33.3


and 3 conditions

line !l l&&!r l&&r condition
39 0 4 0 (@_ == 3 || @_ == 2) && !ref($_[-1])
46 0 2 4 (@_ == 3 || @_ == 2) && !ref($_[-1])
53 7 51 0 (@_ == 4 || @_ == 3) && !ref($_[-1])
58 0 0 58 $match && (eq_deeply($match->params, $params) ? 1 : 0, $message || "valid params at @{[$req->path];}")
63 0 0 0 (@_ == 4 || @_ == 3) && !ref($_[-1])
68 0 0 0 $match && (eq_deeply($match->params, $params) ? 0 : 1, $message || "invalid params at @{[$req->path];}")

or 3 conditions

line l !l&&r !l&&!r condition
28 0 0 17 $message || "matched $path"
34 0 0 0 $message || "not matched $path"
41 0 0 4 $message || "matched @{[$req->path];} with conditions"
48 4 0 2 $message || "not matched @{[$req->path];} with conditions"