Blockons_WC_Rest_Routes D

Total Complexity 180
Dependencies 9
Dependents 0
Total lines 1,176
Lines of code 837
Logical lines of code 379
Comment lines 176
Methods 35
Properties 0

Methods 35

Method Rating Maintainability Complexity Lines of code
prepare_email_content()
C
32 29 102
blockons_handle_contact_form_submission()
C
32 22 104
handle_file_uploads()
B
33 17 96
process_shortcodes()
A
42 12 47
prepare_email_headers()
A
46 9 40
cleanup_old_uploads()
A
51 8 26
blockons_create_rest_routes()
A
39 4 78
process_form_submission()
S
48 6 34
verify_recaptcha()
S
49 5 32
get_reply_to_email()
S
62 7 10
get_submission_title()
S
61 6 12
blockons_get_api_key()
S
56 5 17
save_form_submission()
S
54 4 21
get_client_ip()
S
55 4 20
blockons_get_product_data_by_id()
S
52 3 23
should_verify_recaptcha()
S
69 4 6
is_development_environment()
S
66 4 7
blockons_get_all_post_types()
S
60 3 13
get_email_subject()
S
60 3 13
blockons_get_post_by_id()
S
55 2 19
save_submission_metadata()
S
54 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_custom_wp_mail_from()
S
71 2 5
blockons_admin_permission()
S
79 2 3
blockons_save_settings_permission()
S
79 2 3
blockons_get_settings()
S
71 2 6
__construct()
S
79 1 3
should_save_submission()
S
78 1 3
blockons_delete_settings()
S
76 1 4
blockons_save_settings()
S
69 1 6
blockons_get_settings_permission()
S
82 1 3
blockons_custom_wp_mail_from_name()
S
80 1 3