Branch Coverage

blib/lib/Dancer/Plugin/Auth/RBAC/Permissions/Config.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
19 12 0 if ($role)
20 3 9 if (grep {/$role/;} @{$$user{'roles'};})
39 10 5 if (defined $$roles{$role}{'permissions'})
42 10 0 if (defined $$permissions{$operation})
44 8 2 if ($action) { }
46 8 0 if (defined $$permissions{$operation}{'operations'})
49 6 2 if (grep {/$action/;} @{$operations;})