-
Home
-
M Chart
-
1.10 (latest)
-
Code
-
Classes
- M_Chart
Total Complexity |
145 |
Dependencies |
4 |
Dependents |
1 |
Total lines |
1,168 |
Lines of code |
644 |
Logical lines of code |
325 |
Comment lines |
290 |
Methods |
38 |
Properties |
17 |
Methods 38
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_post_meta() |
B |
43 |
18 |
43 |
get_chart() |
B |
39 |
16 |
59 |
get_post_meta() |
A |
44 |
16 |
45 |
init() |
A |
34 |
4 |
109 |
template_redirect() |
S |
48 |
6 |
33 |
compile_unit_terms() |
S |
58 |
6 |
16 |
get_settings() |
S |
57 |
5 |
16 |
plugin_url() |
S |
57 |
5 |
15 |
array_merge_recursive() |
S |
60 |
5 |
14 |
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_library() |
S |
70 |
3 |
6 |
is_amp_endpoint() |
S |
71 |
3 |
6 |
m_chart_library_class() |
S |
64 |
3 |
10 |
m_chart_get_chart_image_tag() |
S |
61 |
2 |
13 |
get_chart_iframe() |
S |
60 |
2 |
12 |
__construct() |
S |
57 |
1 |
16 |
get_unit_terms() |
S |
68 |
2 |
7 |
m_chart_instant_preview_support() |
S |
71 |
2 |
6 |
m_chart_image_support() |
S |
71 |
2 |
6 |
shortcode_ui_before_do_shortcode() |
S |
71 |
2 |
6 |
the_content() |
S |
71 |
2 |
6 |
admin() |
S |
69 |
2 |
7 |
parse() |
S |
69 |
2 |
7 |
library() |
S |
70 |
2 |
6 |
is_valid_library() |
S |
69 |
2 |
7 |
m_chart_update_post_meta() |
S |
79 |
1 |
3 |
unicode_aware_stripslashes() |
S |
78 |
1 |
3 |
save_post() |
S |
81 |
1 |
3 |
get_libraries() |
S |
79 |
1 |
3 |
plugins_loaded() |
S |
77 |
1 |
3 |
get_locales() |
S |
80 |
1 |
3 |