M_Chart D

Total Complexity 144
Dependencies 5
Dependents 1
Total lines 1,182
Lines of code 653
Logical lines of code 328
Comment lines 289
Methods 38
Properties 17

Methods 38

Method Rating Maintainability Complexity Lines of code
validate_post_meta()
B
44 18 42
get_chart()
B
39 15 64
get_post_meta()
A
44 16 45
init()
A
34 4 110
template_redirect()
S
48 6 33
compile_unit_terms()
S
58 6 16
get_settings()
S
57 5 16
array_merge_recursive()
S
60 5 14
plugin_url()
S
58 5 13
upgrade_to_1_7_4()
S
47 3 41
get_chart_image()
S
55 4 19
chart_shortcode()
S
57 4 17
validate_data()
S
60 4 14
build_table()
S
56 3 16
update_post_meta()
S
59 3 14
generate_unit_terms()
S
59 3 13
upgrade_to_1_7()
S
55 2 21
get_chart_iframe()
S
57 2 16
is_amp_endpoint()
S
71 3 6
get_library()
S
70 3 6
m_chart_library_class()
S
64 3 10
m_chart_get_chart_image_tag()
S
61 2 13
__construct()
S
56 1 17
get_unit_terms()
S
68 2 7
admin()
S
69 2 7
m_chart_image_support()
S
71 2 6
the_content()
S
71 2 6
is_valid_library()
S
69 2 7
parse()
S
69 2 7
library()
S
70 2 6
block()
S
69 2 7
m_chart_instant_preview_support()
S
71 2 6
unicode_aware_stripslashes()
S
78 1 3
m_chart_update_post_meta()
S
79 1 3
save_post()
S
81 1 3
plugins_loaded()
S
77 1 3
get_libraries()
S
79 1 3
get_locales()
S
80 1 3