Paperdork D

Total Complexity 201
Dependencies 6
Dependents 1
Total lines 793
Lines of code 613
Logical lines of code 405
Comment lines 16
Methods 47
Properties 5

Methods 47

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