WC_Gateway_Swedbank_Pay_Invoice A

Total Complexity 62
Dependencies 9
Dependents 1
Total lines 640
Lines of code 418
Logical lines of code 146
Comment lines 137
Methods 12
Properties 7

Methods 12

Method Rating Maintainability Complexity Lines of code
__construct()
B
37 18 69
get_order_items()
A
40 9 64
init_form_fields()
A
33 4 119
validate_fields()
S
50 6 31
payment_scripts()
S
52 6 24
process_payment()
S
51 4 28
process_refund()
S
55 4 20
capture_payment()
S
56 4 19
cancel_payment()
S
59 3 15
get_order_info()
S
52 2 24
payment_fields()
S
81 1 3
thankyou_page()
S
91 1 2