Code Analysis: Themify Portfolio Post 1.2.8

Function Rating Maintainability Complexity Lines of code
Themify_Metabox::render_tabs()
D
25
54 131
themify_verify_assignments()
D
33 52 66
themify_create_inner_page()
C
29
27 135
themify_meta_field_assignments()
C
30 25 107
themify_get_uploader()
B
32 21 103
themify_meta_field_date()
B
45 24 31
Themify_User_Meta::user_fields()
B
39 21 63
themify_do_img()
B
36 20 78
themify_meta_field_dropdownbutton()
B
37 19 73
Themify_Metabox::save_postdata()
B
43 21 42
Themify_Term_Meta::edit_form_fields()
B
41 19 54
Themify_Term_Meta::add_form_fields()
B
41 18 52
themify_meta_field_layout()
B
45 18 34
tpp_get_pagenav()
A
40 15 56
themify_meta_field_image_radio()
A
44 16 40
tpp_get_image()
A
39 14 63
themify_meta_field_multi()
A
44 15 39
Themify_Portfolio_Post::parse_category_args()
A
40 13 68
themify_create_page_pagination()
A
45 13 43
themify_meta_field_textbox()
A
50 14 24
Themify_Metabox::_save_meta()
A
52 14 22
themify_meta_field_radio()
A
50 13 24
themify_meta_field_repeater_template()
A
46 12 36
themify_meta_field_query_category()
A
44 11 46
Themify_Metabox::themify_localize_cm_data()
A
43 11 43
Themify_Metabox::get_meta_box_options()
A
51 12 22
themify_metabox_example_meta_box_fields()
A
29
1 186
Themify_Metabox::themify_import_colors()
A
46 11 34
themify_meta_field_checkbox()
A
54 12 17
themify_wp_ajax_plupload_image()
A
43 10 42
Themify_Metabox::admin_enqueue_scripts()
A
40 9 56
themify_meta_field_dropdown()
A
51 11 24
Themify_Term_Meta::save_fields()
A
53 11 21
themify_meta_field_repeater()
A
52 11 21
themify_meta_field_video()
A
42 7 59
themify_meta_field_color()
A
54 9 17
Themify_Metabox::before_meta_field()
A
53 8 19
themify_meta_field_separator()
S
57 8 14
themify_meta_field_get_label()
S
60 8 12
themify_array_to_input()
S
51 7 26
Themify_Metabox::themify_export_colors()
S
53 7 20
themify_metabox_make_flat_fields_array()
S
55 7 20
Themify_Portfolio_Posts_Admin::get_select()
S
57 7 13
themify_make_image_size()
S
49 6 28
Themify_Portfolio_Post::register()
S
45 5 40
themify_meta_field_image()
S
44 4 51
themify_meta_field_textarea()
S
54 6 19
themify_metabox_shop_pageId()
S
56 6 18
Themify_User_Meta::save_user_field()
S
58 6 15
Themify_Metabox::protected_meta()
S
58 6 15
themify_meta_field_font()
S
45 4 44
themify_meta_field_audio()
S
45 4 44
Themify_Portfolio_Post::shortcode()
S
44 4 44
Themify_Metabox::page_options_init()
S
60 6 11
Themify_Metabox::hooks()
S
51 5 26
themify_portfolio_post_setup()
S
55 5 21
themify_meta_field_gallery_shortcode()
S
55 5 19
themify_metabox_get_field_names()
S
57 5 17
themify_meta_field_postmeta()
S
56 4 17
themify_meta_field_hidden()
S
63 5 9
Themify_Metabox::dequeue_scripts()
S
62 5 10
tpp_get_paged_query()
S
60 4 14
themify_metabox_is_woocommerce_active()
S
60 4 13
tpp_post_title()
S
55 3 18
themify_img_resize_dimensions()
S
57 3 17
themify_metabox_media_lib_browse()
S
56 3 16
Themify_Metabox::page_options_enqueue()
S
67 4 6
tpp_check()
S
66 4 8
Themify_Metabox::remove_extra_meta_boxes()
S
60 3 12
Themify_Metabox::render()
S
62 3 11
Themify_Metabox::themify_save_colors()
S
61 3 11
Themify_Term_Meta::init()
S
61 3 11
Themify_Metabox::get_meta_boxes()
S
58 2 16
themify_ajax_create_page_pagination()
S
69 3 6
tpp_get()
S
66 3 8
Themify_Portfolio_Post::locate_template()
S
67 3 8
themify_meta_field_get_description()
S
77 3 3
Themify_Portfolio_Post::load_dependencies()
S
70 3 6
Themify_Portfolio_Post::default_template()
S
67 3 7
themify_metabox_is_shop()
S
71 3 6
themify_ajax_create_inner_page()
S
63 3 10
Themify_Portfolio_Posts_Admin::attachment_fields_to_save()
S
67 3 7
Themify_Portfolio_Posts_Admin::attachment_fields_to_edit()
S
58 2 14
Themify_Portfolio_Post::actions()
S
60 2 12
Themify_Portfolio_Posts_Admin::__construct()
S
61 2 11
Themify_Metabox::add_meta_options_menu()
S
61 2 11
themify_metabox_example_user_fields()
S
56 1 20
tpp_edit_link()
S
71 2 7
themify_metabox_bootstrap()
S
73 2 5
Themify_User_Meta::get_fields()
S
71 2 6
Themify_User_Meta::get_instance()
S
78 2 3
Themify_Term_Meta::enqueue()
S
71 2 6
Themify_Metabox::admin_menu()
S
71 2 5
Themify_Portfolio_Post::admin()
S
71 2 6
Themify_Term_Meta::get_instance()
S
78 2 3
Themify_Metabox::get_instance()
S
78 2 3
Themify_Metabox::after_meta_field()
S
69 2 7
Themify_Metabox::get_meta_box()
S
74 2 4
tpp_get_post_category_classes()
S
67 2 7
Themify_Portfolio_Post::get_template()
S
66 2 9
Themify_Term_Meta::get_fields()
S
70 2 6
tpp_post_title_tag()
S
69 2 7
Themify_User_Meta::enqueue()
S
71 2 6
Themify_Portfolio_Posts_Admin::manage_and_filter()
S
63 2 9
Themify_Portfolio_Posts_Admin::type_column()
S
74 2 5
Themify_Portfolio_Post::init()
S
71 2 6
Themify_Portfolio_Post::plugin_row_meta()
S
63 2 9
Themify_Portfolio_Posts_Admin::themify_do_metaboxes()
S
60 1 13
themify_metabox_example_category_fields()
S
62 1 12
Themify_Portfolio_Posts_Admin::setup_vars()
S
74 1 4
Themify_Portfolio_Posts_Admin::taxonomy_column_id()
S
83 1 3
Themify_Portfolio_Posts_Admin::add_columns()
S
79 1 3
tpp_is_portfolio_category()
S
77 1 4
themify_metabox_example_meta_box()
S
64 1 10
Themify_Metabox::__construct()
S
75 1 4
Themify_Metabox::remove_help()
S
77 1 4
themify_remove_protocol_from_url()
S
79 1 3
themify_meta_field_post_id_info()
S
69 1 7
tpp_is_portfolio_single()
S
77 1 4
Themify_Portfolio_Post::__construct()
S
70 1 6
Themify_Metabox::page_options_updated()
S
75 1 4
Themify_Portfolio_Posts_Admin::setup_options_page()
S
77 1 3
themify_metabox_enque()
S
83 1 3
tpp_get_permalink()
S
82 1 3
Themify_Portfolio_Posts_Admin::taxonomy_header()
S
77 1 4
Themify_Term_Meta::__construct()
S
75 1 4
Themify_Metabox::before_meta_toggle_field()
S
69 1 10
Themify_Metabox::enqueue()
S
70 1 7
Themify_Portfolio_Posts_Admin::filter_load()
S
71 1 5
Themify_Portfolio_Posts_Admin::type_column_header()
S
72 1 5
Themify_Portfolio_Posts_Admin::remove_quick_edit()
S
77 1 4
themify_portfolio_posts_activation()
S
80 1 3
Themify_Portfolio_Posts_Admin::setup_portfolio_metabox()
S
79 1 3
Themify_User_Meta::__construct()
S
68 1 7
Themify_Metabox::clear_cache()
S
81 1 3
themify_uploader()
S
80 1 3
themify_get_attachment_id_from_url()
S
73 1 5
Themify_Metabox::load_meta_options()
S
64 1 9
Themify_Metabox::after_meta_toggle_field()
S
80 1 4
Themify_Metabox::includes()
S
71 1 6