WC_Gateway_Buckaroo_Afterpay D

Total Complexity 173
Dependencies 7
Dependents 1
Total lines 1,187
Lines of code 960
Logical lines of code 579
Comment lines 75
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
process_refund()
D
25
46 156
process_payment()
D
19
41 229
process_partial_refunds()
C
31 23 104
payment_fields()
B
31 14 158
process_capture()
B
35 16 80
validate_fields()
A
49 12 30
init_form_fields()
A
35 4 105
__construct()
S
44 5 42
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