Code Analysis: Swipecart 1.0.1

Function Rating Maintainability Complexity Lines of code
TGMPA_List_Table::process_bulk_actions()
D
26
34 155
TGM_Plugin_Activation::notices()
D
32 34 94
TGM_Plugin_Activation::do_plugin_install()
C
32 25 99
APIClass::getProductByID()
B
31 18 110
tgmpa_load_bulk_installer()
B
26
7 204
TGM_Plugin_Activation::maybe_adjust_source_dir()
A
45 15 36
TGM_Plugin_Activation::init()
A
35 10 94
TGMPA_Utils::emulate_filter_bool()
A
47 12 33
REST_API_v1_Controller::register_routes()
A
31 1 175
TGMPA_List_Table::column_version()
A
47 10 37
APIClass::tokenValidation()
A
44 9 43
APIClass::getProductListByID()
A
46 9 40
TGM_Plugin_Activation::activate_single_plugin()
A
46 9 39
TGM_Plugin_Activation::register()
A
47 9 36
TGMPA_List_Table::get_views()
A
48 9 34
TGM_Plugin_Activation::create_user_action_links_for_notice()
A
45 8 40
Utility::distanceBetweenLocation()
A
51 9 24
TGMPA_List_Table::get_row_actions()
A
47 8 34
Swipecart_Checkout::_add_to_cart()
A
54 9 18
TGMPA_List_Table::get_plugin_status_text()
A
51 8 26
Utility::create_username()
A
51 8 26
TGMPA_Bulk_Installer::bulk_install()
A
42 6 55
tgmpa()
A
53 8 21
TGM_Plugin_Activation::install_plugins_page()
S
52 7 26
TGMPA_List_Table::categorize_plugins_to_views()
S
52 7 26
TGMPA_List_Table::get_bulk_actions()
S
57 7 17
TGM_Plugin_Activation::is_core_update_page()
S
59 7 14
TGM_Plugin_Activation::inject_update_info()
S
54 6 20
APIClass::getCustomerByID()
S
43 4 49
TGM_Plugin_Activation::overload_textdomain_mofile()
S
61 6 12
APIClass::getCustomerOrders()
S
42 3 57
TGMPA_List_Table::_gather_plugin_data()
S
49 4 30
TGM_Plugin_Activation::get_info_link()
S
51 4 28
TGM_Plugin_Activation::add_plugin_action_link_filters()
S
59 5 13
TGM_Plugin_Activation::force_deactivation()
S
60 5 12
TGM_Plugin_Activation::force_activation()
S
62 5 11
TGM_Plugin_Activation::config()
S
54 4 24
TGMPA_Bulk_Installer::auto_activate()
S
57 4 17
TGM_Plugin_Activation::get_plugins_api()
S
57 4 16
TGMPA_List_Table::get_plugin_source_type_text()
S
59 4 15
TGM_Plugin_Activation::populate_file_path()
S
64 5 9
SC_AuthGeneration::getAuth()
S
59 4 15
APIClass::getProducts()
S
50 3 30
TGM_Plugin_Activation::admin_init()
S
59 4 14
TGM_Plugin_Activation::get_admin_notice_class()
S
60 4 13
TGM_Plugin_Activation::does_plugin_have_update()
S
60 4 13
TGM_Plugin_Activation::load_textdomain()
S
60 4 12
TGM_Plugin_Activation::get_download_url()
S
62 4 12
TGMPA_Bulk_Installer::__construct()
S
61 4 11
APIClass::getToken()
S
52 3 25
TGMPA_Bulk_Installer_Skin::add_strings()
S
54 3 20
TGMPA_Bulk_Installer_Skin::bulk_footer()
S
54 3 19
REST_API_v1_Controller::getProducts()
S
56 3 17
TGM_Plugin_Activation::get_tgmpa_url()
S
58 3 16
REST_API_v1_Controller::getMyself()
S
58 3 15
REST_API_v1_Controller::verifyHeaderAndTokenPermissionCallback()
S
62 4 10
TGM_Plugin_Activation::_get_plugin_data_from_name()
S
66 4 8
TGM_Plugin_Activation::is_tgmpa_complete()
S
63 4 10
TGM_Plugin_Activation::can_plugin_update()
S
63 4 10
TGM_Plugin_Activation::get_plugin_source_type()
S
65 4 9
TGMPA_List_Table::__construct()
S
58 3 14
TGMPA_List_Table::get_columns()
S
59 3 13
Utility::url2Array()
S
60 3 13
TGMPA_Bulk_Installer::run()
S
63 3 11
APIClass::getProductCategories()
S
51 2 26
APIClass::createCustomer()
S
55 2 20
TGM_Plugin_Activation::admin_menu()
S
57 2 17
REST_API_v1_Controller::createCustomer()
S
58 2 15
TGM_Plugin_Activation::_get_plugin_basename_from_slug()
S
65 3 9
REST_API_v1_Controller::numericCSVValidateCallback()
S
68 3 7
REST_API_v1_Controller::ratingMaxFiveValidateCallback()
S
77 3 3
TGM_Plugin_Activation::is_plugin_active()
S
76 3 3
TGM_Plugin_Activation::is_plugin_updatetable()
S
68 3 7
TGM_Plugin_Activation::display_settings_errors()
S
64 3 10
TGMPA_Utils::validate_bool()
S
64 3 10
TGM_Plugin_Activation::dismiss()
S
71 3 5
TGM_Plugin_Activation::get_wp_repo_download_url()
S
67 3 8
TGM_Plugin_Activation::get_upgrade_notice()
S
63 3 10
APIClass::checkUserEmailExist()
S
71 3 5
TGM_Plugin_Activation::get_instance()
S
70 3 6
TGM_Plugin_Activation::add_admin_menu()
S
62 3 10
REST_API_v1_Controller::verifyHeaderPermissionCallback()
S
69 3 6
REST_API_v1_Controller::getCustomerOrders()
S
58 2 15
REST_API_v1_Controller::getProductCategories()
S
59 2 14
TGMPA_List_Table::wp_plugin_update_row()
S
60 2 14
Utility::encrypt_decrypt()
S
59 2 13
SC_AuthGeneration::createAuthCombo()
S
62 2 12
REST_API_v1_Controller::getToken()
S
61 2 12
REST_API_v1_Controller::getProduct()
S
62 2 11
TGMPA_List_Table::prepare_items()
S
62 2 11
REST_API_v1_Controller::getCustomer()
S
62 2 11
Swipecart::_required_plugins()
S
55 1 22
TGM_Plugin_Activation::thickbox()
S
72 2 5
TGM_Plugin_Activation::actions()
S
72 2 6
TGMPA_List_Table::sort_table_items()
S
63 2 10
SC_AuthGeneration::removeAuthCombo()
S
74 2 5
TGM_Plugin_Activation::correct_plugin_mofile()
S
70 2 6
TGMPA_List_Table::get_plugin_advise_type_text()
S
70 2 6
TGMPA_List_Table::set_view_totals()
S
72 2 5
TGMPA_Bulk_Installer_Skin::after()
S
69 2 7
REST_API_v1_Controller::orderSanitizeCallback()
S
78 2 3
TGMPA_Bulk_Installer_Skin::before()
S
71 2 6
TGMPA_List_Table::get_primary_column_name()
S
69 2 7
TGMPA_List_Table::extra_tablenav()
S
74 2 5
REST_API_v1_Controller::textRequiredValidateCallback()
S
78 2 3
REST_API_v1_Controller::numericPositiveValidateCallback()
S
79 2 3
REST_API_v1_Controller::orderBySanitizeCallback()
S
77 2 3
Utility::generateRandStr()
S
64 2 9
TGM_Plugin_Activation::can_plugin_activate()
S
78 2 3
Utility::create_splitname()
S
68 2 6
TGM_Plugin_Activation::get_plugins()
S
70 2 6
TGM_Plugin_Activation::get_installed_version()
S
68 2 7
WC_SC_Integrations::wcIntegrations()
S
67 2 8
TGM_Plugin_Activation::is_tgmpa_page()
S
78 2 3
TGMPA_Bulk_Installer_Skin::__construct()
S
61 1 12
Swipecart::__include_files()
S
62 1 12
TGMPA_List_Table::get_default_primary_column_name()
S
82 1 3
TGMPA_List_Table::_get_plugin_data_from_name()
S
75 1 4
TGM_Plugin_Activation::filter_plugin_action_links_deactivate()
S
76 1 4
TGMPA_Utils::wrap_in_em()
S
78 1 3
TGM_Plugin_Activation::get_tgmpa_status_url()
S
68 1 8
TGM_Plugin_Activation::filter_plugin_action_links_activate()
S
76 1 4
REST_API_v1_Controller::verifyAuthorization()
S
80 1 3
REST_API_v1_Controller::returnCSVArraySanitizeCallback()
S
73 1 5
Swipecart_Checkout::__construct()
S
79 1 3
TGMPA_List_Table::single_row()
S
74 1 4
TGM_Plugin_Activation::does_plugin_require_update()
S
72 1 5
Swipecart::__construct()
S
73 1 5
uninstallSwipecart()
S
77 1 4
TGMPA_List_Table::column_cb()
S
67 1 8
TGM_Plugin_Activation::__set()
S
83 1 3
TGM_Plugin_Activation::is_plugin_installed()
S
74 1 4
REST_API_v1_Controller::__construct()
S
68 1 7
Swipecart_Integrations::__construct()
S
83 1 3
load_tgm_plugin_activation()
S
80 1 3
TGMPA_List_Table::column_plugin()
S
69 1 7
TGM_Plugin_Activation::filter_plugin_action_links_update()
S
65 1 9
TGMPA_Bulk_Installer::bulk_upgrade()
S
69 1 6
APIClass::__construct()
S
70 1 6
Swipecart_Integrations::__include_files()
S
79 1 3
TGMPA_Bulk_Installer_Skin::after_flush_output()
S
73 1 5
Utility::__construct()
S
77 1 4
TGM_Plugin_Activation::sanitize_key()
S
72 1 5
TGMPA_List_Table::column_default()
S
80 1 3
WC_Swipecart_Integration::__construct()
S
63 1 10
TGM_Plugin_Activation::flush_plugins_cache()
S
81 1 3
SC_AuthGeneration::__construct()
S
66 1 8
TGM_Plugin_Activation::update_dismiss()
S
78 1 3
Swipecart::__init()
S
74 1 5
SC_AuthGeneration::updateAuthCombo()
S
64 1 10
WC_Swipecart_Integration::admin_options()
S
77 1 4
WC_SC_Integrations::__construct()
S
79 1 3
TGM_Plugin_Activation::show_tgmpa_version()
S
66 1 10
TGM_Plugin_Activation::__get()
S
81 1 3
TGM_Plugin_Activation::__construct()
S
67 1 7
TGMPA_List_Table::no_items()
S
73 1 4
WC_SC_Integrations::addSwipecartIntegrationTab()
S
77 1 4
REST_API_v1_Controller::orderValidateCallback()
S
78 1 3
REST_API_v1_Controller::orderByValidateCallback()
S
72 1 5
TGMPA_Utils::wrap_in_strong()
S
78 1 3
TGMPA_Bulk_Installer::activate_strings()
S
74 1 4
TGMPA_List_Table::get_table_classes()
S
80 1 3
TGMPA_Bulk_Installer_Skin::before_flush_output()
S
76 1 4