Condition Coverage

lib/Dancer/Plugin/Swagger.pm
Criterion Covered Total %
condition 7 16 43.7


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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
248 0 0 0 shift() || Dancer::status()