Ecwid_Static_Page C

Total Complexity 110
Dependencies 7
Dependents 12
Total lines 481
Lines of code 352
Logical lines of code 210
Comment lines 16
Methods 25
Properties 1

Methods 25

Method Rating Maintainability Complexity Lines of code
maybe_fetch_data()
D
30 34 110
is_enabled_static_home_page()
B
43 18 49
get_static_snapshot()
A
44 12 46
enqueue_scripts()
S
56 7 18
is_need_to_use_new_endpoint()
S
61 5 12
get_og_tags_html()
S
64 4 9
get_endpoint_params()
S
63 3 11
get_current_storefront_page_slug()
S
61 2 12
__construct()
S
67 2 7
is_data_available()
S
71 2 6
get_meta_description_html()
S
68 2 7
clear_cache()
S
74 2 5
get_data_field()
S
66 2 8
get_css_files()
S
68 2 7
get_accept_language()
S
74 2 4
get_data_for_current_page()
S
68 2 7
get_html_code()
S
79 1 3
get_title()
S
79 1 3
get_canonical_url()
S
79 1 3
preparing_css_url()
S
64 1 10
get_json_ld_html()
S
79 1 3
get_href_lang_html()
S
79 1 3
get_last_update()
S
79 1 3
is_enabled()
S
80 1 3
get_js_code()
S
79 1 3