Code Analysis: Simple Form 2.12.3

Function Rating Maintainability Complexity Lines of code
SIMPLEFORM\FloatingWidget::display_floating_widget()
D
18
65 211
SIMPLEFORM\Ajax\Tables::get_submitdata()
D
25
37 143
SIMPLEFORM\Contactformseven::formflow_cf7_send_message()
D
24
35 154
SIMPLEFORM\Shortcode::table_shortcode()
B
38 24 59
SIMPLEFORM\FloatingWidget::sanitize_inputs()
A
31 5 164
SIMPLEFORM\Ajax\Tables::save_settings()
A
41 10 59
SIMPLEFORM\Ajax\Tables::connectcaptcha()
A
46 9 40
SIMPLEFORM\Ajax\Tables::storecaptchakeys()
A
49 8 29
sanitize_text_or_array_field()
A
56 8 18
sanitize_text_or_array_field()
A
56 8 18
SIMPLEFORM\Contactformseven::formflow_disable_default_cf7_mail()
S
56 8 15
SIMPLEFORM\Ajax\Tables::save()
S
45 6 41
SIMPLEFORM\Ajax\Tables::IS_CF7_installed()
S
49 6 31
SIMPLEFORM\Ajax\Tables::delete_cf7_leads()
S
50 6 29
SIMPLEFORM\Ajax\Tables::delete_leads()
S
50 6 29
SIMPLEFORM\Ajax\Tables::delete()
S
50 6 29
SIMPLEFORM\Ajax\Tables::rendertable()
S
51 6 25
SIMPLEFORM\Ajax\Tables::edit()
S
51 6 25
SIMPLEFORM\Ajax\Tables::create()
S
46 5 39
SIMPLEFORM\Ajax\Tables::get_all_leads()
S
53 6 23
SIMPLEFORM\Ajax\Tables::get_all_CF7_leads()
S
53 6 23
SIMPLEFORM\Ajax\Tables::cf7_get_formwise_config()
S
53 6 23
SIMPLEFORM\SIMPLEFORM::register_active_deactive_hooks()
S
47 4 36
SIMPLEFORM\Database\Table::get_settings()
S
48 4 34
SIMPLEFORM\Assets::admin_scripts()
S
41 2 63
SIMPLEFORM\Database\Table::insertleads()
S
56 5 17
SIMPLEFORM\Ajax\Tables::cf7_get_preset()
S
57 5 15
sanitize_text_or_array_field()
S
60 5 14
SIMPLEFORM\Ajax\Tables::all_cf7_forms()
S
54 4 21
SIMPLEFORM\Database\Table::cf7_all_forms()
S
55 4 20
SIMPLEFORM\Database\Migration::run()
S
56 4 19
SIMPLEFORM\Ajax\Tables::get_all_cf7()
S
56 4 18
SIMPLEFORM\Database\Table::update()
S
57 4 16
SIMPLEFORM\Database\Table::insert()
S
58 4 15
SIMPLEFORM\Database\Table::getPreset()
S
63 4 11
SIMPLEFORM\Admin::create_table_if_not_exist()
S
55 3 20
SIMPLEFORM\Database\Table::turnstileget()
S
68 4 7
SIMPLEFORM\Shortcode::enqueue_scripts()
S
53 2 28
SIMPLEFORM\SIMPLEFORM::includes()
S
61 3 12
SIMPLEFORM\Admin::check_database_schema()
S
60 3 12
SIMPLEFORM\Ajax\Tables::get_all()
S
60 3 12
SIMPLEFORM\Ajax\Tables::get_settings()
S
62 3 11
sf_fs()
S
53 2 24
SIMPLEFORM\Admin::admin_menus()
S
56 2 18
SIMPLEFORM\Contactformseven::wpcf7_formdlow_new_tab()
S
52 1 33
SIMPLEFORM\Ajax\Tables::install_and_activate_cf7_plugin()
S
57 2 16
SIMPLEFORM\SIMPLEFORM::getInstance()
S
69 3 7
SIMPLEFORM\Database\Table::is_pro_active()
S
75 3 4
SIMPLEFORM\Assets::frontend_scripts()
S
51 1 30
SIMPLEFORM\Helpers::is_pro_active()
S
73 3 4
SIMPLEFORM\Shortcode::shortcode()
S
68 3 7
SIMPLEFORM\Database\Table::turnstile_get_all()
S
60 2 13
SIMPLEFORM\Ajax\Tables::__construct()
S
51 1 26
SIMPLEFORM\Database\Migration::create_cf7_leads()
S
60 1 15
SIMPLEFORM\Multisite::on_create_site()
S
69 2 7
SIMPLEFORM\Database\Table::getCF7leads()
S
68 2 6
SIMPLEFORM\Database\Table::getKeys()
S
71 2 5
SIMPLEFORM\Database\Table::get()
S
68 2 6
SIMPLEFORM\Database\Table::getleads()
S
68 2 6
SIMPLEFORM\Database\Migration::create_leads()
S
60 1 15
SIMPLEFORM\SIMPLEFORM::redirection()
S
66 2 8
SIMPLEFORM\Database\Table::getcf7config()
S
68 2 6
SIMPLEFORM\SIMPLEFORM::init()
S
70 2 7
SIMPLEFORM\Database\Migration::create_cf7_config_tables()
S
61 1 14
SIMPLEFORM\SIMPLEFORM::loader()
S
58 1 14
SIMPLEFORM\Database\Migration::create_tables()
S
61 1 14
SIMPLEFORM\Contactformseven::sf_custom_tab()
S
68 1 7
SIMPLEFORM()
S
80 1 3
SIMPLEFORM\Helpers::nonceField()
S
80 1 3
SIMPLEFORM\Multisite::on_delete_site()
S
73 1 5
SIMPLEFORM\Database\Table::deletecf7leads()
S
71 1 5
SIMPLEFORM\Helpers::version_check()
S
78 1 3
SIMPLEFORM\SIMPLEFORM::add_action_links()
S
64 1 10
SIMPLEFORM\Helpers::is_latest_version()
S
79 1 3
SIMPLEFORM\Ajax::__construct()
S
79 1 3
SIMPLEFORM\FloatingWidget::__construct()
S
78 1 3
SIMPLEFORM\Shortcode::__construct()
S
74 1 4
SIMPLEFORM\Admin::dashboardPage()
S
77 1 4
SIMPLEFORM\Database\Table::delete()
S
71 1 5
SIMPLEFORM\Database\Table::deleteleads()
S
71 1 5
SIMPLEFORM\Assets::cf7_all_scripts()
S
65 1 10
SIMPLEFORM\Helpers::check_pro_plugin_exists()
S
79 1 3
SIMPLEFORM\Database\Table::get_all()
S
68 1 7
SIMPLEFORM\Database\Table::check_pro_plugin_exists()
S
79 1 3
SIMPLEFORM\Database::__construct()
S
75 1 4
SIMPLEFORM\Assets::fe_scripts()
S
82 1 3
SIMPLEFORM\Ajax\Tables::activate_cf7_plugin()
S
77 1 4
SIMPLEFORM\Admin::__construct()
S
72 1 5
SIMPLEFORM\Assets::formTableScripts()
S
67 1 9
SIMPLEFORM\Contactformseven::__construct()
S
71 1 5
SIMPLEFORM\Multisite::__construct()
S
74 1 4
SIMPLEFORM\Assets::__construct()
S
72 1 5