Code Analysis: Katalys Shop 1.1.14

Function Rating Maintainability Complexity Lines of code
url_to_postId()
D
21
66 175
oneO_create_cart()
C
31 27 98
KatalysMerchantPlugin\ApiDirectives::directive__import_product_from_url()
C
33 25 94
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 62
KatalysMerchantPlugin\ApiDirectives::import__process_variants()
A
43 14 46
KatalysMerchantPlugin\ApiDirectives::import__product_options()
A
44 9 46
KatalysMerchantPlugin\ApiController::process_directive()
A
50 10 27
KatalysMerchantPlugin\GraphQLRequest::rawGraphQl()
A
45 9 39
KatalysMerchantPlugin\ApiDirectives::_process()
A
53 8 21
oneO_options()
S
58 8 13
KatalysMerchantPlugin\ApiController::get_token_from_headers()
S
51 7 25
KatalysMerchantPlugin\GraphQLRequest::api_complete_order()
S
53 7 22
KatalysMerchantPlugin\ApiDirectives::import__get_product_images()
S
54 7 20
KatalysMerchantPlugin\ApiDirectives::directive__health_check()
S
48 6 34
oneO_doSplitName()
S
51 6 25
KatalysMerchantPlugin\ApiDirectives::getOptionsVariations()
S
54 6 22
KatalysMerchantPlugin\SettingsPage::oneO_settings_sanitize()
S
57 6 19
paseto_footer_kid()
S
62 5 12
KatalysMerchantPlugin\ApiDirectives::directive__update_availability()
S
55 4 19
paseto_is_expired()
S
59 4 15
KatalysMerchantPlugin\SettingsPage::oneO_settings_page_init()
S
45 1 55
KatalysMerchantPlugin\ApiController::register_routes()
S
54 3 22
KatalysMerchantPlugin\ApiDirectives::directive__complete_order()
S
55 3 20
paseto_decode_footer()
S
62 4 10
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
oneO_order_key_exists()
S
59 2 14
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
KatalysMerchantPlugin\GraphQLRequest::api_import_product()
S
65 2 9
KatalysMerchantPlugin\SettingsPage::graphql_callback()
S
76 1 5
KatalysMerchantPlugin\ApiDirectives::directive__inventory_check()
S
74 1 4
KatalysMerchantPlugin\SettingsPage::__construct()
S
67 1 7
KatalysMerchantPlugin\GraphQLRequest::fromKid()
S
72 1 5
KatalysMerchantPlugin\ApiController::handle_paseto_request()
S
68 1 7
KatalysMerchantPlugin\GraphQLRequest::__construct()
S
81 1 3
KatalysMerchantPlugin\ApiDirectives::_gqlRequest()
S
80 1 3
KatalysMerchantPlugin\GraphQLRequest::api_line_items()
S
66 1 8
KatalysMerchantPlugin\SettingsPage::oneO_settings_section_endpoint()
S
91 1 2
KatalysMerchantPlugin\SettingsPage::oneO_settings_section_info()
S
91 1 2
KatalysMerchantPlugin\GraphQLRequest::api_health_check()
S
74 1 5
KatalysMerchantPlugin\ApiDirectives::__construct()
S
81 1 3
paseto_create_token()
S
68 1 8
KatalysMerchantPlugin\SettingsPage::integration_id_callback()
S
76 1 5
KatalysMerchantPlugin\ApiDirectives::directive__update_product_pricing()
S
74 1 4
KatalysMerchantPlugin\ApiDirectives::directive__update_available_shipping_rates()
S
67 1 7
KatalysMerchantPlugin\GraphQLRequest::api_order_data()
S
64 1 10
KatalysMerchantPlugin\SettingsPage::public_key_callback()
S
76 1 5