WC_Gateway_Buckaroo_Klarna A

Total Complexity 67
Dependencies 10
Dependents 0
Total lines 582
Lines of code 452
Logical lines of code 304
Comment lines 41
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
process_payment()
D
21
30 204
payment_fields()
A
43 8 56
init_form_fields()
A
39 4 76
validate_fields()
S
57 8 15
formatStreet()
S
55 4 20
process_refund()
S
49 3 30
__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