-
Home
-
User Role Editor
-
4.64.4 (latest)
-
Code
-
Classes
- URE_Grant_Roles
Total Complexity |
99 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
522 |
Lines of code |
376 |
Logical lines of code |
237 |
Comment lines |
37 |
Methods |
18 |
Properties |
2 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
grant_roles() |
A |
47 |
13 |
34 |
revoke_role() |
A |
44 |
11 |
42 |
update_roles() |
A |
54 |
12 |
19 |
add_role() |
A |
45 |
10 |
39 |
is_try_remove_admin_from_himself() |
A |
53 |
8 |
20 |
validate_users() |
S |
58 |
7 |
17 |
grant_primary_role_to_user() |
S |
54 |
6 |
22 |
show_roles_manage_html() |
S |
47 |
4 |
42 |
select_other_roles_html() |
S |
52 |
5 |
25 |
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 |
56 |
2 |
16 |
get_roles_options_list() |
S |
72 |
1 |
6 |
load() |
S |
72 |
1 |
5 |
__construct() |
S |
75 |
1 |
4 |