Condition Coverage

blib/lib/Mojolicious/Plugin/Authorization/AccessControl.pm
Criterion Covered Total %
condition 7 14 50.0


and 3 conditions

line !l l&&!r l&&r condition
24 0 8 0 defined $get_roles and ref $get_roles ne "CODE"
29 0 0 1 ref $args->{'log'} and $args->{'log'}->isa("Mojo::Log")

or 2 conditions

line l !l condition
76 4 21 $c[0] // {}

or 3 conditions

line l !l&&r !l&&!r condition
18 0 8 0 $args->{'prefix'} // $DEFAULT_PREFIX
23 1 1 0 $args->{'get_roles'} // sub ($c) { []; }