Code Analysis: Identity Verification for WooCommerce 1.4.0

Function Rating Maintainability Complexity Lines of code
RealID\Api::register_routes()
A
30 4 179
RealID\Webhooks::update_metadata()
A
45 9 44
RealID\Webhooks::associate_resource_with_check()
A
48 9 33
RealID\Webhooks::register_routes()
A
35 2 126
RealID\Webhooks::get_metadata()
A
48 7 34
real_id_app()
S
47 6 35
RealID\WC_Integration_Real_ID::setup_sandbox_key()
S
56 6 17
RealID\CheckState::__construct()
S
43 1 62
RealID\ApiClient::__construct()
S
56 4 17
RealID\Hooks\Orders::populate_id_check_column()
S
60 4 13
RealID\Hooks\Orders::post_checkout_webhook()
S
54 3 22
RealID\Api::activate_license_key()
S
55 3 18
RealID\WC_Integration_Real_ID::register_idv_flow_scripts()
S
57 3 16
RealID\Webhooks::validate_webhook()
S
60 3 13
real_id_get_order_data()
S
51 2 27
RealID\WC_Integration_Real_ID::register_admin_bundle_js()
S
51 2 26
RealID\Api::reset_to_sandbox_mode()
S
54 2 20
RealID\WC_Integration_Real_ID::__construct()
S
56 2 17
RealID\Api::update_settings()
S
57 2 16
RealID\Webhooks::get_order()
S
59 2 15
RealID\Hooks\Customers::register()
S
69 3 6
RealID\Hooks\Orders::meta_box_html()
S
64 3 9
RealID\Api::get_shop_public_settings()
S
60 2 13
RealID\Api::deactivate_license_key()
S
59 2 13
RealID\WCRealID::init_settings_menu()
S
54 1 26
RealID\Api::get_shop()
S
62 2 11
RealID\Api::associate_check_with_order()
S
61 2 11
RealID\WC_Integration_Real_ID::register_shop_scripts()
S
62 2 11
RealID\Hooks\Orders::render_cart_contents()
S
54 1 23
RealID\Hooks\Customers::on_customer_create()
S
57 1 16
RealID\WC_Integration_Real_ID::populate_real_id_users_column()
S
70 2 6
RealID\WC_Integration_Real_ID::add_script_module_type_attribute()
S
68 2 7
RealID\WC_Integration_Real_ID::real_id_user_verification_status_shortcode()
S
64 2 10
RealID\Api::api()
S
72 2 6
RealID\Api::get_license_key()
S
68 2 8
RealID\WC_Integration_Real_ID::init()
S
68 2 7
RealID\WC_Integration_Real_ID::plugin_action_links()
S
67 2 8
real_id_option_exists()
S
73 2 4
real_id_get_license_key()
S
68 2 8
RealID\Hooks\Orders::add_metabox()
S
68 1 8
RealID\WC_Integration_Real_ID::register_api_routes()
S
71 1 6
RealID\Api::create_check()
S
63 1 10
RealID\WC_Integration_Real_ID::add_integration()
S
77 1 4
RealID\Api::delete_check()
S
66 1 8
RealID\Hooks\Orders::add_real_id_column()
S
68 1 6
ridd()
S
81 1 3
real_id_get_shop_delivery_methods()
S
81 1 3
RealID\Api::update_delivery_methods()
S
63 1 10
RealID\WC_Integration_Real_ID::rewrite_admin_url_rules()
S
80 1 3
RealID\Api::list_checks()
S
64 1 9
real_id_get_shop_name()
S
82 1 3
RealID\Storefront::exposeCustomerId()
S
91 1 2
RealID\Hooks\Orders::post_checkout_order_script_data()
S
69 1 8
RealID\CheckState::getFiniteState()
S
82 1 3
RealID\WCRealID::renderReactRoot()
S
82 1 3
RealID\Api::deliver_check_reminder()
S
62 1 10
RealID\Webhooks::get_version()
S
72 1 5
RealID\Api::check_email_sender_signature_verification_status()
S
65 1 8
RealID\TemplateEngine::render()
S
79 1 3
RealID\Hooks\Orders::__construct()
S
81 1 3
RealID\WC_Integration_Real_ID::add_real_id_users_column()
S
77 1 4
RealID\Hooks\Orders::register()
S
65 1 8
RealID\CheckState::setFiniteState()
S
81 1 3
RealID\TemplateEngine::__construct()
S
81 1 3
RealID\Api::manually_reject_check()
S
65 1 8
RealID\Api::get_current_license_key()
S
65 1 9
RealID\Api::get_check()
S
66 1 8
RealID\Api::add_email_sender_signature()
S
65 1 8
real_id_in_sandbox_mode()
S
81 1 3
real_id_is_pre_checkout_enabled()
S
75 1 4
RealID\WCRealID::__construct()
S
66 1 8
RealID\Models\IDCheck::translate_canonical_status()
S
79 1 3
RealID\Models\IDCheck::all_check_statuses()
S
79 1 3
RealID\ApiClient::getOptions()
S
82 1 3
RealID\Api::remove_email_sender_signature()
S
65 1 8
RealID\Api::manually_approve_check()
S
65 1 8