LLMS_REST_Memberships_Controller A

Total Complexity 64
Dependencies 3
Dependents 0
Total lines 651
Lines of code 385
Logical lines of code 125
Comment lines 185
Methods 10
Properties 3

Methods 10

Method Rating Maintainability Complexity Lines of code
update_additional_object_fields()
B
39 24 60
prepare_item_for_database()
B
47 17 34
prepare_object_for_response()
A
44 12 41
get_item_schema()
A
33 1 148
prepare_links()
S
47 2 41
get_taxonomy_rest_base()
S
66 3 8
get_filters_to_be_removed_for_response()
S
60 2 14
register_routes()
S
55 1 22
get_enrollments_collection_params()
S
61 1 13
__construct()
S
76 1 4