WC_Gateway_Billmate_Invoice D

Total Complexity 285
Dependencies 9
Dependents 6
Total lines 1,686
Lines of code 1,349
Logical lines of code 777
Comment lines 114
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
process_payment()
D
17
54 240
getAddress()
D
21
59 150
getAddressPayment()
D
20
48 198
payment_fields()
C
25
20 225
__construct()
C
31 25 98
is_available()
B
42 23 44
maybe_add_handling_to_order()
B
31 16 126
process_scheduled_payment()
A
34 11 91
init_form_fields()
A
35 8 94
get_invoice_terms_link_text()
S
53 7 26
admin_options()
S
57 3 21
billmate_invoice_terms_js()
S
64 3 12
injectscripts()
S
68 2 7
woocommerce_clean()
S
70 2 6
validate_fields()
S
91 1 2
receipt_page()
S
78 1 3
get_billmate_invoice_fee_product()
S
83 1 3
get_billmate_shop_country()
S
83 1 3