Code Analysis: Australia Post WooCommerce Extension 1.9.5

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