Code Analysis: OnePage Checkout Lite for WHMCS 1.0.0

Function Rating Maintainability Complexity Lines of code
csf_get_google_fonts()
D
0
1 1,603
CSF_Fields::field_data()
D
24
57 148
CSF_Setup::setup()
D
28
51 116
CSF_Options::add_options_html()
D
24
48 137
CSF_Setup::add_admin_enqueue_scripts()
D
30 40 93
CSF_Field_typography::render()
D
21
30 237
CSF_Fields::field_wp_query_data_title()
D
35 41 71
CSF_Abstract::recursive_output_css()
D
36 41 61
CSF_Field_select::render()
D
33 38 76
CSF_Options::set_options()
D
33 36 85
CSF_Field_border::output()
D
44 35 31
CSF_Field_background::render()
C
25
22 194
CSF_Field_group::render()
C
32 28 90
CSF_Setup::field()
C
36 24 70
CSF_Field_spacing::output()
B
42 25 41
CSF_Field_spacing::render()
B
36 20 73
CSF_Field_border::render()
B
32 18 102
CSF_Field_typography::enqueue_google_fonts()
B
44 20 41
CSF_Field_dimensions::render()
B
41 17 51
OnePCHLI_Admin::onepchli_validate_whmcs_credentials()
B
39 16 62
CSF_Field_typography::output()
B
43 17 45
CSF_Field_checkbox::render()
B
40 16 57
CSF_Field_button_set::render()
B
45 17 34
CSF_Field_radio::render()
A
41 15 50
CSF_Field_link_color::output()
A
54 17 16
CSF_Field_media::render()
A
39 14 55
OnePCHLI_Public::onepchli_get_countries_list()
A
24
1 243
CSF_Field_background::output()
A
46 15 33
CSF_Field_repeater::render()
A
40 12 56
OnePCHLI_Public::onepchli_one_page_shortcode_callback()
A
42 12 54
CSF_Field_upload::render()
A
47 13 28
CSF_Field_typography::create_select()
A
51 13 21
CSF_Field_sorter::render()
A
46 12 35
CSF_Options::add_admin_bar_menu()
A
49 12 28
CSF_Field_tabbed::render()
A
48 12 27
WP_Customize_Control_CSF::render_field_content()
A
45 10 39
CSF_Field_slider::output()
A
52 11 21
CSF_Field_spinner::output()
A
52 11 21
WP_Customize_Control_CSF::render()
A
46 10 36
CSF_Field_number::output()
A
52 11 21
CSF_Field_sortable::render()
A
47 10 35
CSF_Field_dimensions::output()
A
56 11 14
CSF_Setup::add_typography_enqueue_styles()
A
51 10 25
CSF_Setup::include_plugin_file()
A
51 10 24
CSF_Options::error_check()
A
54 10 22
CSF_Setup::includes()
A
39 6 72
CSF_Field_accordion::render()
A
49 9 26
CSF_Fields::field_attributes()
A
53 9 22
CSF_Field_image_select::render()
A
51 9 22
CSF_Field_color::output()
A
54 9 18
CSF_Field_textarea::shortcoder()
A
55 9 17
OnePCHLI_Public::onepchli_custom_header_html()
A
42 5 70
CSF_Abstract::pre_tabs()
A
53 8 22
csf_get_icons()
A
51 8 22
CSF_Setup::set_used_fields()
A
54 8 21
CSF_Field_palette::render()
A
53 8 21
OnePCHLI_Public::onepchli_custom_footer_html()
A
42 5 64
OnePCHLI_Meta::onepchli_admin_init()
S
35 1 118
CSF_Options::add_admin_menu()
S
52 7 21
CSF_Field_color_group::render()
S
53 7 20
OnePCHLI_Public::onepchli_enqueue_styles()
S
47 6 32
CSF_Field_map::render()
S
44 5 45
OnePCHLI_Admin::onepchli_save_selected_template_handler()
S
59 7 13
CSF_Field_link::render()
S
46 5 36
OnePCHLI_Public::__construct()
S
55 6 19
CSF_Field_typography::enqueue()
S
40 3 63
CSF_Field_switcher::render()
S
56 6 15
CSF_Abstract::pre_sections()
S
59 6 15
CSF_Field_fieldset::render()
S
58 6 13
CSF_Field_image_select::output()
S
60 6 11
CSF_Options::save_defaults()
S
62 6 11
CSF_Field_gallery::render()
S
50 5 25
CSF_Field_link_color::render()
S
48 4 34
csf_export()
S
57 5 16
CSF_Fields::field_name()
S
62 6 10
CSF_Options::get_options()
S
59 5 15
CSF_Options::add_page_on_load()
S
59 5 14
CSF_Setup::constants()
S
57 5 14
OnePCHLI_Public::onepchli_loaded_hook_callback()
S
58 5 14
csf_array_search()
S
61 5 12
CSF_Field_datetime::render()
S
50 4 27
CSF_Field_wp_editor::render()
S
51 4 26
OnePCHLI_Activator::onepchli_activate()
S
57 4 16
CSF_Fields::field_after()
S
65 5 7
CSF_Options::save_options()
S
61 4 12
CSF_Abstract::pre_fields()
S
63 4 11
CSF_Field_map::enqueue()
S
62 4 11
CSF_Field_slider::render()
S
52 3 24
CSF_Field_date::render()
S
51 3 24
OnePCHLI_Admin::onepchli_enqueue_scripts()
S
55 3 18
CSF_Options::__construct()
S
55 3 18
csf_reset_ajax()
S
63 4 9
CSF_Field_callback::render()
S
69 4 6
CSF_Welcome::__construct()
S
69 4 5
CSF_Welcome::add_plugin_action_links()
S
64 4 9
CSF_Field_wp_editor::setup_wp_editor_settings()
S
63 3 11
OnePCHLI_Admin::onepchli_whmcs_api_calling()
S
55 2 21
OnePCHLI_Public::onepchli_api_calling()
S
55 2 21
CSF_Field_icon::render()
S
56 2 16
CSF_Field_link::enqueue()
S
68 3 8
CSF_Welcome::add_plugin_row_meta()
S
69 3 6
CSF_Field_wp_editor::enqueue()
S
68 3 7
CSF_Options::get_default()
S
71 3 5
CSF_Field_group::enqueue()
S
68 3 8
OnePCHLI_Loader::run()
S
66 3 8
CSF_Abstract::__construct()
S
68 3 6
CSF_Field_notice::render()
S
72 3 4
OnePCHLI_Admin::onepchli_get_one_page_whmcs_layout_urls()
S
59 2 14
CSF_Field_code_editor::render()
S
58 2 14
CSF_Field_number::render()
S
58 2 14
OnePCHLI_OnePageWhmcs::onepchli_define_public_hooks()
S
50 1 28
OnePCHLI_OnePageWhmcs::onepchli_load_dependencies()
S
61 2 12
CSF_Field_color::render()
S
61 2 11
OnePCHLI_OnePageWhmcs::__construct()
S
64 2 11
CSF_Field_icon::add_footer_modal_icon()
S
59 1 24
CSF_Field_spinner::render()
S
54 1 22
CSF_Field_spinner::enqueue()
S
74 2 5
CSF_Field_select::enqueue()
S
74 2 5
csf_validate_numeric()
S
73 2 5
CSF_Field_submessage::render()
S
72 2 4
CSF_Field_content::render()
S
73 2 5
CSF_Field_heading::render()
S
77 2 3
CSF_Fields::field_before()
S
77 2 3
csf_validate_required()
S
73 2 5
csf_timeout()
S
78 2 3
csf_customize_validate_numeric()
S
70 2 6
csf_customize_validate_url()
S
70 2 6
csf_customize_validate_required()
S
70 2 6
csf_customize_validate_email()
S
70 2 6
csf_validate_url()
S
72 2 5
CSF_Setup::add_custom_css()
S
72 2 5
CSF_Field_wp_editor::setup_wp_editor_media_buttons()
S
65 2 10
CSF_Field_sortable::enqueue()
S
74 2 5
CSF_Field_date::enqueue()
S
74 2 5
csf_validate_email()
S
72 2 5
CSF_Setup::add_admin_body_class()
S
70 2 6
CSF_Field_text::render()
S
67 2 6
CSF_Options::ajax_save()
S
66 2 8
CSF_Setup::init()
S
65 2 10
CSF_Field_repeater::enqueue()
S
74 2 5
CSF_Welcome::instance()
S
72 2 6
CSF_Field_subheading::render()
S
77 2 3
CSF_Field_slider::enqueue()
S
74 2 5
CSF_Field_sorter::enqueue()
S
74 2 5
OnePCHLI_Meta::onepchli_introduce_tabs()
S
71 2 6
CSF_Field_backup::render()
S
57 1 14
OnePCHLI_Public::onepchli_enqueue_scripts()
S
59 1 13
CSF_Setup::__construct()
S
62 1 11
OnePCHLI_Admin_Meta::onepchli_get_fields()
S
69 1 7
CSF_Setup::createSection()
S
75 1 4
OnePCHLI_Admin::onepchli_enqueue_styles()
S
74 1 4
CSF_Field_palette::__construct()
S
78 1 3
CSF_Field_image_select::__construct()
S
78 1 3
CSF_Setup::createShortcoder()
S
78 1 3
CSF_Field_code_editor::__construct()
S
78 1 3
OnePCHLI_OnePageWhmcs::run()
S
82 1 3
CSF_Setup::createNavMenuOptions()
S
78 1 3
CSF_Field_color::__construct()
S
78 1 3
CSF_Field_color_group::__construct()
S
78 1 3
CSF_Field_typography::__construct()
S
78 1 3
CSF_Field_border::__construct()
S
78 1 3
CSF_Field_callback::__construct()
S
78 1 3
OnePCHLI_OnePageWhmcs::onepchli_define_admin_hooks()
S
65 1 9
CSF_Field_accordion::__construct()
S
78 1 3
CSF_Field_group::__construct()
S
78 1 3
CSF_Options::instance()
S
79 1 3
CSF_Field_repeater::__construct()
S
78 1 3
OnePCHLI_OnePageWhmcs::onepchli_get_version()
S
82 1 3
CSF_Field_icon::enqueue()
S
75 1 4
CSF_Field_link_color::__construct()
S
78 1 3
CSF_Field_tabbed::__construct()
S
78 1 3
CSF_Field_dimensions::__construct()
S
78 1 3
CSF_Field_heading::__construct()
S
78 1 3
CSF_Field_gallery::__construct()
S
78 1 3
OnePCHLI_Loader::__construct()
S
77 1 4
CSF_Setup::textdomain()
S
77 1 3
CSF_Field_map::__construct()
S
78 1 3
CSF_Field_content::__construct()
S
78 1 3
CSF_Field_icon::__construct()
S
78 1 3
CSF_Field_link::__construct()
S
78 1 3
CSF_Field_textarea::__construct()
S
78 1 3
CSF_Setup::createMetabox()
S
78 1 3
CSF_Field_sorter::__construct()
S
78 1 3
CSF_Field_fieldset::__construct()
S
78 1 3
CSF_Field_media::__construct()
S
78 1 3
CSF_Field_text::__construct()
S
78 1 3
csf_sanitize_replace_a_to_b()
S
79 1 3
OnePCHLI_Loader::add()
S
64 1 10
CSF_Field_submessage::__construct()
S
78 1 3
OnePCHLI_Public::onepchli_load_shortcodes()
S
79 1 3
CSF_Setup::createOptions()
S
78 1 3
CSF_Field_spacing::__construct()
S
78 1 3
OnePCHLI_Admin::__construct()
S
77 1 4
OnePCHLI_Loader::add_action()
S
77 1 3
CSF_Field_date::__construct()
S
78 1 3
CSF_Field_sortable::__construct()
S
78 1 3
CSF_Field_wp_editor::__construct()
S
78 1 3
OnePCHLI_Meta::__construct()
S
72 1 6
CSF_Field_textarea::render()
S
69 1 6
CSF_Options::add_admin_footer_text()
S
79 1 3
OnePCHLI_Loader::add_filter()
S
77 1 3
CSF_Field_datetime::__construct()
S
78 1 3
OnePCHLI_Admin::onepchli_create_one_page_checkout_page()
S
64 1 10
CSF_Setup::createCustomizeOptions()
S
78 1 3
CSF_Field_switcher::__construct()
S
78 1 3
CSF_Setup::createWidget()
S
75 1 4
csf_wp_editor_api()
S
76 1 4
CSF_Field_radio::__construct()
S
78 1 3
CSF_Field_slider::__construct()
S
78 1 3
CSF_Field_button_set::__construct()
S
78 1 3
CSF_Field_code_editor::enqueue()
S
98 1 1
OnePCHLI_Meta::onepchli_init_meta()
S
67 1 9
csf_sanitize_title()
S
81 1 3
OnePCHLI_Deactivator::onepchli_deactivate()
S
95 1 1
CSF_Setup::createCommentMetabox()
S
78 1 3
CSF_Fields::__construct()
S
69 1 7
CSF_Field_checkbox::__construct()
S
78 1 3
CSF_Field_subheading::__construct()
S
78 1 3
onepchli_deactivate_one_page_whmcs()
S
76 1 4
csf_get_default_icons()
S
53 1 6
csf_get_default_icons()
S
56 1 6
CSF_Field_backup::__construct()
S
78 1 3
CSF_Setup::createProfileOptions()
S
78 1 3
CSF_Field_spinner::__construct()
S
78 1 3
CSF_Setup::is_active_plugin()
S
78 1 3
CSF_Setup::createTaxonomyOptions()
S
78 1 3
OnePCHLI_OnePageWhmcs::onepchli_one_page_get_loader()
S
82 1 3
CSF_Walker_Nav_Menu_Edit::start_el()
S
65 1 8
CSF_Field_background::__construct()
S
78 1 3
onepchli_run_one_page_whmcs()
S
77 1 4
CSF_Abstract::collect_output_css_and_typography()
S
81 1 3
CSF_Setup::sanitize_dirname()
S
78 1 3
CSF_Field_upload::__construct()
S
78 1 3
CSF_Field_number::__construct()
S
78 1 3
onepchli_activate_one_page_whmcs()
S
76 1 4
CSF_Setup::include_plugin_url()
S
77 1 3
CSF_Field_notice::__construct()
S
78 1 3
CSF_Field_select::__construct()
S
78 1 3
OnePCHLI_OnePageWhmcs::onepchli_get_plugin_name()
S
82 1 3