Jetpack_Custom_CSS_Enhancements D

Total Complexity 132
Dependencies 9
Dependents 1
Total lines 1,302
Lines of code 843
Logical lines of code 340
Comment lines 338
Methods 42
Properties 0

Methods 42

Method Rating Maintainability Complexity Lines of code
customize_register()
A
35 8 98
admin_page()
A
39 8 84
is_start_fresh_option_enabled()
A
48 8 34
sanitize_css()
A
44 6 46
display_frontend_warning()
S
42 4 69
customize_controls_enqueue_scripts()
S
48 4 33
customize_value_custom_css()
S
57 5 16
style_filter()
S
63 6 10
revision_admin_footer()
S
48 2 59
wp_post_revision_fields()
S
58 5 14
revisions_switcher_box()
S
48 3 37
wp_custom_css_cb()
S
54 4 21
update_custom_css_data()
S
57 4 17
customize_update_custom_css_post_content_args()
S
58 4 16
preview_skip_stylesheet()
S
60 4 15
preview_content_width()
S
60 4 14
get_revisions_url()
S
60 4 12
get_all_themes_with_custom_css()
S
52 3 25
init()
S
48 2 36
update_initial_state()
S
59 3 16
set_content_width()
S
69 4 6
customize_preview_wp_get_custom_css()
S
61 3 12
jetpack_content_width()
S
63 3 11
skip_stylesheet()
S
62 3 11
customizer_link()
S
56 2 19
sanitize_preprocessor()
S
68 3 7
editor_max_image_size()
S
67 3 7
wp_enqueue_scripts()
S
63 2 12
add_hooks()
S
53 1 22
map_meta_cap()
S
71 2 6
post_id()
S
68 2 7
are_there_css_revisions()
S
69 2 7
get_themes()
S
66 2 8
echo_custom_css_partial()
S
80 1 3
is_freetrial()
S
81 1 3
get_css_post()
S
80 1 3
print_linked_custom_css()
S
69 1 6
is_preview()
S
81 1 3
intval_base10()
S
80 1 3
load_revision_php()
S
79 1 3
customize_preview_init()
S
79 1 3
sanitize_css_callback()
S
66 1 9