WC_Gateway_Swedbank_Pay_Invoice A

Total Complexity 64
Dependencies 9
Dependents 0
Total lines 608
Lines of code 394
Logical lines of code 154
Comment lines 129
Methods 11
Properties 8

Methods 11

Method Rating Maintainability Complexity Lines of code
__construct()
B
41 19 45
get_order_items()
A
40 9 64
init_form_fields()
A
33 4 125
process_payment()
S
47 6 39
validate_fields()
S
50 6 31
payment_scripts()
S
52 6 24
process_refund()
S
59 4 15
capture_payment()
S
59 4 14
get_order_info()
S
52 2 24
cancel_payment()
S
64 3 10
payment_fields()
S
81 1 3