Condition Coverage

blib/lib/Dancer/Plugin/Documentation.pm
Criterion Covered Total %
condition 21 28 75.0


and 3 conditions

line !l l&&!r l&&r condition
92 7 0 0 &blessed($documentation) and $documentation->isa('Dancer::Route')
95 1 0 10 &blessed($_) && $_->isa('Dancer::Route')
153 4 0 7 @section_documentation and @route_documentation

or 2 conditions

line l !l condition
209 15 2 0 defined $args{$_} or croak("Argument [$_] is required")
235 9 2 0 defined $args{$_} or croak("Argument [$_] is required")
315 13 2 defined $args{$_} or croak("Argument [$_] is required")
319 8 5 $APP_TO_ACTIVE_SECTION{$app} || ''
332 16 4 0 defined $args{$_} or croak("Argument [$_] is required")

or 3 conditions

line l !l&&r !l&&!r condition
147 1 1 2 !keys(%args) || exists $args{'section'}
260 64 35 39 $a->section cmp $b->section or $a->path cmp $b->path