Code Analysis: Facturante 1.09

Function Rating Maintainability Complexity Lines of code
Order::facturante_content_column()
C
33 24 96
Header::__construct()
B
50 20 21
Order::facturante_content_column_nc()
B
38 15 63
WoocommerceFacturanteParser::parseClient()
A
42 16 45
WoocommerceFacturanteParser::getItems()
A
36 13 81
Client::__construct()
A
54 16 17
Invoice::woo_facturante_invoice()
A
39 12 63
Invoice::woo_facturante_invoice()
A
38 11 68
WoocommerceFacturanteParser::getItems()
A
39 10 66
Dni::validar_CUIT()
A
48 11 32
Dni::validar_CUIT()
A
48 11 32
Item::__construct()
A
58 12 13
Invoice::woo_facturante_creditNote()
A
44 10 42
WoocommerceFacturanteStatesMapper::map()
A
55 11 20
Dni::woo_facturante_checkout_field_process()
A
53 9 20
Dni::woo_facturante_checkout_field_process()
A
56 9 17
Invoice::woo_facturante_automatic_nc()
A
55 8 17
Woo_Facturante::handle_wh_callback()
A
44 6 46
Dni::woo_facturante_display_admin_order_meta()
S
41 4 60
Dni::save_facturante_doc_and_type()
S
51 6 26
Dni::save_facturante_doc_and_type()
S
51 6 26
Invoice::woo_facturante_view_invoice()
S
49 5 30
Invoice::woo_facturante_view_nc()
S
49 5 30
Invoice::woo_facturante_test_automatic()
S
50 5 28
Dni::woo_facturante_display_admin_order_meta()
S
43 3 55
Settings::get_settings()
S
39 1 82
IvaShipping::set_iva_field()
S
48 4 35
WoocommerceFacturanteParser::parseClient()
S
47 4 35
Invoice::woo_facturante_view_invoice()
S
50 4 27
WoocommerceFacturanteParser::getShippingMethods()
S
50 4 26
WoocommerceFacturanteParser::getShippingMethods()
S
52 4 23
Invoice::callAPI()
S
57 4 17
Invoice::callAPI()
S
57 4 17
Order::sv_helper_get_order_meta()
S
63 5 9
Invoice::woo_facturante_test_automatic()
S
60 4 12
Dni::woo_facturante_dni_checkout_field()
S
49 2 30
Dni::woo_facturante_validate_extra_register_fields()
S
62 4 10
Dni::woo_facturante_validate_extra_register_fields()
S
64 4 9
Iva::iva_field()
S
51 2 26
WoocommerceFacturanteParser::parseHeader()
S
49 1 31
WoocommerceFacturanteParser::parseHeader()
S
49 1 31
Invoice::compareStatus()
S
70 3 6
Order::facturante_buttons_column()
S
63 3 10
ErrorResponseModel::getResponse()
S
68 3 8
ReceiptResponseModel::getResponse()
S
68 3 8
FacturanteSDK::__construct()
S
69 3 6
ResendInvoiceResponseModel::getResponse()
S
68 3 8
ViewInvoiceResponseModel::__construct()
S
64 3 9
ViewInvoiceResponseModel::getResponse()
S
68 3 8
Invoice::compareStatus()
S
70 3 6
Woo_Facturante_Loader::run()
S
66 3 8
Dni::woo_facturante_add_dni_field_to_my_account()
S
62 2 12
Dni::woo_facturante_add_dni_field_to_my_account()
S
62 2 12
FacturanteSDK::generateFullReceipt()
S
62 2 11
FacturanteSDK::resendInvoiceReceipt()
S
62 2 11
FacturanteSDK::viewInvoice()
S
62 2 11
Dni::woo_facturante_dni_checkout_field()
S
52 1 25
Header::getData()
S
52 1 24
Iva::getField()
S
56 1 19
Client::getData()
S
56 1 19
ReceiptRequestModel::getItemsData()
S
71 2 6
ReceiptResponseModel::__construct()
S
67 2 8
Dni::woo_facturante_add_dni_field_to_register()
S
67 2 8
ResendInvoiceResponseModel::__construct()
S
68 2 7
Dni::woo_facturante_save_DNI()
S
70 2 6
Dni::woo_facturante_update_order_meta()
S
69 2 6
Dni::woo_facturante_save_DNI()
S
70 2 6
Iva::save_iva_field()
S
69 2 6
Dni::woo_facturante_update_order_meta()
S
69 2 6
IvaShipping::add_extra_fields_in_shipping_methods()
S
69 2 6
Dni::woo_facturante_add_dni_field_to_register()
S
67 2 8
Item::getData()
S
59 1 15
ResendInvoice::getParsedDirections()
S
69 2 7
Woo_Facturante::defineFields()
S
59 1 14
FacturanteSDK::createCreditNote()
S
60 1 13
Woo_Facturante::load_dependencies()
S
61 1 12
Woo_Facturante::define_admin_hooks()
S
63 1 11
WoocommerceFacturanteParser::mapFacturanteToWoocommerceState()
S
80 1 3
ViewInvoiceResponseModel::getURL()
S
82 1 3
ResendInvoice::__construct()
S
70 1 6
ViewInvoiceResponseModel::getEstadoComprobante()
S
82 1 3
Woo_Facturante::defineSettings()
S
69 1 6
Woo_Facturante_Admin::enqueue_scripts()
S
70 1 5
Woo_Facturante::define_public_hooks()
S
91 1 2
ResponseModel::jsonSerialize()
S
78 1 3
Settings::update_settings()
S
80 1 3
ReceiptResponseModel::getJsonResponse()
S
80 1 3
WoocommerceFacturanteParser::mapFacturanteToWoocommerceState()
S
80 1 3
run_woo_facturante()
S
77 1 4
Woo_Facturante_i18n::load_plugin_textdomain()
S
69 1 7
ResponseModel::getArrayResponse()
S
78 1 3
Woo_Facturante::get_plugin_name()
S
82 1 3
ResendInvoiceRequestModel::__construct()
S
81 1 3
ViewInvoiceRequestModel::getRequest()
S
69 1 7
ReceiptStates::getErrorCAEStates()
S
79 1 3
ListReceiptsRequestModel::__construct()
S
73 1 5
Woo_Facturante::defineInvoiceActions()
S
64 1 9
Dni::woo_facturante_display_dni_in_email_fields()
S
76 1 4
ResendInvoiceResponseModel::getJsonResponse()
S
80 1 3
Woo_Facturante::defineIva()
S
72 1 5
Woo_Facturante_Loader::add()
S
64 1 10
Woo_Facturante::get_loader()
S
82 1 3
Woo_Facturante_Loader::add_action()
S
77 1 3
Woo_Facturante::defineIvaForShipping()
S
72 1 5
WoocommerceStates::isEditableDocumentState()
S
78 1 3
WoocommerceFacturanteParser::parseItems()
S
68 1 7
RequestModel::prepareRequest()
S
80 1 3
Settings::add_settings_tab()
S
75 1 4
Woo_Facturante_Loader::add_filter()
S
77 1 3
Woo_Facturante::__construct()
S
65 1 9
Settings::__construct()
S
91 1 2
WoocommerceFacturanteParser::__construct()
S
73 1 5
WoocommerceFacturanteParser::__construct()
S
73 1 5
WoocommerceFacturanteStatesMapper::__construct()
S
76 1 4
ReceiptRequestModel::__construct()
S
74 1 5
ViewInvoiceRequestModel::__construct()
S
80 1 3
Auth::getData()
S
69 1 7
ResendInvoice::getData()
S
67 1 8
ViewInvoiceResponseModel::getJsonResponse()
S
80 1 3
Woo_Facturante_Admin::enqueue_styles()
S
71 1 5
Woo_Facturante::get_version()
S
82 1 3
Auth::__construct()
S
73 1 5
ResendInvoiceRequestModel::getRequest()
S
72 1 5
Dni::woo_facturante_display_dni_in_email_fields()
S
76 1 4
Woo_Facturante::set_locale()
S
75 1 4
ErrorResponseModel::__construct()
S
74 1 5
WoocommerceFacturanteParser::parseItems()
S
68 1 7
Woo_Facturante_Admin::__construct()
S
74 1 5
Woo_Facturante::defineOrders()
S
69 1 6
ErrorResponseModel::getJsonResponse()
S
80 1 3
Woo_Facturante::run()
S
82 1 3
ReceiptRequestModel::getRequest()
S
65 1 9
Settings::settings_tab()
S
80 1 3
ListReceiptsRequestModel::getRequest()
S
65 1 9
Woo_Facturante_Loader::__construct()
S
77 1 4