WC_Billingo D

Total Complexity 205
Dependencies 27
Dependents 1
Total lines 1,262
Lines of code 824
Logical lines of code 510
Comment lines 240
Methods 30
Properties 1

Methods 30

Method Rating Maintainability Complexity Lines of code
generateInvoice()
D
13
66 300
on_order_state_change()
A
46 16 33
applyVatRule()
A
52 13 20
findOrCreatePartnerId()
A
40 9 57
action_woocommerce_email_before_order_table()
A
47 9 34
callApiEndpoint()
A
44 8 44
generateDownloadLink()
A
50 8 28
getTaxNumber()
A
54 8 19
isInvoiceGenerated()
S
56 7 20
init()
S
48 6 31
stornoInvoice()
S
49 6 30
getInvoiceGenerated()
S
57 6 19
ajax_stornoInvoice()
S
51 4 25
getCouponObjectsForOrder()
S
57 3 16
remove_checkout_optional_fields_label()
S
66 4 7
debugLog()
S
57 3 15
getInvoiceNumber()
S
59 3 14
getTaxType()
S
62 3 11
convertOldInvoiceIdIfNeeded()
S
56 2 18
get_available_payment_methods()
S
64 3 10
wc_billingo_already()
S
58 2 15
getProductSKU()
S
66 3 8
wc_billingo_already_back()
S
59 2 13
isNullOrEmptyString()
S
77 2 3
add_vat_number_info_notice()
S
72 2 5
save_vat_number()
S
72 2 5
display_vat_number()
S
70 2 5
ajax_generateInvoice()
S
69 1 6
add_vat_number_checkout_field()
S
63 1 10
getBillingoConfig()
S
77 1 3