Code Analysis: Australia Post WooCommerce Extension 1.10.9

Function Rating Maintainability Complexity Lines of code
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::get_package_details()
C
37 25 69
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::get_package_details_by_boxpacker()
A
41 13 50
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::get_rates()
A
45 8 37
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::calculate_shipping()
S
49 7 29
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::init_form_fields()
S
39 1 82
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::add_boxes_iterations()
S
58 2 17
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::is_available()
S
68 3 7
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::sort_rates()
S
73 3 4
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::debug()
S
72 3 5
WPRubyAustraliaPost\WPRuby_Australia_Post_Lite::is_plugin_active()
S
68 3 6
WPRubyAustraliaPost\WPRuby_Australia_Post_Lite::__construct()
S
63 3 10
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::__construct()
S
50 1 28
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::strip_shipping_tax()
S
71 2 6
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::get_max_weight()
S
77 2 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::toArray()
S
60 1 13
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::get_min_dimension()
S
71 1 5
WPRubyAustraliaPost\WPRuby_Australia_Post_Lite::init_australian_post()
S
79 1 3
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::admin_options()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::setLength()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::setDepth()
S
77 1 4
WPRubyAustraliaPost\WC_Australian_Post_Shipping_Method::cubicMeters()
S
76 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getReference()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getOuterWidth()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getOuterLength()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getOuterDepth()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getEmptyWeight()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getInnerWidth()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getInnerLength()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getInnerDepth()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getInnerVolume()
S
79 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::getMaxWeight()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::setReference()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::setOuterWidth()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::setOuterLength()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::setOuterDepth()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::setEmptyWeight()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::setInnerWidth()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::setInnerLength()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::setInnerDepth()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Box::setMaxWeight()
S
77 1 4
WPRubyAustraliaPost\WPRuby_Australia_Post_Lite::deactivate_pro_version()
S
81 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::setKeepFlat()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::getWidth()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::getDescription()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::setWeight()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::getKeepFlat()
S
82 1 3
WPRubyAustraliaPost\WPRuby_Australia_Post_Lite::add_australia_post_method()
S
76 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::getLength()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::getVolume()
S
82 1 3
WPRubyAustraliaPost\WPRuby_Australia_Post_Lite::plugin_action_links()
S
74 1 5
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::setVolume()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::setWidth()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::getWeight()
S
82 1 3
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::setDescription()
S
77 1 4
WPRubyAustraliaPost\Includes\WPRuby_AusPost_Item::getDepth()
S
82 1 3