-
Home
-
CMC ROLE
-
0.0.1 (latest)
-
Code
-
Classes
- cmc_role
Total Complexity |
88 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
438 |
Lines of code |
260 |
Logical lines of code |
230 |
Comment lines |
115 |
Methods |
26 |
Properties |
4 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
do_action() |
S |
62 |
8 |
11 |
role_clone() |
S |
56 |
5 |
16 |
add_role_capability() |
S |
57 |
5 |
14 |
add_role() |
S |
57 |
5 |
14 |
delete_role() |
S |
59 |
5 |
14 |
role_name_editor() |
S |
57 |
5 |
14 |
delete_role_capability() |
S |
57 |
5 |
14 |
init() |
S |
61 |
5 |
11 |
_role_name_editor() |
S |
59 |
4 |
13 |
_add_role_capability() |
S |
61 |
4 |
11 |
_delete_role_capability() |
S |
61 |
4 |
11 |
menu_load() |
S |
54 |
3 |
20 |
is_user_allowed() |
S |
65 |
4 |
8 |
save_settings() |
S |
62 |
4 |
10 |
_add_role() |
S |
61 |
3 |
11 |
_save_settings() |
S |
62 |
3 |
10 |
plugin_deactivate() |
S |
73 |
2 |
5 |
plugin_activate() |
S |
71 |
2 |
6 |
current_url() |
S |
76 |
2 |
3 |
instance() |
S |
71 |
2 |
6 |
get_role_name() |
S |
72 |
2 |
5 |
get_setting() |
S |
71 |
2 |
5 |
constants() |
S |
67 |
1 |
11 |
__construct() |
S |
70 |
1 |
6 |
admin_menu() |
S |
67 |
1 |
7 |
includes() |
S |
77 |
1 |
4 |