AMP_Post_Meta_Box A

Total Complexity 59
Dependencies 6
Dependents 3
Total lines 594
Lines of code 313
Logical lines of code 121
Comment lines 207
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
enqueue_block_assets()
A
39 12 62
enqueue_admin_assets()
A
41 7 58
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
63 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
get_amp_blocks_in_use()
S
71 1 5