ITSEC_Lib_Canonical_Roles S

Total Complexity 40
Dependencies 1
Dependents 5
Total lines 477
Lines of code 331
Logical lines of code 71
Comment lines 89
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
get_canonical_role_from_role_and_user()
A
53 8 21
get_capabilities()
A
35 1 126
get_user_role()
S
56 7 18
get_unique_capabilities()
S
40 1 75
is_canonical_role_at_least()
S
56 4 18
get_role_from_caps()
S
60 4 13
is_user_at_least()
S
55 3 19
get_canonical_roles_of_at_least()
S
64 3 10
get_real_roles_for_canonical()
S
65 3 9
get_canonical_roles()
S
67 2 8
get_canonical_role_from_role()
S
70 2 6
get_users_with_canonical_role()
S
66 2 8