Code Analysis: Additional Variation Images Gallery for WooCommerce 1.3.5

Function Rating Maintainability Complexity Lines of code
GetWooPlugins_Admin_Settings::output_fields()
D
5
93 492
Woo_Variation_Gallery_Compatibility::set_default_width_based_on_theme()
D
32 36 108
GetWooPlugins_Admin_Settings::save_fields()
D
33 35 85
GetWooPlugins_Plugin_Deactivate_Feedback::send()
A
36 13 72
Woo_Variation_Gallery_Frontend::get_gallery_image_html()
A
43 15 39
GetWooPlugins_Admin_Menus::save_settings()
A
51 16 21
woo_variation_gallery_settings()
A
27
1 208
GetWooPlugins_Settings_Page::output_sections_as_tab()
A
44 12 43
Woo_Variation_Gallery_Export_Import::get_attachment_id_from_url()
A
40 10 65
wvg_get_gallery_image_props()
A
35 8 93
Woo_Variation_Gallery_Frontend::get_product_attachment_props()
A
35 8 93
GetWooPlugins_Admin_Settings::get_field_description()
A
50 12 28
Woo_Variation_Gallery_Settings::get_settings()
A
30 2 167
Woo_Variation_Gallery_Settings::get_settings_for_default_section()
A
30 1 166
wvg_hook_info()
A
45 8 41
Woo_Variation_Gallery_Settings::get_settings_for_configure_section()
A
33 1 133
GetWooPlugins_Admin_Menus::update_menu_highlight()
A
56 8 17
wvg_get_default_gallery_images()
S
50 7 26
Woo_Variation_Gallery_Frontend::get_default_gallery_images()
S
50 7 26
GetWooPlugins_Admin_Settings::get_option()
S
52 7 24
GetWooPlugins_Settings_Page::output_sections()
S
53 7 20
GetWooPlugins_Admin_Settings::show_messages()
S
57 7 16
Woo_Variation_Gallery_Frontend::get_available_variation_gallery()
S
49 6 31
Woo_Variation_Gallery_Migrate::migrate_images()
S
53 6 23
Woo_Variation_Gallery_Migrate_Request::task()
S
53 6 22
wvg_get_product_default_variation_id()
S
54 6 20
Woo_Variation_Gallery_Frontend::enqueue_scripts()
S
43 4 43
wvg_available_variation_gallery()
S
52 5 25
Woo_Variation_Gallery_Export_Import::export_column_data()
S
54 5 20
Woo_Variation_Gallery_Backend::gallery_admin_html()
S
50 4 34
Woo_Variation_Gallery_Frontend::get_product_default_variation_id()
S
56 5 18
Woo_Variation_Gallery_Frontend::get_product_default_attributes()
S
56 5 17
wvg_get_product_default_attributes()
S
56 5 17
GetWooPlugins_Admin_Menus::menu_sort()
S
59 5 14
Woo_Variation_Gallery_Migration::init()
S
58 5 14
GetWooPlugins_Admin_Menus::get_settings_link()
S
60 5 13
wvg_get_gallery_image_html()
S
50 4 25
Woo_Variation_Gallery_REST_API::rest_get_image_data()
S
51 4 25
wvg_gallery_admin_html()
S
53 4 24
Woo_Variation_Gallery_Settings::get_settings_for_advanced_section()
S
40 1 68
Woo_Variation_Gallery_REST_API::rest_api_response()
S
58 4 16
woo_variation_gallery_images_rest_set_response()
S
58 4 16
Woo_Variation_Gallery_Settings::output()
S
63 5 10
Woo_Variation_Gallery_Export_Import::process_wc_import()
S
58 4 14
GetWooPlugins_Settings_Page::action()
S
58 4 14
Woo_Variation_Gallery_Frontend::get_variation_gallery_images()
S
60 4 13
Woo_Variation_Gallery_Frontend::gallery_template()
S
61 4 13
Woo_Variation_Gallery_Frontend::gallery_template_part()
S
61 4 13
GetWooPlugins_Admin_Menus::admin_scripts()
S
50 3 28
wvg_gallery_template_part_override()
S
61 4 13
wvg_gallery_template_override()
S
61 4 13
wvg_get_variation_gallery_images()
S
60 4 13
Woo_Variation_Gallery_Frontend::disable_for_specific_product_type()
S
61 4 12
wvg_disable_for_specific_product_type()
S
61 4 12
GetWooPlugins_Settings_Page::generate_id()
S
61 4 11
Woo_Variation_Gallery_Deactivate_Feedback::reasons()
S
45 1 51
GetWooPlugins_Plugin_Deactivate_Feedback::enqueue_scripts()
S
54 3 20
woo_variation_gallery_images_rest_get_image()
S
54 3 20
GetWooPlugins_Admin_Menus::admin_menu()
S
57 3 17
Woo_Variation_Gallery::get_option()
S
66 4 8
wvg_array_to_html_attributes()
S
60 3 14
Woo_Variation_Gallery_Backend::admin_enqueue_scripts()
S
58 3 14
GetWooPlugins_Settings_Page::get_settings_for_section()
S
59 3 14
wvg_cache_variation_ajax()
S
59 3 13
wvg_save_variation_gallery()
S
62 3 12
Woo_Variation_Gallery_Backend::save_product_variation()
S
62 3 12
Woo_Variation_Gallery_Frontend::body_class()
S
62 3 11
Woo_Variation_Gallery_Frontend::add_inline_style()
S
52 2 21
Woo_Variation_Gallery_Settings::get_own_sections()
S
55 2 20
Woo_Variation_Gallery_Migrate::add_migration_list()
S
49 1 33
Woo_Variation_Gallery_Migration::queue_migration()
S
58 2 16
woo_variation_gallery()
S
66 3 9
wvg_get_default_gallery()
S
65 3 9
wvg_get_variation_gallery()
S
65 3 9
Woo_Variation_Gallery_Compatibility::dokan_enqueue_scripts()
S
73 3 5
Woo_Variation_Gallery_Settings::show_save_button()
S
69 3 6
Woo_Variation_Gallery_Settings::show_sidebar()
S
70 3 6
Woo_Variation_Gallery_Settings::notices()
S
71 3 5
Woo_Variation_Gallery_Backend::activate_redirect()
S
67 3 7
Woo_Variation_Gallery_Backend::remove_option()
S
67 3 7
Woo_Variation_Gallery_Frontend::get_variation_gallery()
S
64 3 9
Woo_Variation_Gallery::update_options()
S
70 3 6
Woo_Variation_Gallery_Frontend::get_default_gallery()
S
64 3 9
Woo_Variation_Gallery_Compatibility::dokan_variable_attributes()
S
72 3 5
GetWooPlugins_Admin_Menus::settings_menu()
S
58 2 15
GetWooPlugins_Admin_Settings::output()
S
66 3 7
Woo_Variation_Gallery_Compatibility::dokan_footer()
S
73 3 5
GetWooPlugins_Admin_Settings::popup_template_links()
S
66 3 8
woo_variation_gallery_wc_requirement_notice()
S
58 2 14
Woo_Variation_Gallery_Settings::delete_old_option_data()
S
52 1 29
wvg_add_migration()
S
52 1 27
Woo_Variation_Gallery_Backend::plugin_action_links()
S
60 2 12
Woo_Variation_Gallery_Export_Import::hooks()
S
57 1 19
wvg_product_loop_post_class()
S
71 2 6
Woo_Variation_Gallery_Export_Import::instance()
S
72 2 6
GetWooPlugins_Admin_Menus::get_settings_pages()
S
72 2 6
Woo_Variation_Gallery_Migrate::instance()
S
72 2 6
GetWooPlugins_Admin_Settings::get_settings_pages()
S
66 2 8
Woo_Variation_Gallery_Frontend::instance()
S
72 2 6
GetWooPlugins_Settings_Page::normalize_required_attribute()
S
68 2 7
GetWooPlugins_Plugin_Deactivate_Feedback::dialog()
S
65 2 8
Woo_Variation_Gallery_Backend::get_pro_link()
S
65 2 9
Woo_Variation_Gallery_Migration::dismiss_notice()
S
66 2 8
Woo_Variation_Gallery_Migration::migrate_notice()
S
68 2 7
Woo_Variation_Gallery_REST_API::instance()
S
72 2 6
GetWooPlugins_Settings_Page::is_current_tab()
S
77 2 3
GetWooPlugins_Settings_Page::array_insert_after()
S
68 2 6
GetWooPlugins_Settings_Page::array_insert_before()
S
68 2 6
GetWooPlugins_Settings_Page::get_settings()
S
74 2 4
Woo_Variation_Gallery_Backend::plugin_row_meta()
S
62 2 10
GetWooPlugins_Settings_Page::output()
S
67 2 8
GetWooPlugins_Settings_Page::save()
S
72 2 6
Woo_Variation_Gallery_Compatibility::kalium_theme_compatibility()
S
65 2 9
Woo_Variation_Gallery_Backend::instance()
S
72 2 6
Woo_Variation_Gallery_Compatibility::avada_theme_compatibility()
S
68 2 7
Woo_Variation_Gallery_Settings::sidebar()
S
73 2 5
Woo_Variation_Gallery_Compatibility::oxygen_theme_compatibility()
S
73 2 5
Woo_Variation_Gallery_Frontend::gallery_thumbnail_image_width()
S
69 2 6
wvg_array_insert_after()
S
68 2 6
wvg_oxygen_theme_support()
S
74 2 5
wvg_is_ie11()
S
69 2 6
wvg_gallery_thumbnail_image_width()
S
72 2 5
wvg_get_product_variations()
S
71 2 6
wvg_clear_default_variation_transient_by_product()
S
71 2 6
Woo_Variation_Gallery_Compatibility::duplicator_variation_save()
S
70 2 6
Woo_Variation_Gallery_Compatibility::duplicator_image_saved_to()
S
70 2 6
Woo_Variation_Gallery_Settings::output()
S
64 2 10
Woo_Variation_Gallery_Compatibility::duplicator_image_saved_from()
S
70 2 6
wvg_array_insert_before()
S
68 2 6
Woo_Variation_Gallery::instance()
S
72 2 6
Woo_Variation_Gallery_Frontend::get_available_variations()
S
71 2 6
Woo_Variation_Gallery::get_inline_style()
S
67 2 7
Woo_Variation_Gallery_Compatibility::instance()
S
72 2 6
wvg_generate_inline_style()
S
67 2 7
Woo_Variation_Gallery_Deactivate_Feedback::instance()
S
72 2 6
Woo_Variation_Gallery::set_rtl_by_position()
S
77 2 3
Woo_Variation_Gallery_Frontend::gallery_inline_style()
S
65 2 8
GetWooPlugins_Admin_Menus::instance()
S
72 2 6
Woo_Variation_Gallery_Backend::hooks()
S
59 1 14
Woo_Variation_Gallery_Frontend::hooks()
S
58 1 14
Woo_Variation_Gallery_Frontend::clean_css()
S
61 1 13
Woo_Variation_Gallery_Compatibility::hooks()
S
60 1 12
Woo_Variation_Gallery_Migration::notice_markup()
S
63 1 11
Woo_Variation_Gallery_Settings::tutorial_section()
S
74 1 5
wvg_woothumbs_migration_queue()
S
76 1 4
Woo_Variation_Gallery_Settings::tutorial_section()
S
70 1 6
Woo_Variation_Gallery_Migrate_Request::batch_limit_exceeded()
S
82 1 3
Woo_Variation_Gallery_Frontend::get_available_variation()
S
73 1 5
wvg_wc_avi_migration_queue()
S
76 1 4
Woo_Variation_Gallery::basename()
S
80 1 3
GetWooPlugins_Plugin_Deactivate_Feedback::slug()
S
100 1 0
Woo_Variation_Gallery_Migrate_Request::is_running()
S
81 1 3
Woo_Variation_Gallery_Settings::get_sections()
S
66 1 8
wvg_avmi_migration_queue()
S
76 1 4
GetWooPlugins_Settings_Page::get_menu_name()
S
100 1 0
GetWooPlugins_Admin_Settings::normalize_id()
S
77 1 3
GetWooPlugins_Plugin_Deactivate_Feedback::get_theme_version()
S
80 1 3
GetWooPlugins_Plugin_Deactivate_Feedback::version()
S
100 1 0
Woo_Variation_Gallery::version()
S
80 1 3
Woo_Variation_Gallery_Migrate::woothumbs_migration_queue()
S
75 1 4
Woo_Variation_Gallery_Frontend::slider_template_js()
S
70 1 6
GetWooPlugins_Settings_Page::__construct()
S
67 1 7
Woo_Variation_Gallery_Migrate::includes()
S
79 1 3
Woo_Variation_Gallery::template_path()
S
78 1 3
Woo_Variation_Gallery::get_frontend()
S
81 1 3
Woo_Variation_Gallery_Backend::includes()
S
69 1 7
Woo_Variation_Gallery_Migrate::wc_avi_migration_queue()
S
75 1 4
Woo_Variation_Gallery_Export_Import::__construct()
S
71 1 6
Woo_Variation_Gallery_Settings::get_label()
S
79 1 3
Woo_Variation_Gallery::plugin_dirname()
S
80 1 3
GetWooPlugins_Plugin_Deactivate_Feedback::get_theme_dir()
S
79 1 3
Woo_Variation_Gallery::plugin_activated()
S
75 1 4
Woo_Variation_Gallery::get_options()
S
80 1 3
Woo_Variation_Gallery_Frontend::includes()
S
79 1 3
Woo_Variation_Gallery_Backend::init()
S
70 1 7
Woo_Variation_Gallery_Backend::load_settings()
S
75 1 4
Woo_Variation_Gallery_Export_Import::includes()
S
91 1 2
GetWooPlugins_Plugin_Deactivate_Feedback::__construct()
S
75 1 4
Woo_Variation_Gallery_REST_API::includes()
S
91 1 2
Woo_Variation_Gallery_Deactivate_Feedback::version()
S
81 1 3
Woo_Variation_Gallery_Deactivate_Feedback::slug()
S
81 1 3
Woo_Variation_Gallery_Migrate::rtwpvg_migration_queue()
S
75 1 4
Woo_Variation_Gallery_Migrate::init()
S
91 1 2
Woo_Variation_Gallery_Migrate_Request::is_migrateable()
S
82 1 3
Woo_Variation_Gallery_Migrate::hooks()
S
69 1 6
Woo_Variation_Gallery_Settings::save()
S
73 1 5
Woo_Variation_Gallery_Migrate::__construct()
S
71 1 6
GetWooPlugins_Admin_Settings::add_error()
S
79 1 3
Woo_Variation_Gallery_Export_Import::export_column_name()
S
75 1 4
Woo_Variation_Gallery_Frontend::__construct()
S
71 1 6
wvg_remove_default_template()
S
76 1 4
GetWooPlugins_Settings_Page::modal_template_id()
S
79 1 3
wvg_enable_theme_support()
S
78 1 4
Woo_Variation_Gallery_Compatibility::theme_compatibility()
S
75 1 5
woo_variation_gallery_settings()
S
77 1 4
GetWooPlugins_Settings_Page::get_title()
S
100 1 0
woo_variation_gallery_settings_menu()
S
64 1 9
GetWooPlugins_Admin_Menus::settings_page()
S
82 1 3
wvg_clear_default_variation_transient_by_variation()
S
77 1 4
Woo_Variation_Gallery_Export_Import::default_import_column_name()
S
75 1 4
wvg_wc_product_loop_post_class()
S
77 1 4
GetWooPlugins_Plugin_Deactivate_Feedback::plugin_ignore_list()
S
68 1 9
Woo_Variation_Gallery::images_url()
S
78 1 3
GetWooPlugins_Settings_Page::get_label()
S
100 1 0
Woo_Variation_Gallery_Frontend::post_class()
S
77 1 4
GetWooPlugins_Plugin_Deactivate_Feedback::get_theme_name()
S
80 1 3
Woo_Variation_Gallery_REST_API::__construct()
S
71 1 6
Woo_Variation_Gallery_Frontend::init()
S
82 1 3
Woo_Variation_Gallery_Deactivate_Feedback::options()
S
81 1 3
GetWooPlugins_Admin_Menus::load_css()
S
76 1 4
Woo_Variation_Gallery_Export_Import::import_column_name()
S
75 1 4
GetWooPlugins_Plugin_Deactivate_Feedback::options()
S
100 1 0
Woo_Variation_Gallery_Migrate_Request::__construct()
S
70 1 6
Woo_Variation_Gallery::get_backend()
S
81 1 3
Woo_Variation_Gallery_Migrate_Request::complete()
S
72 1 5
GetWooPlugins_Admin_Settings::action()
S
78 1 3
Woo_Variation_Gallery::includes()
S
76 1 4
Woo_Variation_Gallery_Settings::migration_section()
S
70 1 6
GetWooPlugins_Admin_Menus::settings_page_init()
S
81 1 3
wvg_get_simple_embed_url()
S
65 1 9
Woo_Variation_Gallery_Deactivate_Feedback::__construct()
S
81 1 3
GetWooPlugins_Settings_Page::modal_dialog()
S
75 1 4
GetWooPlugins_Settings_Page::get_own_sections()
S
78 1 3
Woo_Variation_Gallery_Compatibility::includes()
S
91 1 2
Woo_Variation_Gallery::plugin_basename()
S
80 1 3
Woo_Variation_Gallery_Export_Import::init()
S
91 1 2
Woo_Variation_Gallery::is_pro()
S
82 1 3
GetWooPlugins_Settings_Page::get_settings_for_section_core()
S
82 1 3
Woo_Variation_Gallery_Backend::get_admin_menu()
S
82 1 3
Woo_Variation_Gallery_Frontend::get_embed_url()
S
65 1 9
Woo_Variation_Gallery::assets_path()
S
79 1 3
Woo_Variation_Gallery_Settings::__construct()
S
75 1 5
GetWooPlugins_Admin_Settings::add_message()
S
79 1 3
Woo_Variation_Gallery_Backend::__construct()
S
71 1 6
Woo_Variation_Gallery::plugin_path()
S
80 1 3
Woo_Variation_Gallery_Settings::plugins_tab()
S
79 1 3
Woo_Variation_Gallery::hooks()
S
78 1 3
GetWooPlugins_Admin_Settings::save()
S
65 1 9
Woo_Variation_Gallery_Settings::get_id()
S
82 1 3
Woo_Variation_Gallery::include_path()
S
78 1 3
Woo_Variation_Gallery_REST_API::hooks()
S
71 1 6
Woo_Variation_Gallery_Compatibility::get_available_preview_variation()
S
78 1 3
Woo_Variation_Gallery_Settings::hooks()
S
69 1 6
Woo_Variation_Gallery_Frontend::enable_theme_support()
S
74 1 5
Woo_Variation_Gallery_Deactivate_Feedback::includes()
S
91 1 2
Woo_Variation_Gallery_Compatibility::__construct()
S
71 1 6
Woo_Variation_Gallery_Settings::__construct()
S
65 1 8
GetWooPlugins_Settings_Page::get_sections()
S
75 1 4
Woo_Variation_Gallery_Backend::init_settings()
S
76 1 4
Woo_Variation_Gallery::init()
S
78 1 4
GetWooPlugins_Settings_Page::get_id()
S
100 1 0
woo_variation_gallery_settings_menu()
S
64 1 9
Woo_Variation_Gallery::language()
S
77 1 3
Woo_Variation_Gallery_Settings::get_title()
S
79 1 3
Woo_Variation_Gallery_Migrate::smart_variations_images_migration_queue()
S
75 1 4
Woo_Variation_Gallery_REST_API::init()
S
91 1 2
Woo_Variation_Gallery_Compatibility::init()
S
91 1 2
Woo_Variation_Gallery::org_assets_url()
S
79 1 3
Woo_Variation_Gallery::assets_url()
S
78 1 3
Woo_Variation_Gallery_Migrate::avmi_migration_queue()
S
75 1 4
GetWooPlugins_Admin_Menus::__construct()
S
75 1 5
GetWooPlugins_Plugin_Deactivate_Feedback::get_parent_theme_dir()
S
79 1 3
GetWooPlugins_Admin_Menus::hooks()
S
65 1 8
GetWooPlugins_Plugin_Deactivate_Feedback::get_parent_theme_name()
S
79 1 3
Woo_Variation_Gallery_Frontend::remove_default_template()
S
75 1 4
Woo_Variation_Gallery::plugin_url()
S
79 1 3
GetWooPlugins_Admin_Menus::init()
S
91 1 2
Woo_Variation_Gallery_Settings::get_menu_name()
S
79 1 3
GetWooPlugins_Settings_Page::save_settings_for_current_section()
S
73 1 5
Woo_Variation_Gallery::assets_version()
S
80 1 3
Woo_Variation_Gallery_Settings::get_all_image_sizes()
S
62 1 10
wvg_smart_variations_images_migration_queue()
S
76 1 4
GetWooPlugins_Admin_Settings::add_notice()
S
79 1 3
wvg_get_product_variation()
S
73 1 5
GetWooPlugins_Admin_Menus::includes()
S
79 1 3
GetWooPlugins_Plugin_Deactivate_Feedback::reasons()
S
100 1 0
Woo_Variation_Gallery::__construct()
S
71 1 6
GetWooPlugins_Settings_Page::add_settings_page()
S
69 1 7
Woo_Variation_Gallery_Backend::admin_template_js()
S
70 1 6