Code Analysis: Termly | GDPR/CCPA Cookie Consent Banner 3.0

Function Rating Maintainability Complexity Lines of code
termly\Site_Scan_Results_List_Table::handle_delete_action()
B
39 18 64
termly\Site_Scan_Results_List_Table::prepare_items()
A
42 13 49
termly\Termly_API_Model::sanitize_business_info()
A
36 10 90
termly\Termly_API_Model::sanitize_business_settings()
A
38 10 75
termly\Site_Scan_Controller::site_scan_field()
A
45 12 37
termly\Edit_Cookie::edit_page_view()
A
46 12 35
termly\Termly_API_Model::sanitize_api_key()
A
40 10 62
ctcc_plugin_update_message()
A
43 11 45
termly\Site_Scan_Model::sanitize_site_scan()
A
44 9 47
termly\Edit_Cookie::handle_crud()
A
46 9 40
termly\App_Controller::reset_all()
A
46 7 42
termly\Site_Scan_Controller::maybe_update_notice()
A
50 8 26
termly\Site_Scan_Results_List_Table::column_default()
A
50 7 31
termly\Robots_Txt::check_file()
S
48 6 34
termly\Banner_Settings_Controller::sanitize_settings()
S
60 7 12
termly\Account_API_Controller::update_account_status()
S
52 6 24
termly\Termly_API_Model::update_style_data()
S
52 6 23
termly\Site_Scan_Controller::new_scan_notice()
S
56 6 18
termly\Site_Scan_Results_List_Table::sort_data()
S
58 6 15
termly\Edit_Cookie::edit_cookie()
S
52 5 23
termly\Site_Scan_Results_List_Table::table_data()
S
55 5 18
termly\Site_Scan_Results_List_Table::handle_row_actions()
S
52 4 25
termly\Edit_Cookie::add_cookie()
S
55 4 19
termly\Termly_API_Controller::api_key_field()
S
62 4 11
termly\Site_Scan_Results_List_Table::extra_tablenav()
S
56 3 19
termly\Site_Scan_Results_List_Table::categories_dropdown()
S
55 3 18
termly\Site_Scan_Results_List_Table::domains_dropdown()
S
56 3 17
termly\Termly_API_Controller::business_info_field()
S
48 1 45
termly\Account_API_Controller::maybe_schedule_cron()
S
70 4 5
termly\Account_API_Controller::is_free()
S
66 4 7
termly\Termly_API_Model::store_business_settings_from_api()
S
50 1 33
termly\Frontend::embed_banner()
S
58 2 17
termly\Site_Scan_Results_List_Table::search_for_string()
S
66 3 8
termly\Site_Scan_Controller::hooks()
S
65 3 8
termly\Banner_Settings_Controller::scripts()
S
62 2 12
termly\Site_Scan_Results_List_Table::column_cb()
S
63 2 12
termly\Termly_API_Controller::register_settings()
S
52 1 27
termly\Cookie_Management_Controller::scripts()
S
62 2 12
termly\Site_Scan_Controller::get_last_scanned()
S
62 2 11
termly\Termly_API_Controller::call()
S
53 1 25
termly\Banner_Settings_Controller::register_settings()
S
57 1 22
termly\Site_Scan_Results_List_Table::get_sortable_columns()
S
59 1 20
termly\App_Controller::menu()
S
59 1 17
termly\Site_Scan_Controller::register_settings()
S
59 1 16
termly\General_Settings_Model::get_authorization()
S
67 2 8
termly\Termly_API_Controller::site_url_field()
S
67 2 8
termly\Termly_API_Controller::remove_auth()
S
71 2 6
termly\Termly_API_Controller::maybe_json_body()
S
70 2 6
termly\Termly_API_Controller::maybe_json_header()
S
69 2 6
termly\App_Controller::add_action_link()
S
67 2 7
termly\Site_Scan_Results_List_Table::get_bulk_actions()
S
68 2 7
termly\Edit_Cookie::highlight()
S
69 2 7
termly\Urls::get_disconnect_url()
S
63 1 12
termly\Urls::get_delete_cookie_link()
S
61 1 12
termly\Account_API_Controller::add_rewrite_rule()
S
64 1 11
termly\Site_Scan_Results_List_Table::get_columns()
S
62 1 11
termly\Urls::get_policies_disclaimer_link()
S
69 1 7
termly\Urls::get_scan_url()
S
68 1 8
termly\Urls::get_new_cookie_url()
S
68 1 8
termly\Banner_Settings_Controller::menu()
S
65 1 10
termly\Site_Scan_Results_List_Table::get_hidden_columns()
S
82 1 3
termly\Urls::get_dashboard_link()
S
81 1 3
termly\Urls::get_policies_privacy_policy_link()
S
69 1 7
termly\Cookie_Management_Controller::menu()
S
65 1 10
termly\Site_Scan_Results_List_Table::get_table_classes()
S
79 1 3
termly\Robots_Txt::virtual()
S
73 1 6
termly\Policies_Controller::menu_page()
S
80 1 3
termly\Policies_Controller::menu()
S
65 1 10
termly\Site_Scan_Results_List_Table::no_items()
S
79 1 3
termly\Sign_Up_Controller::admin_global_styles()
S
67 1 9
termly\Cookie_Management_Controller::menu_page()
S
80 1 3
termly\Urls::get_sign_up_url()
S
66 1 9
termly\Site_Scan_Results_List_Table::has_items()
S
76 1 4
termly\Site_Scan_Results_List_Table::get_default_primary_column_name()
S
82 1 3
termly\Menu_Controller::hooks()
S
78 1 3
termly\Banner_Settings_Controller::hooks()
S
71 1 5
termly\Banner_Settings_Controller::menu_page()
S
80 1 3
termly\Sign_Up_Controller::menu_page()
S
80 1 3
termly\Site_Scan_Controller::handle_new_scan_request()
S
74 1 4
termly\Urls::get_customize_banner_link()
S
69 1 7
termly\Policies_Controller::hooks()
S
78 1 3
termly\Urls::get_cookie_management_url()
S
68 1 8
termly\Edit_Cookie::edit_page()
S
65 1 10
termly\Site_Scan_Controller::menu_page()
S
80 1 3
termly\App_Controller::menu_page()
S
80 1 3
termly\Termly_API_Controller::add_temporary_auth()
S
68 1 7
termly\Urls::get_compare_plans_url()
S
65 1 10
termly\Termly_API_Controller::hooks()
S
71 1 5
termly\Edit_Cookie::hooks()
S
74 1 4
termly\Site_Scan_Controller::section_header()
S
89 1 2
termly\Cookie_Management_Controller::hooks()
S
74 1 4
termly\Urls::get_policies_cookie_policy_link()
S
69 1 7
termly\Robots_Txt::hooks()
S
73 1 4
termly\App_Controller::hooks()
S
69 1 6
termly\Sign_Up_Controller::hooks()
S
75 1 4
termly\Urls::get_website_id()
S
74 1 4
termly\Site_Scan_Controller::menu()
S
65 1 10
termly\Urls::get_policies_return_policy_link()
S
69 1 7
termly\Internationalization::hooks()
S
78 1 3
termly\App_Controller::admin_global_styles()
S
67 1 9
termly\Internationalization::init()
S
79 1 3
termly\Urls::get_edit_cookie_link()
S
66 1 9
termly\Sign_Up_Controller::menu()
S
67 1 9
termly\Urls::get_policies_terms_and_conditions_link()
S
69 1 7
termly\Frontend::hooks()
S
78 1 3
termly\Urls::get_plans_url()
S
65 1 10
termly\Account_API_Controller::hooks()
S
72 1 5
termly\Termly_API_Controller::empty_header()
S
89 1 2