WC_Gateway_Buckaroo_Klarna A

Total Complexity 70
Dependencies 10
Dependents 0
Total lines 583
Lines of code 459
Logical lines of code 309
Comment lines 43
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
process_payment()
D
21
32 208
payment_fields()
A
43 8 56
init_form_fields()
A
39 4 76
validate_fields()
S
57 8 15
process_refund()
S
47 4 33
formatStreet()
S
55 4 20
__construct()
S
50 3 27
can_refund_order()
S
80 2 3
response_handler()
S
64 2 9
getKlarnaSelector()
S
82 1 3
getKlarnaPaymentFlow()
S
82 1 3
getFeeTax()
S
70 1 6