| blib/lib/Spike/Site/Router/Route.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 16 | 37 | 43.2 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 14 | 1 | 27 | 0 | defined $path and length $path | 
| 16 | 1 | 19 | 0 | $path =~ s[^/*([^/]+)][] && $1 | 
| 20 | 3 | 0 | 3 | $first =~ /^#/ && @_ && ref $_[0] && shift() | 
| 83 | 0 | 132 | 0 | defined $path and length $path | 
| 85 | 0 | 123 | 0 | $path =~ s[^/*([^/]+)][] && $1 | 
| 101 | 0 | 0 | 0 | defined $_[0] and not ref $_[0] | 
| 134 | 0 | 0 | 0 | defined $_[0] and not ref $_[0] | 
| line | l | !l | condition | 
|---|---|---|---|
| 120 | 0 | 0 | $self->{'method'} ||= {} | 
| 153 | 0 | 0 | $self->{'error'} ||= {} | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 24 | 0 | 5 | 0 | $_->rule || $fake_rule | 
| 0 | 5 | 0 | $rule || $fake_rule | |
| 68 | 6 | 27 | 12 | not $rule or $self->_check_rule($rule, $part) | 
| 77 | 9 | 20 | 2 | $ordered[0][0] || $ordered[1][0] || $ordered[2][0] || () |