Condition Coverage

blib/lib/Authorize/Rule.pm
Criterion Covered Total %
condition 20 23 86.9


or 2 conditions

line l !l condition
95 51 64 shift() || {}
98 115 0 $req_resource || ''
104 112 3 $rules->{$entity} || {}
105 5 110 $rules->{''} || {}
112 61 54 $perms->{$req_resource} || []
113 88 27 $perms->{''} || []
117 2 113 $all_entities_perms->{$req_resource} || []

or 3 conditions

line l !l&&r !l&&!r condition
108 115 0 0 $perms or $all_entities_perms
120 61 48 6 @{$main_ruleset;} or @{$def_ruleset;}
109 2 4 @{$main_ruleset;} or @{$def_ruleset;} or @{$all_entities_ruleset;}