Code Analysis: Portfolio Responsive Gallery 1.1.7

Function Rating Maintainability Complexity Lines of code
Portfolio_Responsive_Gallery_List_Table::add_or_edit_portfolio()
D
17
83 183
Portfolio_Responsive_Gallery_Public::ays_generate_portfolio()
D
18
35 299
Portfolio_Responsive_Gallery_Public::ays_portfolio_load_project()
C
31 22 123
Portfolio_Responsive_Gallery_List_Table::portfolio_notices()
A
52 9 24
Portfolio_Responsive_Gallery_List_Table::process_bulk_action()
A
48 8 33
Portfolio_Responsive_Gallery_Attributes_List_Table::process_bulk_action()
A
53 8 20
Portfolio_Responsive_Gallery_Attributes_List_Table::add_or_edit_portfolio_attribute()
A
44 6 46
Portfolio_Responsive_Gallery_Public::hex2rgba()
S
51 7 26
Portfolio_Responsive_Gallery_Attributes_List_Table::porfolio_attribute_notices()
S
54 7 21
Portfolio_Responsive_Gallery_List_Table::column_default()
S
58 6 17
Portfolio_Responsive_Gallery_Attributes_List_Table::column_default()
S
61 6 13
Portfolio_Responsive_Gallery_Admin::gen_ays_rpg_shortcode_callback()
S
44 2 69
Portfolio_Responsive_Gallery_Admin::ays_get_all_image_sizes()
S
58 5 14
Portfolio_Responsive_Gallery_Public::ays_get_image_size()
S
55 4 19
Portfolio_Responsive_Gallery_List_Table::get_portfolios()
S
55 4 17
Portfolio_Responsive_Gallery_Admin::display_plugin_setup_page()
S
61 4 13
Portfolio_Responsive_Gallery_Admin::display_plugin_portfolio_attributes_page()
S
61 4 13
general_prg_admin_notice()
S
55 3 27
Portfolio_Responsive_Gallery_Activator::activate()
S
48 2 41
Portfolio_Responsive_Gallery_Admin::enqueue_scripts()
S
55 3 18
Portfolio_Responsive_Gallery_Admin::portfolio_admin_footer()
S
59 3 15
Portfolio_Responsive_Gallery_List_Table::prepare_items()
S
58 3 14
Portfolio_Responsive_Gallery_Attributes_List_Table::get_portfolio_attributes()
S
58 3 14
Portfolio_Responsive_Gallery_Admin::add_plugin_admin_menu()
S
50 1 31
Portfolio_Responsive_Gallery_List_Table::record_count()
S
64 3 9
Portfolio_Responsive_Gallery_Loader::run()
S
66 3 8
Portfolio_Responsive_Gallery_Admin::ays_get_attr_for_project()
S
64 3 9
Portfolio_Responsive_Gallery_Admin::ays_get_rpg_options()
S
59 2 15
Portfolio_Responsive_Gallery_Attributes_List_Table::column_published()
S
64 3 10
Portfolio_Responsive_Gallery_Admin::enqueue_styles()
S
59 2 13
Portfolio_Responsive_Gallery::load_dependencies()
S
61 2 12
Portfolio_Responsive_Gallery::__construct()
S
62 2 12
Portfolio_Responsive_Gallery_Admin::prg_deactivate_plugin_option()
S
62 2 11
Portfolio_Responsive_Gallery_Public::enqueue_scripts_and_styles()
S
58 1 18
Portfolio_Responsive_Gallery_Public::array_split()
S
64 2 9
Portfolio_Responsive_Gallery_Activator::ays_prg_db_check()
S
71 2 6
Portfolio_Responsive_Gallery::define_admin_hooks()
S
59 1 13
Portfolio_Responsive_Gallery_Public::enqueue_scripts()
S
58 1 13
Portfolio_Responsive_Gallery_List_Table::delete_portfolios()
S
62 1 13
Portfolio_Responsive_Gallery_Attributes_List_Table::prepare_items()
S
61 1 12
Portfolio_Responsive_Gallery_List_Table::get_columns()
S
62 1 11
Portfolio_Responsive_Gallery_Attributes_List_Table::get_columns()
S
62 1 11
Portfolio_Responsive_Gallery_Deactivator::deactivate()
S
89 1 2
Portfolio_Responsive_Gallery_Attributes_List_Table::delete_portfolio_attribute()
S
67 1 8
Portfolio_Responsive_Gallery_Loader::add_filter()
S
77 1 3
Portfolio_Responsive_Gallery_Public::get_project_by_id()
S
69 1 6
Portfolio_Responsive_Gallery_Admin::add_action_links()
S
65 1 8
Portfolio_Responsive_Gallery_List_Table::get_portfolio_by_id()
S
69 1 6
Portfolio_Responsive_Gallery_Attributes_List_Table::column_name()
S
63 1 9
Portfolio_Responsive_Gallery_Admin::display_plugin_portfolio_how_to_use_page()
S
81 1 3
Portfolio_Responsive_Gallery_Admin::set_screen()
S
81 1 3
Portfolio_Responsive_Gallery_Admin::screen_option_portfolio()
S
64 1 10
Portfolio_Responsive_Gallery_Admin::screen_option_portfolio_attributes()
S
64 1 10
Portfolio_Responsive_Gallery::get_plugin_name()
S
82 1 3
Portfolio_Responsive_Gallery_Attributes_List_Table::no_items()
S
80 1 3
Portfolio_Responsive_Gallery_Public::enqueue_styles()
S
65 1 8
Portfolio_Responsive_Gallery_List_Table::get_projects_by_portfolio_id()
S
69 1 6
Portfolio_Responsive_Gallery_Admin::__construct()
S
72 1 5
Portfolio_Responsive_Gallery_Attributes_List_Table::__construct()
S
65 1 9
Portfolio_Responsive_Gallery_List_Table::column_cb()
S
74 1 5
Portfolio_Responsive_Gallery_Loader::add_action()
S
77 1 3
Portfolio_Responsive_Gallery_Public::get_projects_by_portfolio_id()
S
69 1 6
Portfolio_Responsive_Gallery_List_Table::get_sortable_columns()
S
69 1 7
Portfolio_Responsive_Gallery_Admin::ays_rpg_add_tinymce_button()
S
77 1 4
Portfolio_Responsive_Gallery_Public::ays_portfolio_generate_shortcode()
S
72 1 5
Portfolio_Responsive_Gallery_Public::get_portfolio_attributes_for_projects()
S
70 1 6
Portfolio_Responsive_Gallery_Public::get_project_attribute_by_slug()
S
69 1 6
Portfolio_Responsive_Gallery_Admin::ays_rpg_register_tinymce_plugin()
S
76 1 4
Portfolio_Responsive_Gallery_Public::__construct()
S
72 1 5
run_portfolio_responsive_gallery()
S
73 1 5
Portfolio_Responsive_Gallery_List_Table::no_items()
S
80 1 3
Portfolio_Responsive_Gallery::define_public_hooks()
S
68 1 7
Portfolio_Responsive_Gallery::get_version()
S
82 1 3
Portfolio_Responsive_Gallery_Attributes_List_Table::column_cb()
S
74 1 5
Portfolio_Responsive_Gallery_Attributes_List_Table::get_sortable_columns()
S
66 1 9
Portfolio_Responsive_Gallery_Attributes_List_Table::get_new_attr_id()
S
69 1 6
Portfolio_Responsive_Gallery_Attributes_List_Table::get_portfolio_attribute_by_id()
S
69 1 6
Portfolio_Responsive_Gallery_Loader::add()
S
64 1 10
Portfolio_Responsive_Gallery_Public::get_portfolio_by_id()
S
69 1 6
Portfolio_Responsive_Gallery_i18n::load_plugin_textdomain()
S
69 1 7
Portfolio_Responsive_Gallery_List_Table::__construct()
S
65 1 9
Portfolio_Responsive_Gallery::get_loader()
S
82 1 3
Portfolio_Responsive_Gallery::set_locale()
S
75 1 4
Portfolio_Responsive_Gallery::run()
S
82 1 3
Portfolio_Responsive_Gallery_Attributes_List_Table::record_count()
S
72 1 5
Portfolio_Responsive_Gallery_Loader::__construct()
S
77 1 4
activate_portfolio_responsive_gallery()
S
76 1 4
Portfolio_Responsive_Gallery_List_Table::get_bulk_actions()
S
71 1 6
Portfolio_Responsive_Gallery_List_Table::column_name()
S
63 1 9
Portfolio_Responsive_Gallery_List_Table::get_portfolio_attributes_for_projects()
S
70 1 6
Portfolio_Responsive_Gallery_List_Table::column_shortcode()
S
79 1 3
Portfolio_Responsive_Gallery_Public::ays_initialize_portfolio_shortcode()
S
91 1 2
Portfolio_Responsive_Gallery_Attributes_List_Table::get_bulk_actions()
S
71 1 6
deactivate_portfolio_responsive_gallery()
S
76 1 4
Portfolio_Responsive_Gallery_Attributes_List_Table::column_slug()
S
79 1 3