Code Analysis: Katalys Shop 1.1.0

Function Rating Maintainability Complexity Lines of code
url_to_postId()
D
21
66 175
oneO_create_cart()
C
32 25 89
KatalysMerchantPlugin\ApiDirectives::directive__import_product_from_url()
B
35 18 83
KatalysMerchantPlugin\SettingsPage::oneO_settings_create_admin_page()
B
32 11 176
KatalysMerchantPlugin\ApiDirectives::process_order_data()
A
36 14 75
oneO_addWooOrder()
A
31 11 115
KatalysMerchantPlugin\ApiController::handle_request()
A
39 14 61
KatalysMerchantPlugin\ApiDirectives::import__process_variants()
A
43 14 46
KatalysMerchantPlugin\ApiController::process_directive()
A
50 10 27
KatalysMerchantPlugin\GraphQLRequest::rawGraphQl()
A
45 9 39
KatalysMerchantPlugin\ApiDirectives::import__product_options()
A
45 8 42
KatalysMerchantPlugin\ApiDirectives::_process()
A
53 8 21
oneO_options()
S
58 8 13
KatalysMerchantPlugin\ApiController::get_token_from_headers()
S
51 7 25
KatalysMerchantPlugin\ApiDirectives::import__get_product_images()
S
54 7 20
oneO_doSplitName()
S
51 6 25
KatalysMerchantPlugin\SettingsPage::oneO_settings_sanitize()
S
57 6 19
KatalysMerchantPlugin\ApiDirectives::directive__health_check()
S
55 5 21
paseto_footer_kid()
S
62 5 12
paseto_is_expired()
S
59 4 15
KatalysMerchantPlugin\SettingsPage::oneO_settings_page_init()
S
45 1 55
KatalysMerchantPlugin\ApiController::register_routes()
S
55 3 20
KatalysMerchantPlugin\ApiDirectives::directive__complete_order()
S
55 3 19
paseto_decode_footer()
S
62 4 10
KatalysMerchantPlugin\GraphQLRequest::api_complete_order()
S
59 3 14
KatalysMerchantPlugin\GraphQLRequest::api_update_ship_rates()
S
61 3 12
KatalysMerchantPlugin\SettingsPage::oneO_settings_add_plugin_page()
S
56 2 21
log_debug()
S
66 3 8
KatalysMerchantPlugin\GraphQLRequest::api_update_tax_amount()
S
61 2 12
KatalysMerchantPlugin\GraphQLRequest::api_update_availability()
S
63 2 11
KatalysMerchantPlugin\SettingsPage::api_endpoint_callback()
S
61 1 24
KatalysMerchantPlugin\SettingsPage::secret_key_callback()
S
62 1 23
KatalysMerchantPlugin\ApiController::get_request_schema()
S
56 1 21
KatalysMerchantPlugin\ApiDirectives::directive__update_tax_amounts()
S
63 2 10
oneO_order_key_exists()
S
64 2 9
KatalysMerchantPlugin\GraphQLRequest::api_import_product()
S
65 2 9
KatalysMerchantPlugin\GraphQLRequest::fromKid()
S
72 1 5
KatalysMerchantPlugin\ApiDirectives::__construct()
S
81 1 3
KatalysMerchantPlugin\SettingsPage::__construct()
S
67 1 7
KatalysMerchantPlugin\GraphQLRequest::api_order_data()
S
64 1 10
KatalysMerchantPlugin\GraphQLRequest::__construct()
S
81 1 3
KatalysMerchantPlugin\SettingsPage::public_key_callback()
S
76 1 5
KatalysMerchantPlugin\SettingsPage::oneO_settings_section_endpoint()
S
91 1 2
KatalysMerchantPlugin\SettingsPage::integration_id_callback()
S
76 1 5
KatalysMerchantPlugin\ApiDirectives::directive__update_availability()
S
67 1 7
paseto_create_token()
S
68 1 8
KatalysMerchantPlugin\SettingsPage::oneO_settings_section_info()
S
91 1 2
KatalysMerchantPlugin\ApiController::handle_paseto_request()
S
68 1 7
KatalysMerchantPlugin\ApiDirectives::directive__update_product_pricing()
S
74 1 4
KatalysMerchantPlugin\GraphQLRequest::api_line_items()
S
66 1 8
KatalysMerchantPlugin\ApiDirectives::directive__inventory_check()
S
74 1 4
KatalysMerchantPlugin\ApiDirectives::directive__update_available_shipping_rates()
S
67 1 7
KatalysMerchantPlugin\GraphQLRequest::api_health_check()
S
74 1 5
KatalysMerchantPlugin\ApiDirectives::_gqlRequest()
S
80 1 3
KatalysMerchantPlugin\SettingsPage::graphql_callback()
S
76 1 5