WC_Billingo D

Total Complexity 239
Dependencies 9
Dependents 1
Total lines 1,260
Lines of code 828
Logical lines of code 479
Comment lines 202
Methods 38
Properties 2

Methods 38

Method Rating Maintainability Complexity Lines of code
generateInvoice()
D
23
51 147
createProductItems()
C
30 26 114
on_order_state_change()
A
46 16 33
isInvoiceGenerated()
A
53 13 22
getInvoiceNumberGenerated()
A
55 12 19
getInvoiceGenerated()
A
55 12 19
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
init()
S
47 6 32
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
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
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
getBillingoConnector()
S
70 1 5