Code Analysis: Paperdork voor WooCommerce 1.3.3

Function Rating Maintainability Complexity Lines of code
Paperdork::getLines()
C
36 24 75
PaperdorkMetaboxField::get_input_group_field()
C
43 26 36
Paperdork::callApi()
A
46 14 35
PaperdorkCustomer::__construct()
A
45 13 38
Paperdork::createInvoice()
A
47 10 31
Paperdork::createInvoiceFromRefund()
A
44 9 40
Paperdork::getBaseInvoiceJson()
A
49 8 27
PaperdorkAutoInvoiceSettingsField::get_status_block()
A
53 8 21
Paperdork::runCallback()
A
55 8 19
PaperdorkSettingsField::callback()
S
52 7 25
Paperdork::woocommerce_package_rates()
S
57 7 15
Paperdork::before_calculate_totals()
S
57 7 14
PaperdorkSettings::showPage()
S
52 6 26
Paperdork::refreshToken()
S
49 5 30
PaperdorkMetaBox::__construct()
S
60 6 12
Paperdork::validateVatNumber()
S
60 6 11
Paperdork::__construct()
S
65 6 7
PaperdorkMetaBox::save_metabox()
S
64 6 8
Paperdork::createCredit()
S
59 5 15
PaperdorkAutoInvoiceSettingsField::callback()
S
61 6 10
Paperdork::adminCreatePaperdork()
S
58 5 15
Paperdork::orderStatusHook()
S
60 5 12
PaperdorkSettings::adminInit()
S
52 4 22
Paperdork::set_vatnumber_sesion()
S
56 4 17
PaperdorkInvoiceMetabox::render_metabox()
S
57 4 15
Paperdork::getCallBackAccessToken()
S
52 3 23
Paperdork::sendLogs()
S
56 3 16
Paperdork::checkIfEU()
S
66 4 7
PaperdorkMetaboxField::get_input_field()
S
73 4 3
PaperdorkSettings::validate()
S
63 4 10
Paperdork::pushInvoice()
S
69 4 5
Paperdork::checkCountryCodesCustomer()
S
66 4 7
PaperdorkCustomer::setVATStatus()
S
59 3 14
Paperdork::add_billing_fields()
S
62 3 12
PaperdorkInvoiceTemplateSettingsField::callback()
S
61 3 12
PaperdorkMetaBox::set_loaded_from()
S
73 3 4
PaperdorkMetaBox::getWPEditor()
S
65 3 9
Paperdork::taxexempt_checkout_update_order_review()
S
69 3 6
Paperdork::getAuthToken()
S
69 3 6
PaperdorkMetaBox::get_input_field_full()
S
70 3 5
PaperdorkMetaboxField::get_input_group()
S
67 3 6
Paperdork::woocommerce_order_refunded()
S
73 3 4
Paperdork::splitAddress()
S
68 3 6
PaperdorkCustomer::getArray()
S
66 3 8
Paperdork::hasFirstConfig()
S
75 3 4
PaperdorkCustomer::setVatNumber()
S
64 3 10
Paperdork::template_redirect()
S
67 3 7
PaperdorkMetaboxField::__construct()
S
62 2 12
PaperdorkSettings::showConnectedPage()
S
60 1 17
PaperdorkMetaBox::get_dist_url()
S
73 2 4
Paperdork::add_billing_fields_admin()
S
73 2 4
PaperdorkInvoiceMetabox::__construct()
S
71 2 5
PaperdorkMetaboxField::set_type()
S
79 2 3
PaperdorkConnectorSettingsField::__construct()
S
73 2 4
PaperdorkSettingsField::getValue()
S
75 2 4
Paperdork::isConnected()
S
74 2 4
Paperdork::woocommerce_checkout_update_order_meta()
S
72 2 5
PaperdorkMetaboxField::get_required_label()
S
73 2 5
Paperdork::cleanVatNumber()
S
68 2 6
Paperdork::createFullCreditInvoice()
S
74 2 4
Paperdork::autoCreateInvoices()
S
64 2 9
PaperdorkSettings::capability()
S
69 2 6
PaperdorkSettings::showNotConnectedPage()
S
68 2 8
Paperdork::setDefaults()
S
61 1 13
PaperdorkSettings::showFirstConfigPage()
S
64 1 13
Paperdork::getOauthProvider()
S
62 1 11
Paperdork::on_init()
S
72 1 5
PaperdorkSettings::addSettingsField()
S
77 1 3
PaperdorkSettings::addSettingsSection()
S
79 1 3
PaperdorkMetaboxField::set_required()
S
81 1 3
PaperdorkSettingsField::getName()
S
79 1 3
Paperdork::getAuthUrl()
S
70 1 6
PaperdorkMetaboxField::set_label_new_line()
S
81 1 3
PaperdorkInvoiceMetabox::getAjaxUrl()
S
80 1 3
Paperdork::registerMetaboxes()
S
80 1 3
PaperdorkCustomer::is_outside_EU()
S
82 1 3
PaperdorkSettingsField::__construct()
S
65 1 9
PaperdorkMetaBox::add_metabox()
S
65 1 10
PaperdorkMetaboxField::set_min_max()
S
77 1 4
Paperdork::disConnect()
S
81 1 3
PaperdorkSettings::getSettings()
S
80 1 3
Paperdork::unhook_woo_emails()
S
71 1 5
Paperdork::parseBillingToCustomer()
S
79 1 3
PaperdorkMetaBox::init_metabox()
S
74 1 4
PaperdorkInvoiceMetabox::getCreateCreditButton()
S
74 1 4
PaperdorkSettings::showReconnectPage()
S
71 1 8
PaperdorkInvoiceTemplateSettingsField::__construct()
S
74 1 4
PaperdorkMetaboxField::get_input_field_full()
S
91 1 1
PaperdorkMetaboxField::set_value()
S
81 1 3
PaperdorkMetaboxField::get_key()
S
82 1 3
PaperdorkSettings::adminMenu()
S
74 1 4
PaperdorkMetaBox::get_input_group()
S
71 1 5
PaperdorkMetaBox::get_input_field()
S
74 1 4
PaperdorkSettings::__construct()
S
75 1 4
PaperdorkCustomer::is_company()
S
82 1 3
PaperdorkAutoInvoiceSettingsField::__construct()
S
78 1 3
PaperdorkMetaBox::render_metabox()
S
68 1 7
PaperdorkConnectorSettingsField::getValue()
S
79 1 3
PaperdorkSettings::getDisclaimer()
S
79 1 7
PaperdorkCustomer::is_outside_NL()
S
82 1 3
PaperdorkMetaBox::update_post_meta()
S
78 1 3
PaperdorkMetaBox::get_id()
S
82 1 3
PaperdorkSettingsFieldSendMethod::callback()
S
75 1 6
PaperdorkMetaboxField::set_options()
S
81 1 3
PaperdorkMetaBox::get_post_meta()
S
78 1 3
Paperdork::getRedirectPath()
S
78 1 3
Paperdork::getRedirectUrl()
S
80 1 3
PaperdorkMetaboxField::set_selector_options()
S
77 1 4
Paperdork::registerAdminActions()
S
72 1 5
Paperdork::needsReconnect()
S
80 1 3
PaperdorkMetaboxField::get_required()
S
82 1 3
PaperdorkInvoiceMetabox::getButton()
S
77 1 3
PaperdorkMetaboxField::set_class()
S
81 1 3
PaperdorkCustomer::is_private()
S
82 1 3
PaperdorkInvoiceMetabox::getCreateInvoiceButton()
S
74 1 4