Code Analysis: Byteplant Phone Validator 3.1

Function Rating Maintainability Complexity Lines of code
BPPV_Countries::populate()
A
21
1 253
BPPV_Plugin::plugin_setup()
A
41 8 54
BPPV_Admin::render_settings_field()
S
46 6 44
BPPV_WC::validate_checkout()
S
58 7 13
BPPV_API::request()
S
50 5 29
BPPV_Phone_Validator::validate()
S
51 5 28
BPPV_Admin::register_settings()
S
40 1 87
BPPV_Admin::load()
S
57 5 15
BPPV_Ajax_Validate_Phone::callback()
S
54 4 22
BPPV_Plugin::get_instance()
S
67 5 7
BPPV_NinjaForms::validate()
S
59 4 13
BPPV_Admin::enqueue()
S
57 3 15
BPPV_WC::validate_edit()
S
63 4 10
BPPV_GravityForms::validate()
S
62 3 11
BPPV_Admin::render_page()
S
52 1 34
BPPV_Admin::show_notice()
S
57 1 19
BPPV_Ajax_Handler::register()
S
65 2 9
BPPV_Countries::get_code()
S
74 2 4
BPPV_Countries::get_country()
S
77 2 3
BPPV_Admin::render_section()
S
61 1 15
BPPV_Ajax_Handler::set_callback()
S
69 2 7
BPPV_Admin::get_instance()
S
76 2 4
BPPV_Plugin::register_script()
S
62 2 10
BPPV_ContactForm7::validate()
S
69 2 7
BPPV_Plugin::js_localization()
S
58 1 15
BPPV_Plugin::get_option()
S
78 2 3
BPPV_Phone_Validator::get_is_valid()
S
82 1 3
BPPV_Phone_Validator::set_is_valid()
S
76 1 4
BPPV_Ajax_Validate_Phone::set_action()
S
75 1 4
BPPV_API::get_response()
S
82 1 3
BPPV_API::set_response()
S
76 1 4
BPPV_Ajax_Handler::set_action()
S
75 1 4
BPPV_Countries::get_list()
S
80 1 3
BPPV_Plugin::footer_styles()
S
87 1 3
BPPV_Plugin::get_plugin_path()
S
82 1 3
BPPV_Plugin::get_options()
S
82 1 3
BPPV_Phone_Validator::get_phone()
S
82 1 3
BPPV_Ajax_Validate_Phone::get_validator()
S
82 1 3
BPPV_Phone_Validator::get_api()
S
82 1 3
BPPV_Plugin::load_language()
S
70 1 7
BPPV_Phone_Validator::set_phone_status()
S
76 1 4
BPPV_Phone_Validator::get_phone_status()
S
82 1 3
BPPV_API::get_endpoint()
S
82 1 3
BPPV_Phone_Validator::set_api()
S
76 1 4
BPPV_API::set_endpoint()
S
76 1 4
BPPV_ContactForm7::setup()
S
78 1 3
BPPV_API::get_phone()
S
82 1 3
BPPV_ContactForm7::set_validator()
S
76 1 4
BPPV_ContactForm7::get_validator()
S
82 1 3
BPPV_GravityForms::__construct()
S
98 1 1
BPPV_GravityForms::setup()
S
78 1 3
BPPV_API::set_country_code()
S
76 1 4
BPPV_GravityForms::set_validator()
S
76 1 4
BPPV_GravityForms::get_validator()
S
82 1 3
BPPV_NinjaForms::__construct()
S
98 1 1
BPPV_NinjaForms::setup()
S
78 1 3
BPPV_API::set_apikey()
S
76 1 4
BPPV_NinjaForms::set_validator()
S
76 1 4
BPPV_NinjaForms::get_validator()
S
82 1 3
BPPV_WC::__construct()
S
98 1 1
BPPV_WC::setup()
S
75 1 4
BPPV_Ajax_Validate_Phone::set_private()
S
76 1 4
BPPV_Ajax_Handler::set_private()
S
76 1 4
BPPV_WC::set_validator()
S
76 1 4
BPPV_WC::get_validator()
S
82 1 3
BPPV_Ajax_Validate_Phone::get_private()
S
82 1 3
BPPV_Ajax_Handler::get_callback()
S
82 1 3
BPPV_API::get_country_code()
S
82 1 3
BPPV_Plugin::is_debug()
S
81 1 3
BPPV_API::set_phone()
S
72 1 5
BPPV_ContactForm7::__construct()
S
98 1 1
BPPV_Admin::__construct()
S
98 1 1
BPPV_Plugin::get_plugin_url()
S
82 1 3
bppv_activate_third_party()
S
72 1 5
BPPV_Plugin::set_options()
S
68 1 7
BPPV_Admin::__clone()
S
98 1 1
BPPV_Ajax_Handler::get_private()
S
82 1 3
BPPV_Ajax_Validate_Phone::register()
S
78 1 3
BPPV_Ajax_Handler::get_action()
S
82 1 3
bppv_load()
S
77 1 4
BPPV_Ajax_Validate_Phone::set_validator()
S
76 1 4
BPPV_Ajax_Handler::do_callback()
S
81 1 3
BPPV_Plugin::enqueue_frontend()
S
81 1 3
BPPV_Ajax_Validate_Phone::get_handler()
S
82 1 3
BPPV_Phone_Validator::set_phone()
S
76 1 4
BPPV_Plugin::__construct()
S
98 1 1
BPPV_Plugin::__clone()
S
98 1 1
BPPV_Ajax_Validate_Phone::get_action()
S
82 1 3
BPPV_API::get_apikey()
S
82 1 3
BPPV_Ajax_Validate_Phone::set_handler()
S
76 1 4
BPPV_Admin::admin_menu()
S
77 1 3