Code Analysis: CC Travel 1.0.0

Function Rating Maintainability Complexity Lines of code
CCFramework_Options::element_data()
D
35 37 70
CCFramework::validate_save()
C
36 31 65
CCFramework_Metabox::render_meta_box_content()
C
35 29 69
CCFramework::admin_page()
C
32 27 92
CCFramework_Metabox::save_post()
C
37 26 66
CCFramework_Option_group::output()
C
37 24 63
CC_Travel_Widget_Filter_By_Taxonomy::widget()
B
36 23 71
CCFramework_Taxonomy::save_taxonomy()
B
41 20 50
cc_element_values()
B
43 20 48
CCFramework_Option_typography::output()
B
36 17 74
cc_travel_get_current_page_archive_url()
B
43 17 46
tour_grid()
B
37 15 74
cc_add_element()
B
44 17 38
tour_list()
B
38 15 67
CCFramework_Option_background::output()
A
34 9 103
cc_travel_custom_query_by_filter_pre_get_posts()
A
40 11 72
CCFramework_Options::element_debug()
A
46 13 37
vc_cc_upload()
A
46 13 34
CCFramework_Taxonomy::render_taxonomy_form_fields()
A
51 13 21
CCFramework_Customize::add_section()
A
44 11 44
CCFramework_Options::element_attributes()
A
52 12 21
cc_travel_vc_shortcode_movie_default_params()
A
41 9 58
CCFramework_Options::element_value()
A
55 11 19
cc_language_defaults()
A
48 10 31
CCFramework_Option_Sorter::output()
A
48 10 31
cc_travel_create_custom_taxonomy()
A
49 10 30
cc_travel_custom_query_tour()
A
51 10 25
CCFramework_Widget::form()
A
48 9 30
cc_travel_is_taxonomy_tour()
A
53 9 22
CCFramework::settings_api()
A
52 9 22
CCFramework_Option_select::output()
A
53 9 19
cc_locate_template()
A
49 8 33
Gamajo_Template_Loader::locate_template()
A
52 8 24
CC_Travel_Widget_Filter_By_Departure_Date::widget()
A
52 8 21
CC_Travel_Widget_Filter_By_Price::widget()
A
53 8 20
CC_WPBackeryShortCodesContainer::contentAdmin()
A
47 7 34
CC_Travel_Widget_Filter_By_Taxonomy::get_options()
A
48 7 33
CCFramework_Options::element_after_multilang()
S
49 7 29
CCFramework_Option_Gallery::output()
S
51 7 22
CC_Travel_Widget_Filter_By_Duration::widget()
S
54 7 19
cc_travel_shortcode_default_atts()
S
55 7 18
CC_Travel::shortcodes()
S
57 7 16
CCFramework::do_settings_sections()
S
58 7 15
CCFramework_Option_image_select::output()
S
57 7 14
cc_get_icons()
S
53 6 20
CCFramework_Option_checkbox::output()
S
54 6 18
CCFramework_Option_radio::output()
S
54 6 18
CC_Travel_Style_Builder::addStyle()
S
56 6 18
CC_Travel_Style_Builder::addStyle()
S
56 6 18
cc_travel_custom_template()
S
57 6 17
CCFramework::get_sections()
S
58 6 17
CCFramework_Option_fieldset::output()
S
55 6 17
CCFramework_Option_upload::output()
S
59 6 11
CCFramework_Customize::customize_register()
S
55 5 19
cc_load_option_fields()
S
56 5 17
CC_Travel_Style_Builder::render()
S
59 5 15
CC_Travel_Style_Builder::render()
S
59 5 15
CCFramework_Option_color_picker::extra_attributes()
S
60 5 13
CCFramework_Options::checked()
S
60 5 13
cc_get_multilang_option()
S
61 5 12
cc_array_search()
S
61 5 12
cc_sanitize_image_select()
S
62 5 12
CCFramework_Options::element_get_error()
S
60 5 12
cc_get_multilang_value()
S
62 5 11
cc_travel_archive_tour_page_id()
S
54 4 22
cc_travel_booking_page_id()
S
54 4 22
cc_travel_template_terms_list()
S
55 4 20
cc_travel_get_min_value_custom_fields()
S
57 4 17
cc_travel_get_max_value_custom_fields()
S
57 4 17
CCFramework_Options::element_name()
S
69 5 5
CCFramework_Option_Image::output()
S
56 4 15
CC_Travel::create_image_size()
S
60 4 13
vc_cc_image_select()
S
58 4 13
CCFramework_Widget::update()
S
61 4 12
vc_cc_chosen()
S
58 4 12
CCFramework_Taxonomy::delete_taxonomy()
S
62 4 11
cc_travel_ajax_general_price()
S
61 4 11
cc_admin_enqueue_scripts()
S
53 3 22
CC_Travel::__construct()
S
57 3 17
cc_framework_init()
S
58 3 17
cc_travel_get_option()
S
65 4 8
cc_get_path_locate()
S
58 3 15
CC_Travel::load_library()
S
65 4 9
CCFramework_Options::element_class()
S
72 4 4
cc_get_option()
S
65 4 8
cc_travel_tour_price_html()
S
62 4 10
cc_sanitize_checkbox()
S
66 4 9
CCFramework_Taxonomy::add_taxonomy_fields()
S
60 3 13
CCFramework_Option_Wysiwyg::output()
S
60 3 13
vc_cc_icon()
S
59 3 13
vc_cc_on_off()
S
61 3 11
CCFramework::admin_menu()
S
56 2 17
Gamajo_Template_Loader::unset_template_data()
S
64 3 10
CCFramework::do_settings_fields()
S
65 3 9
CCFramework::field_callback()
S
73 3 4
CCFramework_Options::element_after()
S
64 3 9
CCFramework_Option_textarea::shortcode_generator()
S
71 3 5
cc_travel_wp_registered_sidebars()
S
64 3 10
cc_travel_ajax_booking()
S
49 1 30
cc_travel_custom_page_states()
S
65 3 9
cc_travel_get_value_in_array()
S
67 3 8
cc_get_var()
S
66 3 9
cc_get_vars()
S
66 3 9
cc_travel_page_sidebar()
S
69 3 7
CC_Travel::load_helper()
S
60 2 14
Gamajo_Template_Loader::get_template_paths()
S
60 2 13
CCFramework_Option_icon::output()
S
59 2 12
cc_get_google_fonts()
S
63 2 12
cc_travel_create_taxonomy_travel_style()
S
52 1 26
cc_travel_create_taxonomy_destination()
S
52 1 26
cc_travel_create_post_type_tour()
S
53 1 23
cc_travel_create_post_type_booking()
S
57 1 18
cc_validate_numeric()
S
73 2 5
CCFramework_Options::element_type()
S
74 2 4
CCFramework_Options::element_multilang()
S
78 2 3
CCFramework_Customize::__construct()
S
68 2 7
CC_Travel_Framework::instance()
S
71 2 6
CCFramework_Customize::instance()
S
71 2 6
CCFramework_Options::element_help()
S
77 2 3
CCFramework_Taxonomy::__construct()
S
70 2 6
CCFramework::instance()
S
71 2 6
CCFramework_Option_switcher::output()
S
66 2 6
cc_validate_required()
S
73 2 5
vc_cc_shortcode_textarea()
S
68 2 6
cc_travel_render_price_with_currency()
S
64 2 10
cc_travel_is_archive_tour()
S
70 2 7
cc_sanitize_group()
S
79 2 3
cc_is_polylang_activated()
S
70 2 7
vc_cc_style_textarea()
S
72 2 4
vc_cc_textfield()
S
72 2 4
vc_cc_exploded_textarea()
S
69 2 5
cc_is_wpml_activated()
S
70 2 7
CCFramework::__construct()
S
63 2 10
cc_is_qtranslate_activated()
S
70 2 7
CCFramework_Taxonomy::instance()
S
71 2 6
CC_Travel::enqueue_scripts()
S
65 2 9
cc_validate_email()
S
73 2 5
Gamajo_Template_Loader::set_template_data()
S
67 2 8
CCFramework_Options::element_before()
S
78 2 3
CCFramework_Metabox::__construct()
S
67 2 7
CCFramework_Metabox::add_meta_box()
S
71 2 5
CC_Travel_MetaBox::__construct()
S
67 2 7
CC_Travel_Taxonomy::__construct()
S
70 2 6
Gamajo_Template_Loader::get_template_file_names()
S
66 2 8
CC_Travel_Widget_Filter_By_Taxonomy::get_current_term_slug()
S
78 2 3
CC_Travel_Framework::__construct()
S
63 2 10
CCFramework_Option_number::output()
S
68 2 6
CC_Travel_Style_Builder::getInstance()
S
70 2 7
CC_Travel_Style_Builder::getInstance()
S
70 2 7
CC_Travel_MetaBox::instance()
S
71 2 6
CCFramework_Metabox::instance()
S
71 2 6
CC_Travel_Taxonomy::instance()
S
71 2 6
CC_Travel_Widget_Filter_By_Price::get_options()
S
62 1 14
CC_Travel_Widget_Filter_By_Departure_Date::get_options()
S
62 1 14
CC_Travel_Widget_Filter_By_Duration::get_options()
S
62 1 14
CCFramework_Option_backup::output()
S
58 1 13
cc_travel_default_image_size()
S
61 1 13
CC_Travel_Widget_Filter_By_Duration::__construct()
S
63 1 11
CC_Travel_Widget_Filter_By_Taxonomy::__construct()
S
63 1 11
CC_Travel_Widget_Filter_By_Price::__construct()
S
63 1 11
CC_Travel_Widget_Filter_By_Departure_Date::__construct()
S
63 1 11
CCFramework_Option_textarea::output()
S
69 1 6
CCFramework_Option_upload::__construct()
S
79 1 3
Gamajo_Template_Loader::get_template_part()
S
69 1 6
cc_sanitize_textarea()
S
76 1 4
cc_travel_get_min_value_from_db()
S
72 1 5
CCFramework_Option_heading::output()
S
72 1 5
Gamajo_Template_Loader::__destruct()
S
82 1 3
cc_export_options()
S
65 1 9
CCFramework_Option_text::output()
S
71 1 5
CCFramework_Option_content::output()
S
73 1 5
CCFramework_Option_switcher::__construct()
S
79 1 3
cc_sanitize_clean()
S
83 1 3
cc_get_icon_fonts()
S
71 1 6
CCFramework::add_settings_error()
S
77 1 3
CC_Travel::load_config()
S
67 1 8
CCFramework_Option_fieldset::__construct()
S
79 1 3
CCFramework_Option_background::__construct()
S
79 1 3
CC_Travel::define_constant()
S
81 1 4
CCFramework_Option_color_picker::__construct()
S
79 1 3
cc_sanitize_text()
S
81 1 3
CCFramework_Option_notice::__construct()
S
79 1 3
CCFramework_Option_datepicker::output()
S
66 1 9
CCFramework_Option_checkbox::__construct()
S
79 1 3
CCFramework_Option_select::__construct()
S
79 1 3
vc_cc_color_picker()
S
65 1 9
cc_travel_get_max_value_from_db()
S
72 1 5
vc_cc_content()
S
77 1 3
cc_vc_js_plugins()
S
83 1 3
CCFramework_Option_color_picker::output()
S
71 1 5
CCFramework_Abstract::__construct()
S
91 1 2
CCFramework_Option_Wysiwyg::__construct()
S
79 1 3
cc_vc_enqueue_scripts()
S
73 1 4
CCFramework_Option_backup::__construct()
S
79 1 3
CCFramework_Option_subheading::output()
S
72 1 5
CCFramework_Option_image_select::__construct()
S
79 1 3
cc_travel_disable_booking_title()
S
100 1 10
cc_sanitize_title()
S
81 1 3
CCFramework_Option_subheading::__construct()
S
79 1 3
CCFramework_Option_notice::output()
S
72 1 5
Gamajo_Template_Loader::get_templates_dir()
S
79 1 3
CCFramework_Abstract::addFilter()
S
78 1 3
WP_Customize_cc_field_Control::render_content()
S
69 1 6
CCFramework_Option_text::__construct()
S
79 1 3
CCFramework_Option_Gallery::__construct()
S
79 1 3
CCFramework_Option_heading::__construct()
S
79 1 3
cc_decode_string()
S
76 1 3
CCFramework_Widget::get_options()
S
83 1 3
cc_encode_string()
S
76 1 3
CC_Travel::admin_enqueue_scripts()
S
80 1 3
cc_vc_deregister_style()
S
82 1 3
CC_Travel::widget()
S
71 1 6
CCFramework_Option_number::__construct()
S
79 1 3
CCFramework_Option_Sorter::__construct()
S
79 1 3
CCFramework_Option_content::__construct()
S
79 1 3
CCFramework_Option_typography::__construct()
S
79 1 3
cc_travel_get_tour_details()
S
75 1 4
CCFramework_Option_textarea::__construct()
S
79 1 3
CCFramework_Option_group::__construct()
S
79 1 3
cc_set_icons()
S
69 1 6
CCFramework_Option_icon::__construct()
S
79 1 3
cc_framework_widgets_init()
S
82 1 3
CCFramework_Options::__construct()
S
69 1 7
CCFramework_Option_Image::__construct()
S
79 1 3
CCFramework_Abstract::addAction()
S
78 1 3
CCFramework_Option_datepicker::__construct()
S
79 1 3
CCFramework_Option_radio::__construct()
S
79 1 3