WPCOM_REST_API_V2_Endpoint_Memberships B

Total Complexity 82
Dependencies 9
Dependents 0
Total lines 622
Lines of code 441
Logical lines of code 178
Comment lines 137
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
get_status()
A
39 15 58
create_products()
A
44 12 42
register_routes()
A
33 1 151
list_products()
A
50 9 26
get_payload_for_product()
S
52 7 24
proxy_request_to_wpcom()
S
52 7 22
find_product_from_wpcom()
S
61 4 12
delete_product()
S
56 3 19
update_product()
S
59 3 14
create_product()
S
60 3 13
list_products_from_wpcom()
S
60 3 13
delete_product_from_wpcom()
S
66 3 8
prevent_running_outside_of_wpcom()
S
72 3 5
update_product_from_wpcom()
S
65 2 9
is_wpcom()
S
79 2 3
create_product_from_wpcom()
S
64 2 9
can_modify_products_permission_check()
S
80 1 3
get_status_permission_check()
S
80 1 3
__construct()
S
68 1 7