Paperdork D

Total Complexity 217
Dependencies 6
Dependents 1
Total lines 848
Lines of code 634
Logical lines of code 432
Comment lines 40
Methods 49
Properties 5

Methods 49

Method Rating Maintainability Complexity Lines of code
getLines()
C
36 25 76
callApi()
A
45 15 37
createInvoice()
A
44 15 37
createInvoiceFromRefund()
A
43 10 41
sendLogs()
A
41 8 53
runCallback()
A
54 9 20
validateVatNumber()
A
60 9 11
getBaseInvoiceJson()
S
50 7 26
woocommerce_package_rates()
S
57 7 15
before_calculate_totals()
S
57 7 14
adminCreatePaperdork()
S
58 5 15
createCredit()
S
59 5 15
pushInvoice()
S
66 6 6
__construct()
S
66 6 7
checkIfEU()
S
64 6 8
orderStatusHook()
S
58 5 14
refreshToken()
S
55 4 19
set_vatnumber_sesion()
S
56 4 17
hasFirstConfig()
S
73 5 4
getCallBackAccessToken()
S
52 3 23
unhook_woo_emails()
S
63 4 9
checkCountryCodesCustomer()
S
66 4 7
add_billing_fields()
S
62 3 12
hasClientIdOrSecret()
S
75 3 4
splitAddress()
S
68 3 6
woocommerce_order_refunded()
S
73 3 4
getAuthToken()
S
69 3 6
template_redirect()
S
67 3 7
taxexempt_checkout_update_order_review()
S
69 3 6
autoCreateInvoices()
S
61 2 11
cleanVatNumber()
S
66 2 7
add_billing_fields_admin()
S
73 2 4
woocommerce_checkout_update_order_meta()
S
72 2 5
createFullCreditInvoice()
S
73 2 4
checkSEPAOrders()
S
70 2 5
isConnected()
S
74 2 4
addRewriteUrls()
S
63 1 13
setDefaults()
S
61 1 13
getOauthProvider()
S
62 1 11
needsReconnect()
S
80 1 3
disConnect()
S
81 1 3
registerAdminActions()
S
72 1 5
registerMetaboxes()
S
81 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