OMAPI_WooCommerce B

Total Complexity 77
Dependencies 11
Dependents 8
Total lines 750
Lines of code 345
Logical lines of code 160
Comment lines 298
Methods 27
Properties 4

Methods 27

Method Rating Maintainability Complexity Lines of code
get_cart()
A
45 9 42
maybe_store_revenue_attribution()
A
51 8 27
maybe_store_note()
S
46 6 40
validate_keys()
S
53 7 24
is_connected()
S
58 7 13
handle_enqueuing_assets()
S
59 6 16
connect()
S
59 3 13
get_keys_by_consumer_key()
S
56 2 21
get_key_details_by_id()
S
58 2 18
get_request_api_credentials()
S
61 2 14
maybe_init_rest_routes()
S
73 2 5
output_product_metabox()
S
68 2 7
output_coupon_metabox()
S
68 2 7
version()
S
78 2 3
maybe_store_revenue_attribution_on_order_status_change()
S
71 2 6
add_base_to_api_response()
S
68 2 7
disconnect()
S
64 2 9
enqueue_metabox_assets()
S
61 1 15
metabox_args()
S
65 2 9
register_metaboxes()
S
61 1 14
is_active()
S
79 1 3
__construct()
S
63 1 10
add_tag_base_to_api_response()
S
78 1 3
is_consumer_secret_valid()
S
79 1 3
output_marketing_card_template()
S
81 1 3
enqueue_marketing_education_assets()
S
65 1 10
add_category_base_to_api_response()
S
78 1 3