URE_Grant_Roles B

Total Complexity 96
Dependencies 3
Dependents 2
Total lines 482
Lines of code 345
Logical lines of code 208
Comment lines 34
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
grant_roles()
A
47 13 34
update_roles()
A
54 12 19
revoke_role()
A
50 10 29
add_role()
A
51 9 26
is_try_remove_admin_from_himself()
A
54 8 20
validate_users()
S
58 7 17
grant_primary_role_to_user()
S
54 6 22
show_roles_manage_html()
S
47 4 41
select_other_roles_html()
S
53 4 23
get_user_roles()
S
53 4 21
grant_other_roles_to_user()
S
55 4 20
validate_roles()
S
60 4 14
select_primary_role_html()
S
57 3 18
is_select_primary_role()
S
62 3 12
load_js()
S
59 2 13
get_roles_options_list()
S
72 1 6
load()
S
70 1 6
__construct()
S
75 1 4