WC_Gateway_Buckaroo_Afterpay D

Total Complexity 168
Dependencies 7
Dependents 1
Total lines 1,160
Lines of code 921
Logical lines of code 566
Comment lines 88
Methods 14
Properties 4

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
process_capture()
B
34 17 83
payment_fields()
A
35 8 125
validate_fields()
A
49 12 30
init_form_fields()
A
35 4 105
__construct()
S
46 4 37
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