Jetpack_Portfolio D

Total Complexity 138
Dependencies 5
Dependents 0
Total lines 925
Lines of code 606
Logical lines of code 246
Comment lines 195
Methods 32
Properties 1

Methods 32

Method Rating Maintainability Complexity Lines of code
portfolio_shortcode()
B
39 19 63
customize_register()
A
43 13 50
portfolio_shortcode_html()
A
41 9 67
__construct()
A
45 9 39
infinite_scroll_click_posts_per_page()
A
60 9 12
register_post_types()
A
34 2 108
portfolio_query()
A
50 7 31
query_reading_setting()
S
63 9 10
get_project_class()
S
53 6 21
get_project_type()
S
55 5 18
get_project_tags()
S
55 5 18
setting_html()
S
54 4 22
update_option_stat_bump()
S
67 5 8
settings_api_init()
S
56 3 21
enqueue_admin_styles()
S
69 4 6
updated_messages()
S
54 2 18
flush_rules_on_first_project()
S
63 3 10
site_supports_custom_post_type()
S
70 3 6
deactivation_post_type_support()
S
63 2 11
init()
S
70 2 7
image_column()
S
67 2 8
edit_admin_columns()
S
66 2 7
activation_post_type_support()
S
74 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
77 1 4
allow_portfolio_rest_api_type()
S
77 1 4
flush_rules_on_enable()
S
83 1 3
new_project_stat_bump()
S
80 1 3
new_activation_stat_bump()
S
80 1 3
get_project_author()
S
65 1 9