WC_Gateway_Buckaroo_Afterpay D

Total Complexity 175
Dependencies 7
Dependents 1
Total lines 1,206
Lines of code 965
Logical lines of code 576
Comment lines 89
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
process_payment()
D
19
42 223
process_refund()
D
25
46 156
process_partial_refunds()
C
31 23 106
payment_fields()
B
31 14 163
process_capture()
B
34 17 83
validate_fields()
A
49 12 30
init_form_fields()
A
35 4 105
__construct()
S
44 5 43
formatStreet()
S
55 4 20
getDHLParcelShopLocation()
S
61 3 12
can_refund_order()
S
80 2 3
parseSendCloudPointAddress()
S
61 1 12
parseSendcloudCityData()
S
75 1 4
response_handler()
S
74 1 5