WC_Billingo D

Total Complexity 298
Dependencies 10
Dependents 1
Total lines 1,497
Lines of code 1,016
Logical lines of code 584
Comment lines 215
Methods 44
Properties 2

Methods 44

Method Rating Maintainability Complexity Lines of code
generateInvoice()
D
19
65 171
createProductItems()
D
25
41 153
on_order_state_change()
A
46 16 34
init()
A
41 12 49
getInvoiceGenerated()
A
55 12 19
getInvoiceNumberGenerated()
A
55 12 19
isInvoiceGenerated()
A
54 11 20
action_woocommerce_email_before_order_table()
A
46 9 35
findOrderInvoice()
A
43 8 48
getTaxNumber()
A
55 10 18
getRemoteProductId()
A
48 8 32
stornoInvoice()
S
55 7 18
get_shipping_tax_rates()
S
50 5 31
ajax_stornoInvoice()
S
49 5 29
getPartnerData()
S
50 5 27
getProductName()
S
54 5 21
findOrCreatePartnerId()
S
56 4 18
generateDownloadLink()
S
64 5 9
processLock()
S
56 3 19
getCouponObjectsForOrder()
S
57 3 16
isProformaGenerated()
S
67 4 7
remove_checkout_optional_fields_label()
S
66 4 7
convertOldInvoiceIdIfNeeded()
S
58 3 15
findPartnerIdByHash()
S
63 4 9
findExistingProformaId()
S
67 4 7
getRemoteProductData()
S
61 3 13
wc_billingo_already()
S
56 2 17
get_available_payment_methods()
S
64 3 10
wc_billingo_already_back()
S
58 2 15
get_rates()
S
59 2 15
install()
S
58 1 22
getInvoiceNumber()
S
69 2 7
ajax_generateInvoice()
S
64 2 9
add_vat_number_info_notice()
S
72 2 5
save_vat_number()
S
68 2 7
display_vat_number()
S
71 2 5
getProductSKU()
S
67 2 8
getBillingoConnector()
S
64 2 8
getProductDataArray()
S
63 1 11
saveInvoiceData()
S
62 1 11
deletePartnerHash()
S
74 1 4
savePartnerIdAndHash()
S
74 1 4
saveRemoteProductData()
S
75 1 4
add_vat_number_checkout_field()
S
63 1 10