WC_Payments_Onboarding_Service D

Total Complexity 128
Dependencies 13
Dependents 5
Total lines 1,101
Lines of code 602
Logical lines of code 260
Comment lines 359
Methods 25
Properties 3

Methods 25

Method Rating Maintainability Complexity Lines of code
get_source()
D
29 30 146
get_from()
B
40 19 64
get_account_data()
B
37 15 77
get_capabilities_from_request()
S
48 6 38
create_embedded_kyc_session()
S
43 5 49
get_cached_business_types()
S
53 5 27
update_enabled_payment_methods_ids()
S
54 5 23
get_onboarding_user_data()
S
58 5 14
get_actioned_notes()
S
50 4 29
get_fields_data()
S
55 4 22
finalize_embedded_kyc()
S
54 4 21
is_valid_cached_business_types()
S
65 5 9
get_recommended_payment_methods()
S
58 3 17
maybe_add_test_drive_settings_to_new_account_request()
S
62 3 13
add_admin_body_classes()
S
70 3 6
set_test_mode()
S
66 3 8
exclude_placeholder_payment_methods()
S
63 1 11
is_test_mode_enabled()
S
77 1 3
__construct()
S
74 1 5
set_onboarding_eligibility_modal_dismissed()
S
79 1 3
clear_account_options()
S
77 1 4
clear_embedded_kyc_in_progress()
S
80 1 3
set_embedded_kyc_in_progress()
S
79 1 3
init_hooks()
S
75 1 4
is_embedded_kyc_in_progress()
S
78 1 3