WC_Gateway_Swedbank_Pay_Invoice A

Total Complexity 62
Dependencies 9
Dependents 1
Total lines 596
Lines of code 385
Logical lines of code 146
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
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