WC_Layup_Gateway B

Total Complexity 94
Dependencies 1
Dependents 0
Total lines 1,244
Lines of code 726
Logical lines of code 329
Comment lines 55
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
process_payment()
D
18
42 269
layup_callback()
C
29
21 143
admin_notices()
A
47 8 36
init_form_fields()
A
34 1 128
__construct()
S
41 3 59
validate_merchant_api_key()
S
50 5 27
validate_lu_api_key_field()
S
58 4 15
generate_layup_sku()
S
57 3 16
is_valid_for_use()
S
65 4 9
admin_options()
S
56 2 20
process_admin_options()
S
76 1 4