Paperdork D

Total Complexity 186
Dependencies 6
Dependents 1
Total lines 727
Lines of code 561
Logical lines of code 375
Comment lines 16
Methods 45
Properties 5

Methods 45

Method Rating Maintainability Complexity Lines of code
getLines()
C
36 24 75
callApi()
A
46 14 35
createInvoice()
A
47 10 31
createInvoiceFromRefund()
A
44 9 40
getBaseInvoiceJson()
A
49 8 27
runCallback()
A
55 8 19
woocommerce_package_rates()
S
57 7 15
before_calculate_totals()
S
57 7 14
refreshToken()
S
49 5 30
validateVatNumber()
S
60 6 11
adminCreatePaperdork()
S
58 5 15
createCredit()
S
59 5 15
__construct()
S
65 6 7
orderStatusHook()
S
60 5 12
set_vatnumber_sesion()
S
56 4 17
getCallBackAccessToken()
S
52 3 23
sendLogs()
S
56 3 16
pushInvoice()
S
69 4 5
checkCountryCodesCustomer()
S
66 4 7
checkIfEU()
S
66 4 7
add_billing_fields()
S
62 3 12
getAuthToken()
S
69 3 6
template_redirect()
S
67 3 7
splitAddress()
S
68 3 6
woocommerce_order_refunded()
S
73 3 4
hasFirstConfig()
S
75 3 4
taxexempt_checkout_update_order_review()
S
69 3 6
woocommerce_checkout_update_order_meta()
S
72 2 5
cleanVatNumber()
S
68 2 6
add_billing_fields_admin()
S
73 2 4
autoCreateInvoices()
S
64 2 9
createFullCreditInvoice()
S
74 2 4
isConnected()
S
74 2 4
setDefaults()
S
61 1 13
getOauthProvider()
S
62 1 11
needsReconnect()
S
80 1 3
unhook_woo_emails()
S
71 1 5
disConnect()
S
81 1 3
registerAdminActions()
S
72 1 5
registerMetaboxes()
S
80 1 3
on_init()
S
72 1 5
getRedirectPath()
S
78 1 3
getRedirectUrl()
S
80 1 3
getAuthUrl()
S
70 1 6
parseBillingToCustomer()
S
79 1 3