Blockons_WC_Rest_Routes D

Total Complexity 172
Dependencies 8
Dependents 0
Total lines 1,127
Lines of code 801
Logical lines of code 363
Comment lines 167
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
prepare_email_content()
C
33 29 102
blockons_handle_contact_form_submission()
C
33 22 98
handle_file_uploads()
B
33 17 96
process_shortcodes()
A
42 12 47
prepare_email_headers()
A
46 9 39
cleanup_old_uploads()
A
51 8 26
process_form_submission()
S
48 6 33
blockons_create_rest_routes()
S
40 3 70
verify_recaptcha()
S
49 5 32
get_reply_to_email()
S
62 7 10
get_submission_title()
S
61 6 12
save_form_submission()
S
54 4 21
get_client_ip()
S
55 4 20
blockons_get_product_data_by_id()
S
52 3 23
is_development_environment()
S
66 4 7
should_verify_recaptcha()
S
69 4 6
get_email_subject()
S
60 3 13
blockons_get_all_post_types()
S
60 3 13
save_submission_metadata()
S
54 2 19
blockons_get_post_by_id()
S
55 2 19
blockons_get_wc_products()
S
59 2 15
get_add_to_cart_form()
S
60 2 14
get_metadata_content()
S
60 2 13
blockons_get_wc_product_by_id()
S
57 1 17
blockons_save_settings_permission()
S
79 2 3
blockons_get_settings()
S
71 2 6
blockons_custom_wp_mail_from()
S
71 2 5
blockons_custom_wp_mail_from_name()
S
80 1 3
blockons_get_settings_permission()
S
82 1 3
blockons_save_settings()
S
69 1 6
blockons_delete_settings()
S
76 1 4
should_save_submission()
S
78 1 3
__construct()
S
79 1 3