WC_Payments_Apple_Pay_Registration S

Total Complexity 50
Dependencies 8
Dependents 1
Total lines 425
Lines of code 226
Logical lines of code 114
Comment lines 151
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
display_error_notice()
A
44 6 51
register_domain_with_apple()
S
48 4 35
copy_and_overwrite_domain_association_file()
S
62 5 10
display_live_account_notice()
S
59 3 18
update_domain_association_file()
S
59 3 15
is_hosted_domain_association_file_up_to_date()
S
60 3 12
parse_domain_association_request()
S
61 3 12
verify_domain_if_configured()
S
68 3 8
verify_domain_on_update()
S
73 3 5
get_gateway_mode_string()
S
68 3 8
is_enabled()
S
78 2 3
was_enabled()
S
71 2 5
verify_domain_on_domain_name_change()
S
71 2 6
verify_domain_on_updated_settings()
S
74 2 5
verify_domain_on_new_settings()
S
80 1 3
__construct()
S
68 1 7
whitelist_domain_association_query_param()
S
76 1 4
init_hooks()
S
72 1 5
init()
S
64 1 9
add_domain_association_rewrite_rule()
S
71 1 5