Code Analysis: 2J SlideShow 1.3.54

Function Rating Maintainability Complexity Lines of code
twojSlideshow::getSlideshow()
D
25
50 123
twoj_slideshow_attachment_field_credit()
B
27
12 174
twojSlideshow::getImage()
B
39 19 55
twoj_padding_field_callback()
B
36 14 97
jt_cmb2_render_multisize_field_callback()
B
38 15 79
twoj_slideshow_files_loading()
A
41 15 50
CMB2::render_group()
A
44 15 40
CMB2_Field::_set_field_defaults()
A
40 14 55
CMB2::save_group()
A
43 14 44
CMB2_Sanitize::default_sanitization()
A
48 14 31
cmb2_print_metabox_form()
A
46 12 35
CMB2_Types::file()
A
40 10 58
CMB2_hookup::admin_hooks()
A
44 11 42
CMB2::mb_object_type()
A
48 11 37
CMB2_Sanitize::_save_file_id()
A
47 11 35
CMB2_Field::render_field()
A
49 11 30
CMB2::get_field()
A
49 11 29
CMB2_Field::save_field()
A
53 11 22
CMB2_hookup::save_post()
A
56 11 16
twoj_slideshow_duplicate()
A
48 10 29
CMB2_Show_Filters::check_admin_page()
A
51 10 28
CMB2_Field::escaped_value()
A
50 10 27
twojSlideshowImages::getImages()
A
49 10 26
TwojSlideshowDuplicateDo()
A
44 9 41
twoj_slideshow_attachment_field_credit_save()
A
54 10 21
CMB2::object_id()
A
54 10 21
CMB2::get_field_ids()
A
54 9 21
CMB2_Field::get_data()
A
53 9 21
CMB2_Types::taxonomy_radio()
A
47 8 35
CMB2_Field::options()
A
55 9 19
CMB2_Ajax::get_oembed()
A
46 8 33
jt_cmb2_render_twojselect_field_callback()
A
49 8 31
CMB2_Types::taxonomy_multicheck()
A
48 8 30
TwoJSlideshowSetup::twoj_slideshow_setup()
A
57 9 15
CMB2_hookup::register_scripts()
A
40 6 58
jt_cmb2_render_switch_field_callback()
A
52 8 26
CMB2_Sanitize::text_datetime_timestamp_timezone()
A
52 8 23
jt_cmb2_render_size_field_callback()
A
40 5 67
twoj_slideshow_get_images_from_ids_callback()
A
54 8 20
CMB2_Field::update_data()
A
53 8 19
twojSlideshow::__construct()
A
55 8 19
cmb2_get_metabox()
A
57 8 18
twojHelper::addWidth()
A
55 8 18
twoj_slideshow_fix_menu()
S
63 9 10
twoj_slideshow_get_current_post_type()
S
63 9 9
CMB2_Types::file_list()
S
44 6 45
twoj_slideshow_field()
S
48 7 29
CMB2_Types::repeatable_rows()
S
53 7 23
CMB2_Ajax::oembed_handler()
S
53 7 21
twoj_slideshow_get_images_from_post_callback()
S
55 7 18
CMB2_Types::text_datetime_timestamp()
S
49 6 31
CMB2_Types::_desc()
S
58 7 15
jt_cmb2_render_twojselectbutton_field_callback()
S
51 6 30
CMB2_Show_Filters::check_page_template()
S
58 7 15
CMB2_Sanitize::colorpicker()
S
59 7 14
jt_cmb2_render_slider_field_callback()
S
50 6 29
jt_cmb2_render_twojtext_field_callback()
S
50 6 29
twojHelper::setValue()
S
59 7 13
CMB2_Field::row_classes()
S
50 6 27
CMB2_Types::concat_items()
S
52 6 23
Twoj_Slideshow_Options::postOptions()
S
51 5 33
CMB2::show_form()
S
48 5 32
twoj_widget::form()
S
45 4 46
twojSlideshow::addJavaScriptStyle()
S
64 7 8
TwojSlideshowDuplicate_getUrl()
S
57 6 15
Slideshow2J::inc()
S
59 6 14
CMB2_Field::__construct()
S
58 6 14
twojselectbutton_getOptions()
S
58 6 14
twoj_slideshow_include()
S
59 6 14
CMB2_Option::set()
S
60 6 13
CMB2_Field::maybe_callback()
S
61 6 13
CMB2_Types::concat_attrs()
S
59 6 12
CMB2_Ajax::hijack_oembed_cache_get()
S
61 6 11
CMB2_Types::taxonomy_select()
S
51 5 24
CMB2::object_type()
S
57 5 18
CMB2_Field::get_param_callback_result()
S
56 5 18
CMB2_Types::text_datetime_timestamp_timezone()
S
49 4 31
twoj_slideshow_column()
S
56 5 16
TwojSlideshowBlocks::renderBlock()
S
58 5 15
CMB2_Option::update()
S
60 5 14
CMB2_Sanitize::text_datetime_timestamp()
S
59 5 14
Twoj_Slideshow_Options::page()
S
51 4 29
CMB2_Field::sanitization_cb()
S
60 5 13
CMB2_hookup::add_metaboxes()
S
60 5 13
CMB2_Sanitize::text_email()
S
61 5 12
CMB2::__get()
S
62 5 12
CMB2_Show_Filters::get_show_on_key()
S
62 5 11
CMB2_Show_Filters::get_show_on_value()
S
62 5 11
CMB2_Show_Filters::check_id()
S
61 5 11
TwojSlideshowUpdate::__construct()
S
62 5 11
CMB2_Sanitize::text_url()
S
62 5 11
Twoj_Slideshow_Options::seoOptions()
S
54 4 24
TwojSlideshowBlocks::ajaxGetSlideshowJson()
S
54 4 21
CMB2::process_field()
S
56 4 19
CMB2::render_group_row()
S
49 3 34
TwojSlideshowDuplicateMetaData()
S
55 4 19
CMB2::add_group_field()
S
57 4 18
Slideshow2J::checkCurrentState()
S
65 5 8
TwoJSlideshowSetup::init()
S
63 5 9
CMB2_Bootstrap_206::include_cmb()
S
60 4 15
cmb2_get_field()
S
64 5 9
twoj_slideshow_is_edit_page()
S
65 5 8
twoj_border_render_field_callback()
S
43 1 60
Twoj_Slideshow_Options::tabs()
S
59 4 14
CMB2_Utils::timezone_string()
S
60 4 14
CMB2_Bootstrap_206::l10ni18n()
S
59 4 14
TWOJ_TOOLBOX::twoj_setup_admin_scripts()
S
49 3 28
CMB2_Utils::image_id_from_url()
S
59 4 13
CMB2_hookup::user_metabox()
S
62 4 13
CMB2_Field::remove_data()
S
59 4 12
CMB2_Utils::timezone_offset()
S
60 4 12
twoj_twojselect_get_options()
S
60 4 12
CMB2_Option::get_options()
S
62 4 11
twoj_widget::widget()
S
61 4 11
create_post_type_twoj_slideshow()
S
51 3 25
jt_cmb2_render_twojtextarea_field_callback()
S
54 3 24
Twoj_Slideshow_Options::mainOptions()
S
57 3 19
CMB2_Utils::url()
S
56 3 18
twojHelper::setOption()
S
65 4 8
CMB2_Field::args()
S
64 4 9
twojSlideshow::getSizeValue()
S
65 4 8
CMB2_Field::get_timestamp_format()
S
63 4 10
CMB2_hookup::save_user()
S
64 4 10
TwojSlideshowDuplicateMetaData_addCloneButton()
S
60 3 15
twoj_slideshow_tag()
S
64 4 9
twoj_slideshow_shortcode()
S
66 4 8
twoj_size_get_source_row()
S
63 4 9
CMB2_Option::get()
S
64 4 9
CMB2_Sanitize::_check_repeat()
S
63 4 10
CMB2::remove_field()
S
59 3 15
CMB2_Types::get_object_terms()
S
59 3 15
CMB2_Ajax::hijack_oembed_cache_set()
S
67 4 7
TwojSlideShowReport::enqueueScripts()
S
61 3 14
CMB2_Sanitize::text_money()
S
59 3 13
CMB2::update_field_property()
S
61 3 13
TwoJSlideshowSetup::deactivate2JSlidehsow()
S
64 3 12
CMB2_Types::file_status_output()
S
60 3 12
CMB2::add_field()
S
63 3 11
twoj_border_get_state_options()
S
56 2 19
CMB2_Types::oembed()
S
55 2 19
CMB2_hookup::user_new_metabox()
S
68 3 7
twoj_slideshow_set_checkbox_default_for_new_post()
S
78 3 3
cmb2_metabox_form()
S
68 3 7
twoj_slideshow_t()
S
77 3 3
twojGetMediaOptions()
S
68 3 6
twoj_widget::update()
S
69 3 6
CMB2_Boxes::get()
S
70 3 6
twojSlideshowImages::__construct()
S
71 3 6
CMB2::render_hidden_fields()
S
69 3 7
CMB2_Option::remove()
S
65 3 10
TwojSlideshowBlocks::__construct()
S
62 3 10
CMB2::is_options_page_mb()
S
76 3 3
CMB2::prop()
S
68 3 7
CMB2_Types::list_input_checkbox()
S
66 3 8
CMB2_Utils::make_valid_time_stamp()
S
68 3 8
twojHelper::getOptionList()
S
74 3 4
CMB2_Types::colorpicker()
S
63 3 10
CMB2_Field::_data()
S
69 3 7
CMB2_Types::img_status_output()
S
64 3 9
CMB2_Utils::isempty()
S
78 3 3
CMB2_Utils::is_valid_time_stamp()
S
72 3 5
CMB2_hookup::do_scripts()
S
67 3 8
CMB2_Field::field_timezone()
S
66 3 9
CMB2_Options::get()
S
69 3 6
CMB2_Option::delete_option()
S
72 3 5
CMB2_Types::repeat_row()
S
61 2 14
TwojSlideshowBlocks::php_block_init()
S
60 2 14
add_twoj_slideshow_button()
S
50 1 28
CMB2::__construct()
S
62 2 11
twoj_custom_columns()
S
63 2 11
TwoJSlideshowSetup::remoteGet()
S
63 2 11
eg_settings_api_init()
S
61 1 16
CMB2_Types::render_repeatable_field()
S
59 1 16
CMB2_Field::save_field_from_data()
S
70 2 6
cmb2_utils()
S
74 2 5
CMB2_Types::get_file_ext()
S
73 2 4
CMB2_Types::get_file_name_from_path()
S
74 2 4
CMB2::search_old_school_array()
S
71 2 5
CMB2_Sanitize::file()
S
71 2 5
CMB2_Sanitize::textarea_code()
S
70 2 6
CMB2_Field::id()
S
75 2 4
CMB2_Types::title()
S
63 2 9
TWOJ_TOOLBOX::hooks()
S
71 2 5
CMB2_hookup::show_on()
S
66 2 8
CMB2_Sanitize::checkbox()
S
79 2 3
CMB2_Option::__construct()
S
78 2 3
CMB2_hookup::__construct()
S
70 2 7
CMB2_Types::multicheck()
S
68 2 6
CMB2_Field::__call()
S
74 2 4
CMB2_Types::_name()
S
77 2 3
CMB2_Types::render()
S
70 2 7
CMB2::process_fields()
S
69 2 7
CMB2_Sanitize::text_date_timestamp()
S
78 2 3
twoj_slideshow_showInformation()
S
58 1 15
cmb2_update_option()
S
70 2 6
cmb2_get_metabox_sanitized_values()
S
75 2 4
twoj_slideshow_redirect()
S
71 2 5
twoj_slideshow_topblock()
S
65 2 8
twoj_slideshow_field_sanitise()
S
68 2 8
cmb2_autoload_classes()
S
70 2 6
cmb2_ajax()
S
74 2 5
twoj_slideshow_group_metabox()
S
63 2 10
twoj_slideshow_add_publish_meta_options()
S
63 2 10
TwojSlideshowDuplicate_slideshowOnly()
S
90 2 1
CMB2_hookup::once()
S
66 2 8
CMB2_Sanitize::_is_empty_array()
S
69 2 7
CMB2_hookup::enqueue_cmb_css()
S
68 2 7
CMB2_Types::_id()
S
77 2 3
CMB2_Boxes::remove()
S
72 2 5
CMB2_Ajax::oembed_cache_set()
S
71 2 5
CMB2_hookup::hooks()
S
67 2 7
CMB2::save_fields()
S
63 2 10
twoj_slideshow_list()
S
71 2 5
CMB2_Bootstrap_206::__construct()
S
70 2 6
CMB2_Types::_text()
S
75 2 4
TwojSlideshowBlocks::editor_assets()
S
60 1 15
CMB2_Types::is_valid_img_ext()
S
70 2 5
CMB2::nonce()
S
69 2 7
CMB2_Types::checkbox()
S
64 2 8
CMB2_Sanitize::textarea()
S
78 2 3
cmb2_get_metabox_form()
S
65 2 9
Slideshow2J::get_instance()
S
72 2 6
TwojSlideshowDuplicate_ListingLink()
S
66 2 7
CMB2_Types::select_option()
S
75 2 3
CMB2_Field::val_or_default()
S
77 2 3
CMB2_Types::select_timezone()
S
64 2 10
CMB2::_add_field_to_array()
S
68 2 7
CMB2_hookup::enqueue_cmb_js()
S
67 2 8
CMB2_Bootstrap_206::initiate()
S
71 2 6
CMB2_Types::text_money()
S
76 2 3
CMB2_Field::repeatable_exception()
S
61 1 14
CMB2_hookup::add_post_enctype()
S
65 1 14
CMB2_Types::textarea()
S
60 1 12
twoj_hide_attachment_field()
S
64 1 12
TWOJ_TOOLBOX::twoj_setup_admin_header()
S
61 1 12
CMB2_Types::select()
S
62 1 11
CMB2_Types::input()
S
62 1 11
CMB2::get_sanitized_values()
S
64 1 11
CMB2_Types::list_input()
S
61 1 11
cmb2_get_option()
S
80 1 3
CMB2_Types::text_small()
S
78 1 3
twojSlideshow::twoj_slideshow_scripts()
S
74 1 4
twoj_slideshow_report_init()
S
76 1 4
TwojSlideshowActivator::deactivate()
S
95 1 1
CMB2_hookup::post_metabox()
S
80 1 3
CMB2_Types::__construct()
S
81 1 3
cmb2_options()
S
81 1 3
CMB2_Field::format_timestamp()
S
78 1 3
CMB2_Sanitize::__construct()
S
76 1 4
CMB2_Field::value()
S
79 1 3
TwoJSlideshowSetup::popup()
S
79 1 3
CMB2_Field::maybe_set_attributes()
S
78 1 3
CMB2_Types::text_time()
S
67 1 8
CMB2_Field::replace_hash()
S
78 1 3
twoj_slideshow_demo_submenu_page()
S
78 1 3
CMB2_Types::_render()
S
73 1 5
twojSlideshow::twoj_slideshow_styles()
S
74 1 4
CMB2_Types::taxonomy_multicheck_inline()
S
82 1 3
twoj_slideshow_column_title()
S
78 1 3
CMB2_Types::text_url()
S
77 1 3
twoj_slideshow_support_submenu_page()
S
78 1 3
TwojSlideshowDuplicate_RemoveArg()
S
77 1 4
Slideshow2J::__construct()
S
100 1 2
CMB2_hookup::close_metabox_class()
S
77 1 4
activateTwojSlideshow()
S
77 1 4
twoj_slideshow_load_textdomain()
S
78 1 3
Twoj_Slideshow_Options::init()
S
83 1 3
CMB2_Types::text_medium()
S
78 1 3
CMB2_Boxes::get_all()
S
80 1 3
TwojSlideshowActivator::activate()
S
75 1 4
twoj_slideshow_et()
S
80 1 3
Twoj_Slideshow_Options::settings()
S
70 1 6
CMB2::nonce_field()
S
79 1 3
jt_cmb2_twojselectbutton_field()
S
80 1 3
TwojSlideShowReport::__construct()
S
72 1 5
CMB2_Field::peform_param_callback()
S
80 1 3
twoj_slideshow_report_submenu_page_render()
S
80 1 3
Twoj_Slideshow_Options::menu()
S
77 1 3
twoj_load_widget()
S
82 1 3
CMB2_Types::wysiwyg()
S
63 1 10
TWOJ_TOOLBOX::twoj_slidehsow_setup_admin_script()
S
74 1 5
twojSlideshowUtils::compileJavaScript()
S
65 1 10
CMB2_Types::textarea_code()
S
76 1 3
jt_cmb2_border_field()
S
80 1 3
CMB2_Types::__call()
S
77 1 3
new_cmb2_box()
S
81 1 3
CMB2_Types::taxonomy_radio_inline()
S
82 1 3
CMB2_Sanitize::__call()
S
80 1 3
cmb2_dir()
S
81 1 3
CMB2::add_hidden_field()
S
79 1 3
jt_cmb2_switch_field()
S
80 1 3
cmb2_get_oembed()
S
81 1 3
Twoj_Slideshow_Options::__construct()
S
83 1 3
twojSlideshowImages::setSize()
S
74 1 5
twojSlideshow::getSize()
S
70 1 6
CMB2_Types::text_date()
S
67 1 8
jt_cmb2_slider_field()
S
80 1 3
twoj_slideshow_report_submenu_page()
S
78 1 3
CMB2_Field::escaping_exception()
S
70 1 7
jt_cmb2_twojtext_field()
S
80 1 3
twoj_padding_field()
S
80 1 3
jt_cmb2_multisize_field()
S
80 1 3
CMB2_Field::data_args()
S
63 1 10
CMB2_Boxes::add()
S
79 1 3
twoj_slideshow_submenu_empty()
S
100 1 1
eg_setting_section_callback_function()
S
83 1 3
CMB2_Types::hidden()
S
77 1 3
CMB2_Types::textarea_small()
S
78 1 3
CMB2_Types::multicheck_inline()
S
81 1 3
CMB2_Types::parse_args()
S
76 1 3
Twoj_Slideshow_Options::hooks()
S
75 1 4
eg_setting_callback_function()
S
77 1 3
add_twoj_table_columns()
S
78 1 3
CMB2_Field::field_timezone_offset()
S
80 1 3
CMB2_Types::radio_inline()
S
80 1 3
CMB2_Types::radio()
S
65 1 8
CMB2_Types::text_date_timestamp()
S
80 1 3
Twoj_Slideshow_Options::enqueue()
S
78 1 3
TwojSlideshowBlocks::block_assets()
S
68 1 8
twojHelper::setId()
S
81 1 3
TwoJSlideshowSetup::__construct()
S
79 1 3
deactivateTwojSlideshow()
S
77 1 4
cmb2_get_field_value()
S
75 1 4
jt_cmb2_twojtextarea_field()
S
80 1 3
twoj_widget::__construct()
S
69 1 7
CMB2_Utils::array_insert()
S
71 1 5
twoj_slideshow_menuConfig()
S
78 1 3
twoj_slideshow_support_submenu_page_render()
S
83 1 3
CMB2_Types::text_email()
S
78 1 3
twoj_slideshow_duplicate_draft()
S
82 1 3
TwoJSlideshowSetup::includes()
S
62 1 10
CMB2_Types::text()
S
81 1 3