mcfrtbInit C

Total Complexity 101
Dependencies 3
Dependents 1
Total lines 611
Lines of code 346
Logical lines of code 191
Comment lines 130
Methods 22
Properties 5

Methods 22

Method Rating Maintainability Complexity Lines of code
enqueue_subscription_call()
A
44 11 44
subscribe()
A
42 10 48
get_merge_fields_data()
A
53 8 23
print_optin_field()
A
54 8 21
is_valid_api_key()
S
58 7 15
maybe_send_location_merge_field()
S
59 7 13
maybe_send_merge_fields()
S
58 6 14
enqueue_admin_assets()
S
50 5 28
add_optin_field()
S
55 4 19
load_config()
S
55 4 19
ajax_load_merge_fields()
S
61 4 11
reload_booking_meta()
S
62 4 11
validate_optin_request()
S
67 4 7
__construct()
S
60 3 12
load_api()
S
64 3 10
ajax_get_lists()
S
68 3 7
maybe_add_location_merge_field()
S
67 3 7
add_booking_meta()
S
67 2 8
maybe_add_merge_options()
S
66 2 8
init()
S
59 1 14
api_call()
S
79 1 3
get_booking_hash()
S
74 1 4