Code Analysis: Delivery LPost for WooCommerce 1.52

Function Rating Maintainability Complexity Lines of code
LPost_WC_Shipping_Method::calculate_shipping()
D
19
59 190
LPost_WC_Helper::prepareCreateOrder()
D
26
35 136
LPost_WC_Helper::proper_parse_str()
A
39 14 69
LPost_WC_Shipping_Method::initInstanceFormFields()
A
27
1 223
LPost_WC_Helper::getAuthToken()
A
44 10 43
LPost_WC_Helper::GetPickupPoints()
A
46 10 36
LPost_WC_Helper::GetAddressPoints()
A
47 7 36
LPost_WC_Shipping_Method::getProductsDimensions()
S
49 7 29
LPost_WC_Helper::getSortedReceivePointsOptions()
S
51 7 28
LPost_WC_Shipping_Method::check_dimensions()
S
51 7 26
LPost_WC_Helper::getIntervalId()
S
58 7 17
LPost_WC_Helper::createOrders()
S
50 6 28
LPost_WC_Helper::updateOrder()
S
50 6 28
LPost_WC_Helper::GetReceivePoints()
S
51 6 25
LPost_WC_Helper::getRegions()
S
35 1 90
LPost_WC_Helper::createInvoice()
S
52 5 25
LPost_WC_Helper::resDecode()
S
55 5 20
LPost_WC_Helper::getFromTo()
S
57 5 17
LPost_WC_Helper::getInfoForLPostOrders()
S
51 4 28
LPost_WC_Shipping_Method::is_available()
S
56 4 18
LPost_WC_Helper::getLog()
S
57 4 17
LPost_WC_Helper::getPickupPointsOptions()
S
59 4 14
LPost_WC_Shipping_Method::maybePrintError()
S
57 3 16
LPost_WC_Helper::getPickupAvia()
S
66 4 8
LPost_WC_Shipping_Method::__construct()
S
57 3 15
LPost_WC_Helper::logging()
S
61 3 11
LPost_WC_Helper::convertDeliveryStates()
S
57 2 17
LPost_WC_Helper::makeCalcRequest()
S
58 2 16
LPost_WC_Shipping_Method::findsIdPickupPoint()
S
64 3 10
LPost_WC_Shipping_Method::getRegionsListOptions()
S
62 3 10
LPost_WC_Shipping_Method::getIdRegion()
S
67 2 8
LPost_WC_Helper::__construct()
S
71 2 5
LPost_WC_Shipping_Method::get_instance_form_fields()
S
80 1 3