Code Analysis: WordPress REST API Authentication 3.6.1

Function Rating Maintainability Complexity Lines of code
Miniorange_API_Authentication_Admin::miniorange_api_authentication_save_settings()
D
12
95 232
Mo_API_Authentication_Jwt_Auth_Config::mo_api_auth_configuration_output()
D
22
4 578
mo_api_authentication_config_app_settings()
D
36 34 59
mo_api_authentication_main_menu()
C
32 25 118
Mo_API_Authentication_Basic_Oauth_Config::mo_api_auth_configuration_output()
C
25
4 412
Mo_API_Authentication_Basic_OAuth::mo_api_auth_is_valid_request()
C
34 25 91
protected-rest-api\Mo_API_Authentication_Auditing::mo_api_authentication_display_auditing_pie_charts()
B
34 11 144
Mo_API_Authentication_JWT_Auth::mo_api_auth_is_valid_request()
B
43 17 48
Mo_API_Authentication_Config::mo_api_authentication_config_panel()
B
34 8 168
Mo_API_Authentication_Admin_Menu::mo_api_auth_show_tab()
B
48 17 31
Mo_API_Authentication_Feedback::mo_api_authentication_display_feedback()
A
31 7 159
protected-rest-api\Mo_API_Authentication_ProtectedRestAPIs::unprotected_rest_api_display_route_checkboxes()
A
37 12 81
Mo_API_Authentication_Utils::install_and_activate_caw_free()
A
43 14 46
Mo_API_Authentication_TokenAPI::mo_api_auth_is_valid_request()
A
44 14 44
mo_api_auth_is_valid_request()
A
44 14 40
Mo_API_Authentication_Admin_Notices::display_special_edition_plan_notice()
A
34 5 165
mo_api_auth_method_get_token()
A
41 12 57
Mo_API_Summary_Box::display_summary_box()
A
40 11 70
Mo_API_Authentication_Admin_Notices::display_summary_box()
A
40 10 71
Mo_API_Authentication_License::mo_api_authentication_licensing_page()
A
37 4 159
protected-rest-api\Mo_API_Authentication_ProtectedRestAPIs::protected_rest_api_display_route_checkboxes()
A
42 10 56
protected-rest-api\Mo_API_Authentication_ProtectedRestAPIs::display_routes()
A
46 11 37
Mo_API_Authentication_Support::mo_oauth_client_setup_support()
A
36 2 157
Mo_API_Authentication_Third_Party_Provider_Config::mo_api_auth_configuration_output()
A
37 1 161
Mo_API_Authentication_TokenAPI_Config::mo_api_auth_configuration_output()
A
38 3 122
mo_api_authentication_postman_download()
A
43 8 45
Miniorange_API_Authentication_Admin::save_temporary_data()
A
57 10 14
Mo_API_Authentication_Postman::emit_css()
A
49 1 127
Mo_API_Authentication_Demo::demo_request()
A
42 1 122
mo_api_auth_restrict_rest_api_for_invalid_users()
S
58 8 15
Miniorange_API_Authentication_Customer::submit_contact_us()
S
43 5 46
Miniorange_API_Authentication_Customer::mo_api_authentication_send_email_alert()
S
40 4 60
Mo_API_Authentication_JWT_Auth::mo_api_auth_jwt_signature_validation()
S
49 6 30
Mo_API_Authentication_Demo::mo_rest_api_auth_send_trial_mail()
S
41 4 57
Mo_API_Authentication_Support::mo_api_authentication_advertise()
S
45 3 67
Mo_API_Authentication_Third_Party_Integrations::thirdparty_integration()
S
43 1 96
advance-security-settings\Mo_API_Authentication_AdvancedSettings::mo_api_authentication_advanced_settings()
S
43 2 81
Miniorange_Api_Authentication::__construct()
S
55 6 19
Mo_API_Authentication_Postman::mo_api_authentication_postman_page()
S
44 1 89
Mo_API_Authentication_OAuth_Client_Config::mo_api_auth_configuration_output()
S
44 1 86
mo_api_authentication_register_ui()
S
44 2 70
Miniorange_API_Authentication_Customer::mo_api_auth_send_demo_alert()
S
42 3 53
Mo_API_Authentication_Utils::retrieve_file_contents()
S
55 5 20
Miniorange_API_Authentication_Customer::send_otp_token()
S
44 3 46
protected-rest-api\Mo_API_Authentication_ProtectedRestAPIs::protect_wp_rest_apis()
S
45 1 73
Miniorange_API_Authentication_Admin::enqueue_styles()
S
59 5 12
Mo_API_Authentication_Support::mo_api_authentication_admin_support()
S
56 4 22
Mo_API_Authentication_Utils::get_plugin_download_link_from_wp_org()
S
60 4 13
mo_api_authentication_verify_password_ui()
S
49 1 56
Mo_API_Authentication_Custom_API_Integration::custom_api_integration()
S
48 2 40
Miniorange_API_Authentication_Customer::create_customer()
S
46 2 39
Miniorange_API_Authentication_Admin::mo_rest_jwt_validate_token()
S
55 3 21
mo_api_authentication_is_customer_registered()
S
65 4 9
Miniorange_API_Authentication_Customer::get_customer_key()
S
50 2 30
Mo_API_Authentication_Utils::increment_success_counter()
S
63 4 10
Mo_API_Authentication_Utils::increment_blocked_counter()
S
63 4 10
Miniorange_API_Authentication_Admin::get_current_route()
S
68 4 6
Miniorange_API_Authentication_Admin::protect_newly_added_rest_routes()
S
58 3 14
Miniorange_API_Authentication_Customer::check_customer()
S
50 2 29
mo_api_authentication_reset_api_protection()
S
59 3 14
Miniorange_API_Authentication_Admin::mo_api_auth_initialize_api_flow()
S
61 3 12
Miniorange_API_Authentication_Customer::get_timestamp()
S
52 2 24
Miniorange_Api_Authentication_Cron_Manager::daily_cron_function()
S
64 3 10
protected-rest-api\Mo_API_Authentication_ProtectedRestAPIs::protected_rest_api_get_route_checked_prop()
S
65 3 8
Miniorange_API_Authentication_Admin::include_notice_class()
S
63 3 9
Mo_API_Authentication_JWT_Auth::mo_api_auth_jwt_token_segment_validation()
S
71 3 5
Mo_API_Authentication_Utils::is_auditable_api_request()
S
65 3 9
mo_initialize_jwt_settings()
S
69 3 6
Miniorange_API_Authentication_Admin::plugin_settings_script()
S
66 3 7
Miniorange_Api_Authentication_Loader::run()
S
66 3 8
mo_api_auth_getallheaders()
S
62 3 10
mo_api_auth_user_has_capability()
S
64 3 9
mo_api_auth_plugin_settings_style()
S
68 3 6
mo_api_auth_create_jwt_token()
S
50 1 30
Miniorange_API_Authentication_Admin::mo_rest_token_generation_callback()
S
64 3 10
mo_api_authentication_show_customer_info()
S
56 1 28
Mo_API_Authentication_Admin_Menu::mo_api_auth_show_support_sidebar()
S
64 2 11
Miniorange_API_Authentication_Admin::register_rest_routes()
S
57 1 20
Miniorange_API_Authentication_Admin::protect_routes()
S
69 2 7
Miniorange_API_Authentication_Admin::is_protected()
S
65 2 9
mo_api_authentication_export_plugin_config()
S
67 2 8
Mo_API_Authentication_Notices_Utils::if_notice_time_remaining()
S
77 2 3
Mo_API_Authentication_JWT_Auth::is_json()
S
78 2 3
Mo_API_Authentication_Account::register()
S
70 2 7
Miniorange_API_Authentication_Admin::add_action_links()
S
58 1 15
Miniorange_Api_Authentication_Cron_Manager::__construct()
S
70 2 6
Miniorange_API_Authentication_Admin::mo_api_authentication_show_curl_error()
S
69 2 7
protected-rest-api\Mo_API_Authentication_ProtectedRestAPIs::check_route_is_wp_standard_or_not()
S
69 2 7
Miniorange_API_Authentication_Admin::convergence()
S
64 2 10
Miniorange_API_Authentication_Admin::mo_api_authentication_is_curl_installed()
S
69 2 7
Miniorange_Api_Authentication::load_constants()
S
67 2 8
Miniorange_Api_Authentication::define_admin_hooks()
S
59 1 14
Miniorange_API_Authentication_Admin::miniorange_api_authentication_remove_registered_user()
S
61 1 14
mo_api_authentication_reset_settings()
S
62 1 13
Miniorange_Api_Authentication_Deactivator::mo_api_authentication_deactivate()
S
62 1 13
mo_api_auth_show_success_message()
S
76 1 4
Miniorange_API_Authentication_Admin::mo_api_auth_else()
S
80 1 3
Miniorange_API_Authentication_Admin::mo_api_shortlist()
S
80 1 3
run_miniorange_api_authentication()
S
77 1 4
Miniorange_API_Authentication_Admin::mo_api_auth_admin_menu()
S
76 1 3
Miniorange_API_Authentication_Admin::plugin_settings_style()
S
91 1 2
Miniorange_Api_Authentication::get_loader()
S
82 1 3
Miniorange_Api_Authentication::get_version()
S
82 1 3
Mo_API_Authentication_Third_Party_Integrations::mo_api_authentication_thirdpartyintegration()
S
80 1 3
mo_api_auth_error_message()
S
71 1 5
Mo_API_Authentication_Demo::mo_api_authentication_requestfordemo()
S
80 1 3
Mo_API_Authentication_Custom_API_Integration::mo_api_authentication_customintegration()
S
80 1 3
remove_footer_admin()
S
83 1 3
mo_api_auth_close_admin_notices()
S
75 1 4
Miniorange_API_Authentication_Admin::enqueue_scripts()
S
91 1 2
mo_api_authentication_create_client()
S
70 1 6
Miniorange_Api_Authentication_Cron_Manager::clear_daily_cron()
S
75 1 4
Miniorange_API_Authentication_Admin::mo_api_authentication_config_settings()
S
82 1 3
mo_api_auth_activate_miniorange_api_authentication()
S
70 1 6
Miniorange_API_Authentication_Customer::mo_api_authentication_check_internet_connection()
S
77 1 3
protected-rest-api\Mo_API_Authentication_ProtectedRestAPIs::mo_api_authentication_protected_restapis()
S
80 1 3
Miniorange_API_Authentication_Admin::__construct()
S
63 1 10
Mo_API_Authentication_FAQ::faq_page()
S
75 1 8
Miniorange_Api_Authentication_Loader::add()
S
64 1 10
Miniorange_Api_Authentication::get_plugin_name()
S
82 1 3
Miniorange_Api_Authentication_Activator::activate()
S
76 1 4
Mo_API_Authentication_Account::verify_password()
S
81 1 3
Mo_API_Authentication_JWT_Auth::mo_api_authentication_base64_url_decode()
S
76 1 3
Miniorange_Api_Authentication_Loader::__construct()
S
77 1 4
Miniorange_Api_Authentication_Loader::add_filter()
S
77 1 3
Miniorange_Api_Authentication::load_dependencies()
S
65 1 9
mo_api_auth_deactivate_miniorange_api_authentication()
S
69 1 7
Mo_API_Authentication_FAQ::mo_api_authentication_admin_faq()
S
80 1 3
Miniorange_Api_Authentication_Loader::add_action()
S
77 1 3
Miniorange_API_Authentication_Admin::mo_api_authentication_export_plugin_configuration()
S
82 1 3
Miniorange_API_Authentication_Admin::mo_api_auth_menu_options()
S
78 1 4
mo_api_auth_show_error_message()
S
76 1 4
mo_api_auth_token_endpoint_flow()
S
82 1 3
mo_api_auth_success_message()
S
72 1 5
Miniorange_Api_Authentication::set_locale()
S
75 1 4
Miniorange_Api_Authentication_I18n::load_plugin_textdomain()
S
69 1 7
mo_api_authentication_feedback_request()
S
83 1 3
mo_api_authentication_base64_url_encode()
S
78 1 3
Miniorange_API_Authentication_Admin::get_route_protect_option()
S
79 1 3
Miniorange_Api_Authentication::run()
S
82 1 3
Miniorange_API_Authentication_Admin::allow_rest_api()
S
78 1 3