AMP_Post_Meta_Box A

Total Complexity 60
Dependencies 5
Dependents 3
Total lines 583
Lines of code 314
Logical lines of code 117
Comment lines 197
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
enqueue_block_assets()
A
37 14 71
enqueue_admin_assets()
A
41 7 55
get_error_messages()
S
51 7 26
render_status()
S
52 6 24
save_amp_status()
S
55 6 20
update_amp_enabled_rest_field()
S
49 5 33
get_status_and_errors()
S
60 4 12
preview_post_link()
S
62 3 11
get_amp_enabled_rest_field()
S
62 3 11
init()
S
55 1 20
sanitize_status()
S
68 2 7
add_rest_api_fields()
S
60 1 14
get_featured_image_dimensions()
S
64 1 10