| lib/Dancer/Plugin/Swagger.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 19 | 47.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 192 | 1 | 6 | 1 | @_ and not ref $_[0] |
| line | l | !l | condition |
|---|---|---|---|
| 200 | 6 | 2 | shift @_ || {} |
| 278 | 0 | 1 | $plugin->doc->{'definitions'} ||= {} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 33 | 0 | 2 | 0 | $Dancer::Plugin::Swagger::FIRST_LOADED ||= caller |
| 160 | 0 | 0 | 0 | $args{'skip'} ||= $plugin->auto_discover_skip |
| 220 | 0 | 6 | 3 | exists $k->{'schema'} or exists $k->{'type'} |
| 252 | 0 | 0 | 0 | shift() || Dancer::status() |