WPRNE_Rest_Api A

Total Complexity 52
Dependencies 0
Dependents 1
Total lines 591
Lines of code 417
Logical lines of code 188
Comment lines 38
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
get_init_data()
A
46 7 39
create_post()
S
50 7 28
rest_api_init()
S
38 2 90
get_post_types()
S
49 6 30
insert_media_from_url()
S
45 3 41
custom_rest_api_response()
S
60 4 13
insert_media()
S
50 3 28
insert_font()
S
57 3 17
acf_get_fields()
S
60 3 14
get_apps()
S
64 2 10
add_push_notif_token()
S
60 1 14
add_template()
S
60 1 14
edit_app()
S
62 1 12
delete_app()
S
61 1 12
handle_preflight()
S
72 1 6
permission_check()
S
75 1 4
save_apps()
S
66 1 9
save_pages()
S
63 1 10
get_pages()
S
66 1 8
save_templates()
S
65 1 9
get_templates()
S
74 1 4
save_license()
S
72 1 5