AAM_Core_Restful_ContentService C

Total Complexity 103
Dependencies 4
Dependents 1
Total lines 1,056
Lines of code 635
Logical lines of code 227
Comment lines 287
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
convert_option_to_permission()
A
51 12 26
__construct()
A
34 1 136
convert_permission_to_option()
A
53 8 25
_convert_read_permission()
A
47 7 39
_convert_redirect_action()
S
53 7 22
_convert_to_permission_effect()
S
60 7 13
_convert_list_action()
S
53 6 26
get_terms()
S
45 3 48
_convert_redirect_permission_to_option()
S
56 5 18
_convert_list_permission()
S
56 5 17
update_permissions()
S
53 4 23
get_post_count()
S
52 4 23
get_taxonomies()
S
48 3 36
get_post_types()
S
48 3 35
get_posts()
S
50 3 31
_convert_to_permissions()
S
60 4 14
_prepare_post()
S
53 3 23
_prepare_ceased_after_value()
S
65 3 9
_convert_permission_effect_to_bool()
S
66 3 8
_convert_ceased_action()
S
61 2 13
_convert_limited_action()
S
64 2 10
_convert_teaser_action()
S
64 2 10
_convert_protected_action()
S
64 2 10
check_permissions()
S
76 2 4
_convert_simple_action()
S
71 1 6
delete_permissions()
S
64 1 10