URE_Capabilities_Groups_Manager A

Total Complexity 56
Dependencies 4
Dependents 2
Total lines 414
Lines of code 280
Logical lines of code 199
Comment lines 48
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
_get_built_in_wp_caps()
A
36 4 90
get_registered_cpt_caps()
A
54 8 22
get_groups_for_custom_cap()
S
54 7 23
add_custom_post_types()
S
54 7 19
_get_all_custom_post_types_caps()
S
53 6 23
add_woocommerce_groups()
S
57 4 15
get_groups_tree()
S
51 3 26
get_cap_groups()
S
59 3 14
get_custom_post_type_caps()
S
63 3 11
add_group_to_edit_post_cap()
S
66 3 8
get_instance()
S
71 2 6
__clone()
S
80 1 3
get_post_types_without_caps()
S
71 1 6
__construct()
S
74 1 5
get_built_in_wp_caps()
S
82 1 3
add_ure_group()
S
76 1 3
__wakeup()
S
80 1 3