Code Analysis: Gellum Delivery Calculator for WooCommerce 1.0.6

Function Rating Maintainability Complexity Lines of code
GellumDCW_Ajax::ajax_calculate_cost()
D
27
47 106
GellumDCW_Delivery_Calculator::enqueue_scripts()
D
31 39 85
GellumDCW_Ajax::get_address_from_coords_helper()
C
39 25 49
GellumDCW_Delivery_Calculator::validate_delivery_location_on_checkout()
B
42 25 38
gellumdcw_is_point_in_geojson()
B
44 20 42
GellumDCW_Shipping_Method::calculate_shipping()
A
53 12 17
GellumDCW_Shipping_Method::is_available()
A
55 11 17
GellumDCW_Order::add_gps_order_note()
A
48 7 33
gellumdcw_is_point_in_polygon_with_holes()
S
59 6 14
gellumdcw_is_point_in_single_ring()
S
53 5 22
GellumDCW_Shipping_Method::init_form_fields()
S
43 1 56
GellumDCW_Order::display_gps_in_admin_order()
S
54 3 19
GellumDCW_Order::add_gps_to_shipping_item_meta()
S
62 4 10
GellumDCW_Order::save_gps_to_order_object()
S
66 3 8
GellumDCW_Shortcodes::render_map_shortcode()
S
60 1 17
GellumDCW_Order::clear_gellumdcw_session_data()
S
69 2 7
gellumdcw_add_async_defer_to_maps()
S
71 2 6
gellumdcw_calculate_raw_cost()
S
64 2 9
gellumdcw_delivery_calculator_init()
S
69 2 7
GellumDCW_Delivery_Calculator::instance()
S
72 2 6
GellumDCW_Shipping_Method::__construct()
S
62 1 12
gellumdcw_calculate_distance()
S
61 1 11
GellumDCW_Shipping_Method::init()
S
72 1 5
GellumDCW_Ajax::init()
S
70 1 6
gellumdcw_woocommerce_not_active_notice()
S
72 1 7
GellumDCW_Order::init()
S
65 1 8
GellumDCW_Delivery_Calculator::includes()
S
69 1 7
GellumDCW_Delivery_Calculator::__construct()
S
78 1 4
GellumDCW_Delivery_Calculator::init_hooks()
S
65 1 9
GellumDCW_Delivery_Calculator::shipping_init()
S
98 1 1
GellumDCW_Delivery_Calculator::add_shipping_method()
S
76 1 4
GellumDCW_Shortcodes::init()
S
79 1 3