Jetpack_Portfolio D

Total Complexity 141
Dependencies 5
Dependents 0
Total lines 1,104
Lines of code 715
Logical lines of code 252
Comment lines 277
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
portfolio_shortcode()
A
39 14 64
customize_register()
A
39 13 74
maybe_register_cpt()
A
44 12 41
portfolio_shortcode_html()
A
40 9 69
register_post_types()
A
33 2 121
infinite_scroll_click_posts_per_page()
A
60 9 12
portfolio_query()
A
48 7 37
query_reading_setting()
S
62 9 10
get_project_class()
S
50 7 27
setting_html()
S
48 4 38
get_project_tags()
S
55 5 18
get_project_type()
S
55 5 18
update_option_stat_bump()
S
66 5 8
updated_messages()
S
47 2 38
settings_api_init()
S
56 3 21
enqueue_admin_styles()
S
64 4 10
flush_rules_on_first_project()
S
63 3 10
sanitize_boolean_attribute()
S
71 3 6
site_supports_custom_post_type()
S
69 3 6
deactivation_post_type_support()
S
61 2 13
init()
S
69 2 7
image_column()
S
71 2 6
edit_admin_columns()
S
66 2 7
activation_post_type_support()
S
73 2 5
flush_rules_on_switch()
S
75 2 5
get_portfolio_thumbnail_link()
S
71 2 5
infinite_scroll_results()
S
75 1 4
add_to_sitemap()
S
76 1 4
allow_portfolio_rest_api_type()
S
76 1 4
__construct()
S
66 1 8
flush_rules_on_enable()
S
82 1 3
new_project_stat_bump()
S
80 1 3
new_activation_stat_bump()
S
80 1 3
get_project_author()
S
64 1 10