WC_Payments_Apple_Pay_Registration S

Total Complexity 48
Dependencies 8
Dependents 1
Total lines 400
Lines of code 207
Logical lines of code 109
Comment lines 147
Methods 19
Properties 5

Methods 19

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