Code Analysis: Switips 1.1

Function Rating Maintainability Complexity Lines of code
switips_check_status()
A
43 11 46
switips_get_commission()
A
47 11 34
switips_status()
A
54 8 25
switips_settings::settings_page()
A
48 7 35
Switips::__construct()
S
58 7 16
switips_check_user()
S
48 4 33
switips_settings::merge_settings_post()
S
56 5 18
switips_settings::settings_save()
S
63 6 9
switips_settings::render_field()
S
59 5 14
Switips::sendRequestPost()
S
52 4 25
switips_settings::select()
S
58 3 18
switips_settings::render_active_tab()
S
57 3 17
Switips::commissionAmount()
S
60 3 13
Switips::transactionAmount()
S
60 3 13
Switips::transactionAmountCurrency()
S
60 3 13
Switips::getHashWithoutProducts()
S
55 2 21
Switips::campaignId()
S
68 3 7
Switips::currency()
S
68 3 7
switips_user_id_cookie()
S
68 3 6
Switips::merchantId()
S
68 3 7
Switips::states()
S
68 3 7
Switips::userId()
S
68 3 7
switips_settings::active_tab()
S
67 3 7
switips_edit_product_category_custom_fields()
S
61 2 13
switips_settings()
S
55 1 22
switips_settings::number()
S
61 1 17
switips_settings::text()
S
62 1 16
switips_settings::default_settings()
S
67 2 8
switips_settings::get_option()
S
72 2 5
Switips::ttDate()
S
66 2 8
switips_settings::build_tabs()
S
65 2 9
switips_product_custom_fields_save()
S
68 2 7
switips_settings::parse_field_options()
S
72 2 6
switips_settings::setting_tab()
S
71 2 5
create_table_orders_switips()
S
61 1 14
switips_product_custom_fields()
S
60 1 14
switips_settings::settings_menu()
S
64 1 11
switips_settings::__construct()
S
61 1 11
switips_common::getPluginTitle()
S
82 1 3
switips_add_product_category_custom_fields()
S
68 1 9
switips_settings::get_plugin_settings_definitions()
S
78 1 3
switips_common::getPluginBaseFile()
S
82 1 3
switips_settings::tab_url()
S
79 1 3
switips_common::getPluginAlias()
S
82 1 3
switips_settings::all_options()
S
73 1 5
switips_settings::admin_url()
S
79 1 3
switips_common::getPluginAbbrev()
S
82 1 3
switips_init()
S
65 1 10
switips_settings::form_footer()
S
68 1 8
switips_settings::admin_url_current()
S
80 1 3
switips_settings::form_header()
S
75 1 6
switips_settings::admin_tab()
S
78 1 3
switips_logs()
S
68 1 6
switips_settings::settings_plugin_links()
S
69 1 6
switips_settings::save_option()
S
72 1 5
switips_option()
S
80 1 3
switips_common::__construct()
S
71 1 6
switips_common::initialize()
S
70 1 5
woocommerce_save_product_category_custom_fields()
S
75 1 4