Code Analysis: MiniCRM Woocommerce Sync 1.5.4

Function Rating Maintainability Complexity Lines of code
MiniCRM\WoocommercePlugin\Feed::_buildXml()
D
17
37 281
MiniCRM\WoocommercePlugin\Plugin::init()
B
27
12 194
MiniCRM\WoocommercePlugin\Feed::_getPercentByTaxClass()
A
42 11 51
MiniCRM\WoocommercePlugin\Integration::init_form_fields()
A
28
2 182
MiniCRM\WoocommercePlugin\Feed::_addExtraProductOptions()
A
45 10 42
MiniCRM\WoocommercePlugin\About::_buildXml()
A
40 8 60
MiniCRM\WoocommercePlugin\Integration::migrate()
A
50 9 30
MiniCRM\WoocommercePlugin\Feed::_getOrderTaxLocation()
A
54 9 19
MiniCRM\WoocommercePlugin\Feed::_getProductNodeId()
S
55 6 20
MiniCRM\WoocommercePlugin\Plugin::_syncProjects()
S
49 5 32
MiniCRM\WoocommercePlugin\Feed::_checkOrderNodeIntegrity()
S
50 5 25
MiniCRM\WoocommercePlugin\Integration::getProjectIds()
S
51 4 26
MiniCRM\WoocommercePlugin\Plugin::activate()
S
51 3 30
MiniCRM\WoocommercePlugin\Plugin::_queueOrdersForSync()
S
60 4 14
MiniCRM\WoocommercePlugin\Feed::_getBillingName()
S
60 4 14
MiniCRM\WoocommercePlugin\Integration::__construct()
S
56 3 18
MiniCRM\WoocommercePlugin\AbstractXmlEndpoint::display()
S
58 3 17
MiniCRM\WoocommercePlugin\Integration::getMapping()
S
58 3 15
MiniCRM\WoocommercePlugin\Plugin::_ignoreTypeErrors()
S
59 3 14
MiniCRM\WoocommercePlugin\Plugin::getOrderProjectId()
S
61 3 13
MiniCRM\WoocommercePlugin\Plugin::ajaxSyncProjects()
S
60 3 13
MiniCRM\WoocommercePlugin\Plugin::_getStoredOptions()
S
63 3 11
MiniCRM\WoocommercePlugin\Integration::validate_wc_mapping_field()
S
57 2 17
MiniCRM\WoocommercePlugin\About::getPluginVersion()
S
63 3 10
MiniCRM\WoocommercePlugin\Feed::_getCustomerName()
S
65 3 9
MiniCRM\WoocommercePlugin\AbstractXmlEndpoint::_validateIp()
S
71 2 5
MiniCRM\WoocommercePlugin\Integration::validate_category_id_field()
S
64 2 10
MiniCRM\WoocommercePlugin\Feed::_getPersonName()
S
65 2 9
MiniCRM\WoocommercePlugin\Feed::_addCustomWcFields()
S
64 2 9
MiniCRM\WoocommercePlugin\Integration::validate_folder_name_field()
S
64 2 10
MiniCRM\WoocommercePlugin\Integration::validate_api_key_field()
S
64 2 10
MiniCRM\WoocommercePlugin\Integration::validate_system_id_field()
S
64 2 10
MiniCRM\WoocommercePlugin\Feed::_getCountry()
S
67 2 7
MiniCRM\WoocommercePlugin\Plugin::_log()
S
73 1 4
MiniCRM\WoocommercePlugin\Plugin::getOptionName()
S
78 1 3
MiniCRM\WoocommercePlugin\Integration::isDebuggingEnabled()
S
78 1 3
MiniCRM\WoocommercePlugin\AbstractXmlEndpoint::_buildXml()
S
100 1 0
MiniCRM\WoocommercePlugin\Plugin::getAllOrderStatuses()
S
78 1 3
MiniCRM\WoocommercePlugin\Integration::getOption()
S
75 1 4
MiniCRM\WoocommercePlugin\Plugin::getOption()
S
79 1 3
MiniCRM\WoocommercePlugin\Plugin::isPluginActive()
S
72 1 5