Code Analysis: BEAF - Ultimate Before After Image Slider & Gallery 4.5.2

Function Rating Maintainability Complexity Lines of code
TF_icon::remix_icon()
D
0
1 2,276
TF_icon::fontawesome_five_icons()
D
0
1 1,616
bafg_metabox_callback()
D
7
24 957
TF_Repeater::render()
D
26
47 150
bafg_slider_info_styles()
D
30 39 122
TF_icon::fontawesome_four_icons()
D
11
1 680
BEAF_Metabox::save_metabox()
D
36 36 66
BEAF_Settings::save_options()
D
34 34 79
BAFG_Before_After_Gallery::bafg_post_shortcode()
D
31 31 111
BEAF_Options::field()
C
32 30 97
TF_icon::fontawesome_six_icons()
C
15
1 504
beaf_migrate_all_existing_option_data()
C
38 26 60
bafg_custom_columns_image()
C
42 25 50
TF_tab::render()
B
42 22 50
bafg_slider_info()
B
42 22 45
BEAF_Settings::beaf_options_page()
B
36 18 90
TF_select2::render()
B
42 21 42
TF_Taxonomy_Metabox::save_taxonomy()
A
48 16 30
TF_select::render()
A
45 15 35
Appsero\Insights::get_tracking_data()
A
39 13 63
TF_map::render()
A
37 12 73
BEAF_Options::tf_options_admin_enqueue_scripts()
A
45 14 36
Appsero\Insights::deactivate_scripts()
A
35 6 145
BEAF_Metabox::tf_meta_box_content()
A
44 12 45
bafg_PROMO_NOTICE::__construct()
A
49 12 25
BAFG_Before_After_Gallery::bafg_gallery_shortcode()
A
39 9 69
TF_hotelAvailabilityCal::render()
A
39 8 72
TF_ical::render()
A
49 11 24
TF_icon::tf_icon_modal()
A
43 8 66
Appsero\License::menu_output()
A
44 9 50
bafg_PROMO_NOTICE::tf_black_friday_2023_admin_notice()
A
44 8 57
TF_radio::render()
A
50 10 24
Appsero\Updater::check_plugin_update()
A
52 10 24
Appsero\Insights::deactivation_modal_styles()
A
50 1 158
Appsero\Updater::check_theme_update()
A
52 10 23
TF_checkbox::render()
A
52 10 20
TF_Taxonomy_Metabox::tf_taxonomy_content()
A
49 9 30
TF_imageselect::render()
A
50 9 26
Appsero\License::license_form_submit()
A
51 9 26
TF_heading::render()
A
53 9 26
bafg_pro_version_notice()
A
51 9 24
Appsero\Insights::get_all_plugins()
A
48 8 34
TF_date::render()
A
45 7 44
Appsero\Updater::get_project_latest_version()
A
49 8 29
Appsero\License::licenses_style()
A
51 1 132
bafg_widget::form()
A
47 7 39
Appsero\Insights::handle_optin_optout()
A
56 8 18
BAFG_Before_After_Gallery::__construct()
A
48 7 33
bafg_PROMO_NOTICE::tf_black_friday_2023_callback_woo_product()
A
45 5 63
TF_text::render()
S
58 8 12
Appsero\Insights::admin_notice()
S
47 6 37
TF_notice::render()
S
55 7 22
BAFG_Before_After_Gallery::bafg_image_before_after_foucs_posttype()
S
39 4 67
Appsero\Updater::get_cached_version_info()
S
56 7 20
Appsero\Insights::get_server_info()
S
55 7 17
TF_color::render()
S
54 7 17
Appsero\License::send_request()
S
51 6 28
Appsero\Insights::uninstall_reason_submission()
S
55 6 19
BEAF_Settings::pre_tabs()
S
57 6 17
Appsero\Insights::is_local_server()
S
59 6 12
Appsero\License::show_active_license_info()
S
52 5 27
TF_switch::render()
S
51 5 25
TF_gallery::render()
S
51 5 22
bafg_watermark_enable_field_meta_cb()
S
54 5 22
Appsero\License::check_license_status()
S
55 5 19
Appsero\Insights::__construct()
S
65 6 8
Appsero\License::is_valid_by()
S
64 6 9
BEAF_Settings::pre_sections()
S
59 5 15
BEAF_Options::load_metaboxes()
S
60 5 14
BEAF_Options::load_taxonomy()
S
60 5 14
BEAF_Options::load_options()
S
60 5 14
BEAF_Settings::__construct()
S
58 5 13
Appsero\Insights::send_tracking_data()
S
61 5 12
bafg_review_notice()
S
46 2 57
Appsero\License::is_valid()
S
61 5 12
Appsero\License::active_client_license()
S
53 4 23
bafg_PROMO_NOTICE::bafg_get_api_response()
S
53 4 22
bafg_before_after_style_cb()
S
44 2 51
TF_icon::render()
S
55 4 20
BAFG_Before_After_Gallery::bafg_image_before_after_foucs_scripts()
S
54 4 19
Appsero\License::deactive_client_license()
S
56 4 18
get_bafg_list()
S
57 4 16
TF_Fields::field_name()
S
64 5 9
Appsero\Insights::get_wp_info()
S
57 4 15
Appsero\License::get_input_license_value()
S
59 4 14
bafg_new_feature_notice()
S
60 4 14
bafg_review_notice_callback()
S
58 4 14
Appsero\License::admin_menu()
S
62 4 13
BEAF_Metabox::load_fields()
S
61 4 12
TF_Taxonomy_Metabox::load_fields()
S
61 4 12
TF_Fields::field_attributes()
S
61 4 11
BEAF_Settings::pre_fields()
S
63 4 11
Appsero\License::show_license_page_card_header()
S
57 3 23
beaf_dashboard_header()
S
51 1 49
Appsero\Insights::get_uninstall_reasons()
S
46 1 47
Appsero\License::show_license_page_notices()
S
61 3 17
bafg_PROMO_NOTICE::bafg_black_friday_notice_bafg_dismiss_callback()
S
66 4 7
bafg_widget::update()
S
67 4 7
Appsero\Updater::plugins_api_filter()
S
65 4 9
BEAF_Settings::tf_ajax_save_options()
S
58 3 15
Appsero\License::refresh_client_license()
S
64 4 9
bafg_PROMO_NOTICE::tf_black_friday_notice_dismiss_callback()
S
62 4 10
bafg_review_activation_status()
S
64 4 8
bafg_enable_opacity_cb()
S
60 3 14
bafg_watermark_opacity_cb()
S
60 3 14
bafg_watermark_position_cb()
S
60 3 14
bafg_video_slider_method_cb()
S
60 3 14
bafg_widget::widget()
S
59 3 14
bafg_three_image_slider_method_cb()
S
60 3 14
bafg_enable_watermark_cb()
S
60 3 14
ElementorBafg\Widgets\BAFG_Slider::render()
S
62 3 13
Appsero\Insights::get_user_counts()
S
62 3 12
Appsero\Insights::activate_plugin()
S
61 3 12
TF_time::render()
S
60 3 12
Appsero\License::run_schedule()
S
62 3 12
Appsero\Insights::get_user_ip_address()
S
63 3 11
Appsero\Insights::get_site_name()
S
63 3 11
bafg_before_after_method()
S
54 2 22
ElementorBafg\Widgets\BAFG_Slider::_register_controls()
S
49 1 33
Appsero\Client::set_basename_and_slug()
S
56 2 17
Appsero\Insights::get_extra_data()
S
67 3 9
TF_number::render()
S
68 3 5
TF_file::render()
S
68 3 5
TF_select2::sanitize()
S
65 3 9
BEAF_Options::tf_options_admin_dequeue_scripts()
S
68 3 7
TF_editor::render()
S
63 3 10
BEAF_Options::is_tf_pro_active()
S
71 3 6
BEAF_Metabox::__construct()
S
63 3 9
BEAF_Settings::get_current_page_url()
S
72 3 4
Appsero\Updater::__construct()
S
65 3 9
bafg_PROMO_NOTICE::tf_black_friday_2023_woo_product()
S
68 3 6
Appsero\Client::insights()
S
64 3 10
Appsero\Client::updater()
S
64 3 10
Appsero\Client::license()
S
64 3 10
BAFG_Before_After_Gallery::bafg_custom_single_template()
S
65 3 9
TF_text::sanitize()
S
67 3 7
Appsero\Insights::init()
S
69 3 7
BAFG_Before_After_Gallery::beaf_file_missing()
S
64 3 9
Appsero\Insights::data_we_collect()
S
60 2 14
bafg_frontend_preview_shortcode_pro_cb()
S
53 1 28
Appsero\Insights::send_tracking_skipped_request()
S
60 2 13
TF_image::render()
S
60 2 12
BAFG_Before_After_Gallery::bafg_register_submenu_page()
S
64 2 11
TF_icon::get_icon_list()
S
53 1 26
Appsero\Client::send_request()
S
54 1 21
bafg_register_gallery_generator_page()
S
60 1 17
TF_Taxonomy_Metabox::__construct()
S
56 1 17
Appsero\Insights::schedule_event()
S
69 2 6
bafg_gallery_column_content()
S
67 2 8
TF_textarea::render()
S
71 2 4
BAFG_Elementor::init()
S
70 2 6
BAFG_Before_After_Gallery::beaf_opt()
S
74 2 4
bafg_video_height_cb()
S
65 2 10
bafg_second_image_cb()
S
65 2 10
bafg_option_value()
S
71 2 6
bafg_before_self_video_cb()
S
65 2 10
Appsero\License::schedule_cron_event()
S
70 2 6
bafg_custom_columns_shortcode()
S
68 2 7
bafg_after_video_cb()
S
65 2 10
Appsero\Client::is_local_server()
S
73 2 4
bafg_open_url_new_tab_cb()
S
65 2 10
TF_callback::render()
S
73 2 5
bafg_new_feature_notice_dismissed()
S
70 2 6
ElementorBafg\BAFGWidget::instance()
S
72 2 6
bafg_after_image_link_cb()
S
65 2 10
bafg_before_after_image_link_cb()
S
65 2 10
bafg_video_width_cb()
S
65 2 10
bafg_filter_style_cb()
S
65 2 10
bafg_before_video_cb()
S
65 2 10
appsero_init_tracker_beaf_before_and_after_gallery()
S
64 2 9
bafg_width_cb()
S
65 2 10
bafg_before_after_image_cb()
S
65 2 10
BEAF_Metabox::tf_meta_box()
S
65 2 9
Appsero\Insights::init_plugin()
S
64 2 9
Appsero\Insights::init_common()
S
64 2 9
bafg_slider_alignment_cb()
S
65 2 10
Appsero\Insights::notice_dismissed()
S
68 2 7
Appsero\Updater::set_cached_version_info()
S
70 2 6
bafg_popup_preview_cb()
S
65 2 10
TF_checkbox::sanitize()
S
74 2 4
BEAF_Options::instance()
S
71 2 6
bafg_before_vimeo_video_cb()
S
65 2 10
Appsero\Updater::get_version_info()
S
68 2 8
Appsero\Insights::plugin_action_links()
S
69 2 6
Appsero\Insights::theme_deactivated()
S
73 2 5
TF_icon::__construct()
S
66 2 8
bafg_filter_apply_cb()
S
65 2 10
bafg_handle_color_cb()
S
65 2 10
bafg_overlay_color_cb()
S
65 2 10
bafg_on_scroll_slider_cb()
S
65 2 10
Appsero\Insights::deactivation_cleanup()
S
67 2 8
bafg_publicly_queriable_cb()
S
65 2 10
bafg_third_image_cb()
S
65 2 10
bafg_after_self_video_cb()
S
65 2 10
bafg_slider_video_type_cb()
S
65 2 10
bafg_auto_slide_cb()
S
65 2 10
bafg_shortcode_callback()
S
70 2 6
bafg_first_image_cb()
S
65 2 10
bafg_height_cb()
S
65 2 10
bafg_after_vimeo_video_cb()
S
65 2 10
bafg_label_outside_cb()
S
65 2 10
bafg_before_image_link_cb()
S
65 2 10
bafg_readmore_text_cb()
S
65 2 10
bafg_admin_enqueue_scripts()
S
58 1 14
Appsero\License::add_settings_page()
S
59 1 14
Appsero\License::create_submenu_page()
S
63 1 12
Appsero\License::create_menu_page()
S
63 1 12
bafg_custom_columns()
S
61 1 12
Appsero\License::create_options_page()
S
64 1 11
bafg_PROMO_NOTICE::metabox_order()
S
65 1 11
Appsero\Insights::add_extra()
S
77 1 4
TF_editor::__construct()
S
78 1 3
Appsero\Insights::get_post_count()
S
66 1 9
Appsero\License::clear_scheduler()
S
81 1 3
TF_image::__construct()
S
78 1 3
TF_tab::sanitize()
S
82 1 3
Appsero\Client::_etrans()
S
79 1 3
TF_Taxonomy_Metabox::taxonomy()
S
79 1 3
Appsero\Client::__trans()
S
79 1 3
Appsero\Insights::optout()
S
68 1 7
TF_textarea::__construct()
S
78 1 3
ElementorBafg\Widgets\BAFG_Slider::get_title()
S
79 1 3
Appsero\Insights::tracking_allowed()
S
74 1 4
BEAF_Metabox::metabox()
S
79 1 3
BEAF_Options::tf_options_file_path()
S
79 1 3
Appsero\Updater::run_theme_hooks()
S
79 1 3
Appsero\License::set_option_key()
S
77 1 4
BEAF_Options::__construct()
S
67 1 8
ElementorBafg\Widgets\BAFG_Slider::get_icon()
S
82 1 3
TF_Fields::__construct()
S
71 1 6
Appsero\License::deactivate()
S
74 1 4
BEAF_Settings::option()
S
79 1 3
Appsero\Insights::get_last_send()
S
78 1 3
TF_file::__construct()
S
78 1 3
Appsero\License::check()
S
74 1 4
TF_callback::__construct()
S
78 1 3
TF_select::__construct()
S
78 1 3
TF_color::sanitize()
S
82 1 3
TF_video::render()
S
66 1 7
BEAF_Options::beaf_options_version()
S
82 1 3
ElementorBafg\Widgets\BAFG_Slider::get_name()
S
82 1 3
bafg_gallery_columns()
S
77 1 4
Appsero\Client::set_textdomain()
S
81 1 3
BAFG_Before_After_Gallery::bafg_meta_fields()
S
81 1 3
ElementorBafg\BAFGWidget::__construct()
S
79 1 3
TF_video::sanitize()
S
80 1 3
beaf_print_r()
S
75 1 5
TF_switch::__construct()
S
78 1 3
TF_tab::__construct()
S
78 1 3
bafg_PROMO_NOTICE::bafg_promo_notice_deactivation_hook()
S
70 1 7
bafg_widget::__construct()
S
67 1 9
BEAF_Options::load_files()
S
74 1 5
BEAF_Options::tf_options_file_url()
S
79 1 3
bafg_gallery_cb()
S
80 1 3
BAFG_Elementor::__construct()
S
79 1 3
TF_number::__construct()
S
78 1 3
Appsero\Insights::add_weekly_schedule()
S
68 1 7
TF_video::__construct()
S
78 1 3
TF_Repeater::sanitize()
S
82 1 3
TF_editor::sanitize()
S
80 1 3
BEAF_Settings::beaf_options()
S
65 1 10
bafg_PROMO_NOTICE::bafg_custom_cron_interval()
S
69 1 7
Appsero\Updater::run_plugin_hooks()
S
74 1 4
ElementorBafg\BAFGWidget::include_widgets_files()
S
80 1 3
BEAF_Options::tf_options_wp_enqueue_scripts()
S
69 1 6
bafg_PROMO_NOTICE::bafg_promo__schudle_callback()
S
82 1 3
Appsero\Insights::hide_notice()
S
77 1 4
BEAF_Settings::get_query_string()
S
72 1 5
Appsero\Client::__construct()
S
71 1 6
Appsero\License::activate()
S
74 1 4
bafg_blackfriday()
S
70 1 10
Appsero\Insights::optin()
S
66 1 8
Appsero\License::__construct()
S
65 1 8
TF_color::__construct()
S
78 1 3
TF_heading::__construct()
S
78 1 3
TF_time::__construct()
S
78 1 3
TF_map::__construct()
S
78 1 3
TF_ical::__construct()
S
78 1 3
ElementorBafg\BAFGWidget::register_widgets()
S
76 1 4
TF_checkbox::__construct()
S
78 1 3
TF_image::sanitize()
S
80 1 3
TF_notice::__construct()
S
78 1 3
TF_Fields::sanitize()
S
80 1 3
Appsero\License::get_license()
S
79 1 3
TF_gallery::__construct()
S
78 1 3
ElementorBafg\Widgets\BAFG_Slider::get_script_depends()
S
81 1 3
TF_imageselect::__construct()
S
78 1 3
Appsero\Insights::notice()
S
77 1 4
TF_radio::__construct()
S
78 1 3
Appsero\Client::endpoint()
S
75 1 4
Appsero\Insights::init_theme()
S
72 1 5
TF_text::__construct()
S
78 1 3
Appsero\License::refresh_license_api()
S
67 1 9
ElementorBafg\Widgets\BAFG_Slider::get_categories()
S
81 1 3
TF_date::__construct()
S
78 1 3
TF_select2::__construct()
S
78 1 3
Appsero\Insights::add_plugin_data()
S
77 1 4
Appsero\Insights::clear_schedule_event()
S
80 1 3
TF_hotelAvailabilityCal::__construct()
S
78 1 3
TF_Repeater::__construct()
S
78 1 3