WPCOM_REST_API_V2_Endpoint_Memberships B

Total Complexity 81
Dependencies 8
Dependents 0
Total lines 603
Lines of code 423
Logical lines of code 170
Comment lines 136
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
get_status()
A
40 15 57
create_products()
A
44 12 41
list_products()
A
50 9 26
register_routes()
A
34 1 145
get_payload_for_product()
S
52 7 24
proxy_request_to_wpcom()
S
52 7 22
find_product_from_wpcom()
S
62 4 11
update_product()
S
59 3 14
delete_product()
S
59 3 14
create_product()
S
60 3 13
list_products_from_wpcom()
S
61 3 12
prevent_running_outside_of_wpcom()
S
72 3 5
update_product_from_wpcom()
S
66 2 8
delete_product_from_wpcom()
S
68 2 7
is_wpcom()
S
79 2 3
create_product_from_wpcom()
S
66 2 8
can_modify_products_permission_check()
S
80 1 3
get_status_permission_check()
S
80 1 3
__construct()
S
68 1 7