WPCOM_REST_API_V2_Endpoint_Memberships B

Total Complexity 82
Dependencies 8
Dependents 0
Total lines 615
Lines of code 434
Logical lines of code 171
Comment lines 137
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
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
62 4 11
delete_product()
S
56 3 19
update_product()
S
59 3 14
create_product()
S
60 3 13
list_products_from_wpcom()
S
61 3 12
delete_product_from_wpcom()
S
67 3 7
prevent_running_outside_of_wpcom()
S
72 3 5
update_product_from_wpcom()
S
66 2 8
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