Jetpack_Testimonial B

Total Complexity 98
Dependencies 7
Dependents 0
Total lines 723
Lines of code 456
Logical lines of code 197
Comment lines 167
Methods 31
Properties 1

Methods 31

Method Rating Maintainability Complexity Lines of code
jetpack_testimonial_shortcode()
A
43 13 46
maybe_register_cpt()
A
44 13 41
jetpack_testimonial_shortcode_html()
A
43 6 54
get_testimonial_class()
S
54 6 20
coerce_testimonial_image_to_url()
S
61 6 13
register_post_types()
S
44 2 48
update_option_stat_bump()
S
66 5 8
customize_register()
S
47 2 41
setting_html()
S
54 3 22
query_reading_setting()
S
67 4 8
infinite_scroll_click_posts_per_page()
S
67 4 7
settings_api_init()
S
56 2 21
updated_messages()
S
54 2 18
site_supports_custom_post_type()
S
70 3 6
flush_rules_on_first_testimonial()
S
63 3 10
count_testimonials()
S
63 3 10
deactivation_post_type_support()
S
63 2 11
init()
S
70 2 7
change_default_title()
S
70 2 6
activation_post_type_support()
S
74 2 5
flush_rules_on_switch()
S
75 2 5
get_testimonial_thumbnail_link()
S
71 2 5
add_customize_page()
S
62 1 12
edit_title_column_label()
S
75 1 4
__construct()
S
70 1 6
add_to_sitemap()
S
77 1 4
set_testimonial_option()
S
73 1 5
flush_rules_on_enable()
S
83 1 3
new_testimonial_stat_bump()
S
80 1 3
new_activation_stat_bump()
S
80 1 3
allow_cpt_rest_api_type()
S
77 1 4