Code Analysis: Delivery LPost for WooCommerce 0.1

Function Rating Maintainability Complexity Lines of code
LPost_WC_Shipping_Method::calculate_shipping()
D
26
28 142
LPost_WC_Helper::prepareCreateOrder()
D
31 31 96
LPost_WC_Shipping_Method::is_free_shipping_available()
B
44 16 46
LPost_WC_Helper::proper_parse_str()
A
39 14 69
LPost_WC_Shipping_Method::check_condition_for_disable()
A
51 14 23
LPost_WC_Shipping_Method::get_shipping_class_cost()
A
48 11 31
LPost_WC_Helper::GetPickupPoints()
A
49 9 28
LPost_WC_Helper::updateOrder()
A
49 8 29
LPost_WC_Shipping_Method::get_goods_dimensions()
A
47 7 34
LPost_WC_Shipping_Method::init_form_fields()
S
36 1 105
LPost_WC_Shipping_Method::fee()
S
54 6 22
LPost_WC_Helper::createOrders()
S
52 5 24
LPost_WC_Helper::GetReceivePoints()
S
52 5 23
LPost_WC_Helper::getAuthToken()
S
53 5 21
LPost_WC_Shipping_Method::is_available()
S
51 4 26
LPost_WC_Shipping_Method::get_percentage_cost()
S
59 4 15
LPost_WC_Helper::getPickupPointsOptions()
S
58 4 15
LPost_WC_Shipping_Method::find_shipping_classes()
S
61 4 13
LPost_WC_Shipping_Method::evaluate_cost()
S
50 2 31
LPost_WC_Shipping_Method::maybe_print_error()
S
60 3 13
LPost_WC_Helper::getSortedReceivePointsOptions()
S
61 3 13
LPost_WC_Helper::createInvoice()
S
55 2 20
LPost_WC_Helper::getInfoForLPostOrders()
S
57 2 17
LPost_WC_Shipping_Method::init_settings()
S
73 3 4
LPost_WC_Shipping_Method::getRegionsListOptions()
S
62 3 10
LPost_WC_Shipping_Method::__construct()
S
59 1 15
LPost_WC_Helper::__construct()
S
74 2 4
LPost_WC_Helper::makeCalcRequest()
S
62 1 12
LPost_WC_Shipping_Method::get_instance_form_fields()
S
80 1 3
LPost_WC_Shipping_Method::init()
S
78 1 3