WC_Payments_Onboarding_Service C

Total Complexity 103
Dependencies 13
Dependents 5
Total lines 856
Lines of code 473
Logical lines of code 195
Comment lines 270
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
get_source()
D
29 30 146
get_from()
B
40 19 64
get_account_data()
A
41 9 61
get_cached_business_types()
S
53 5 27
create_embedded_kyc_session()
S
46 4 40
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
add_admin_body_classes()
S
70 3 6
set_test_mode()
S
66 3 8
set_onboarding_eligibility_modal_dismissed()
S
79 1 3
is_test_mode_enabled()
S
77 1 3
__construct()
S
74 1 5
clear_account_options()
S
80 1 3
clear_embedded_kyc_in_progress()
S
80 1 3
set_embedded_kyc_in_progress()
S
79 1 3
init_hooks()
S
79 1 3
is_embedded_kyc_in_progress()
S
78 1 3