WC_Billingo D

Total Complexity 259
Dependencies 9
Dependents 1
Total lines 1,337
Lines of code 881
Logical lines of code 515
Comment lines 210
Methods 40
Properties 2

Methods 40

Method Rating Maintainability Complexity Lines of code
generateInvoice()
D
22
54 150
createProductItems()
D
28
31 126
on_order_state_change()
A
46 16 33
getInvoiceNumberGenerated()
A
55 12 19
getInvoiceGenerated()
A
55 12 19
isInvoiceGenerated()
A
55 11 19
init()
A
44 9 42
action_woocommerce_email_before_order_table()
A
47 9 35
findOrderInvoice()
A
44 8 47
getTaxNumber()
A
54 8 19
stornoInvoice()
S
55 7 18
getProductName()
S
53 6 21
get_shipping_tax_rates()
S
50 5 31
getPartnerData()
S
50 5 27
ajax_stornoInvoice()
S
51 4 25
findOrCreatePartnerId()
S
56 4 18
generateDownloadLink()
S
64 5 9
getCouponObjectsForOrder()
S
57 3 16
processLock()
S
58 3 16
findExistingProformaId()
S
67 4 7
findPartnerIdByHash()
S
63 4 9
remove_checkout_optional_fields_label()
S
66 4 7
isProformaGenerated()
S
67 4 7
convertOldInvoiceIdIfNeeded()
S
60 3 13
get_available_payment_methods()
S
64 3 10
getProductSKU()
S
66 3 8
wc_billingo_already()
S
58 2 15
get_rates()
S
59 2 15
wc_billingo_already_back()
S
59 2 13
install()
S
58 1 22
getInvoiceNumber()
S
69 2 7
add_vat_number_info_notice()
S
72 2 5
save_vat_number()
S
72 2 5
display_vat_number()
S
70 2 5
getBillingoConnector()
S
64 2 8
saveInvoiceData()
S
62 1 11
savePartnerIdAndHash()
S
74 1 4
deletePartnerHash()
S
74 1 4
add_vat_number_checkout_field()
S
63 1 10
ajax_generateInvoice()
S
69 1 6