Code Analysis: Paperdork voor WooCommerce 1.7.8

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