AMP_Post_Template A

Total Complexity 51
Dependencies 2
Dependents 3
Total lines 507
Lines of code 212
Logical lines of code 106
Comment lines 220
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
build_post_featured_image()
S
53 5 24
build_post_comments_data()
S
55 5 20
set_data()
S
48 3 33
build_post_publish_timestamp()
S
60 4 13
is_valid_template()
S
62 4 12
build_html_tag_attributes()
S
62 4 11
verify_and_include()
S
59 3 13
__construct()
S
66 3 9
get()
S
63 3 10
load()
S
71 3 5
build_post_data()
S
57 1 17
load_parts()
S
71 2 6
build_post_content()
S
67 2 8
get_customizer_setting()
S
68 2 7
get_template_dir()
S
68 2 7
add_data()
S
79 1 3
add_data_by_key()
S
80 1 3
get_template_path()
S
79 1 3
build_customizer_settings()
S
75 1 4
locate_template()
S
74 1 4