Condition Coverage

lib/Dancer/Plugin/Swagger.pm
Criterion Covered Total %
condition 9 19 47.3


and 3 conditions

line !l l&&!r l&&r condition
190 1 6 1 @_ and not ref $_[0]

or 2 conditions

line l !l condition
198 6 2 shift @_ || {}
276 0 1 $plugin->doc->{'definitions'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
34 0 2 0 $Dancer::Plugin::Swagger::FIRST_LOADED ||= caller
158 0 0 0 $args{'skip'} ||= $plugin->auto_discover_skip
218 0 6 3 exists $k->{'schema'} or exists $k->{'type'}
250 0 0 0 shift() || Dancer::status()