SpeedSize_Helper C

Total Complexity 101
Dependencies 2
Dependents 7
Total lines 559
Lines of code 290
Logical lines of code 157
Comment lines 182
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
add_speedsize_params_as_query_string()
A
45 16 37
prefix_url()
A
48 15 30
allowed_html_attributes_filter()
S
59 4 14
whitelist_domains_filter()
S
59 4 14
add_speedsize_url_params()
S
61 4 12
get_attachment_type()
S
63 4 12
speedsize_client_forbidden_paths_filter()
S
62 4 11
css_files_parsing_excluded_keywords_filter()
S
62 4 11
get_speedsize_prefix_url()
S
61 4 11
separate_sizes_from_image_url()
S
57 3 16
get_media_url_allowed_type()
S
64 3 10
convert_wp_uploads_url_to_path()
S
66 3 7
is_url_file_exists()
S
75 2 4
home_url()
S
69 2 6
refresh_speedsize_client_whitelist_domains()
S
71 2 5
contains_speedsize_url()
S
74 2 4
is_speedsize_url()
S
74 2 4
site_url()
S
69 2 6
is_image_or_video_attachment()
S
78 2 3
refresh_speedsize_client_id_status()
S
66 2 9
refresh_speedsize_client_base_url()
S
72 2 5
refresh_speedsize_client_allow_upscale()
S
72 2 5
refresh_speedsize_client_forbidden_paths()
S
71 2 5
get_speedsize_headers()
S
64 1 11
refresh_speedsize_client_settings()
S
71 1 7
is_image_attachment()
S
79 1 3
get_media_url_allowed_types_pattern()
S
70 1 7
remove_path_from_url()
S
78 1 3
extract_domain_from_url()
S
78 1 3
strip_sizes_from_image_url()
S
77 1 3
get_attachment_original_image_url()
S
80 1 3
is_audio_attachment()
S
79 1 3
is_video_attachment()
S
79 1 3
is_valid_url_extension()
S
77 1 3