WC_Billingo D

Total Complexity 194
Dependencies 25
Dependents 1
Total lines 1,187
Lines of code 768
Logical lines of code 480
Comment lines 234
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
generateInvoice()
D
11
70 316
on_order_state_change()
A
46 16 33
applyVatRule()
A
55 11 18
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
stornoInvoice()
S
49 6 30
getInvoiceGenerated()
S
57 6 19
init()
S
48 5 33
ajax_stornoInvoice()
S
51 4 25
getCouponObjectsForOrder()
S
57 3 16
remove_checkout_optional_fields_label()
S
66 4 7
getInvoiceNumber()
S
59 3 14
getTaxType()
S
62 3 11
convertOldInvoiceIdIfNeeded()
S
56 2 18
getProductSKU()
S
66 3 8
get_available_payment_methods()
S
64 3 10
wc_billingo_already()
S
58 2 15
wc_billingo_already_back()
S
59 2 13
add_vat_number_info_notice()
S
72 2 5
save_vat_number()
S
72 2 5
display_vat_number()
S
70 2 5
isNullOrEmptyString()
S
77 2 3
add_vat_number_checkout_field()
S
63 1 10
getBillingoConfig()
S
77 1 3
ajax_generateInvoice()
S
69 1 6