Code Analysis: Delivery LPost for WooCommerce 1.0

Function Rating Maintainability Complexity Lines of code
LPost_WC_Shipping_Method::calculate_shipping()
D
24
38 166
LPost_WC_Helper::prepareCreateOrder()
D
28
31 121
LPost_WC_Helper::proper_parse_str()
A
39 14 69
LPost_WC_Helper::getAuthToken()
A
45 10 40
LPost_WC_Helper::GetPickupPoints()
A
47 10 33
LPost_WC_Shipping_Method::initInstanceFormFields()
A
31 1 162
LPost_WC_Shipping_Method::getProductsDimensions()
A
48 7 31
LPost_WC_Helper::createOrders()
S
52 6 25
LPost_WC_Helper::GetReceivePoints()
S
52 6 23
LPost_WC_Helper::updateOrder()
S
52 6 23
LPost_WC_Helper::createInvoice()
S
53 5 22
LPost_WC_Helper::resDecode()
S
55 5 20
LPost_WC_Helper::getInfoForLPostOrders()
S
53 4 25
LPost_WC_Shipping_Method::is_available()
S
54 4 21
LPost_WC_Helper::getPickupPointsOptions()
S
59 4 14
LPost_WC_Shipping_Method::maybePrintError()
S
56 3 18
LPost_WC_Shipping_Method::__construct()
S
57 3 15
LPost_WC_Helper::getSortedReceivePointsOptions()
S
61 3 13
LPost_WC_Shipping_Method::getRegionsListOptions()
S
62 3 11
LPost_WC_Helper::convertDeliveryStates()
S
57 2 17
LPost_WC_Helper::makeCalcRequest()
S
61 2 12
LPost_WC_Helper::__construct()
S
71 2 5
LPost_WC_Shipping_Method::get_instance_form_fields()
S
80 1 3