WC_Gateway_Swedbank_Pay_Invoice A

Total Complexity 61
Dependencies 9
Dependents 1
Total lines 583
Lines of code 378
Logical lines of code 145
Comment lines 125
Methods 11
Properties 7

Methods 11

Method Rating Maintainability Complexity Lines of code
__construct()
B
41 18 44
get_order_items()
A
40 9 64
init_form_fields()
A
33 4 119
validate_fields()
S
50 6 31
payment_scripts()
S
51 6 25
process_payment()
S
50 4 29
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