Code Analysis: Ship-Safely 2.0.0

Function Rating Maintainability Complexity Lines of code
SHIPSAFELY_Cart::shpsafe_get_variant()
A
45 9 43
SHIPSAFELY_Cart::shpsafe_add_to_cart()
A
47 7 36
SHIPSAFELY_Cart::shpsafe_cart_price()
A
48 7 33
SHIPSAFELY_Cart::shpsafe_remove_from_cart()
S
50 6 28
SHIPSAFELY_Cart::shpsafe_cart_insurance()
S
50 6 27
SHIPSAFELY_Cart::shpsafe_get_order_details()
S
53 4 23
SHIPSAFELY_Public::shpsafe_add_order_completed()
S
60 4 13
SHIPSAFELY_Public::shpsafe_enqueue_scripts()
S
52 3 23
SHIPSAFELY_Admin::shpsafe_enqueue_scripts()
S
52 3 23
shpsafe_register_route()
S
49 1 38
SHIPSAFELY_Loader::run()
S
66 3 8
Ship_Safely::__construct()
S
62 2 12
SHIPSAFELY_Menu::shpsafe_add_menu()
S
61 1 16
SHIPSAFELY_Public::shpsafe_enqueue_styles()
S
67 2 7
SHIPSAFELY_Admin_Config::shpsafe_store()
S
65 2 9
SHIPSAFELY_Menu::shpsafe_register_menu()
S
72 2 5
SHIPSAFELY_Config::shpsafe_dev_mode()
S
77 2 3
SHIPSAFELY_Admin::shpsafe_enqueue_styles()
S
67 2 7
Ship_Safely::shpsafe_define_public_hooks()
S
67 1 7
shpsafe_register_routes()
S
80 1 3
Ship_Safely::shpsafe_get_nano_insurance()
S
82 1 3
SHIPSAFELY_Config::shpsafe_credential()
S
81 1 3
SHIPSAFELY_Public::shpsafe_is_develop_serve()
S
75 1 4
SHIPSAFELY_Activator::shpsafe_activate()
S
89 1 2
Ship_Safely::shpsafe_get_version()
S
82 1 3
SHIPSAFELY_Admin::__construct()
S
77 1 4
SHIPSAFELY_i18n::shpsafe_load_plugin_textdomain()
S
69 1 7
SHIPSAFELY_Loader::__construct()
S
77 1 4
SHIPSAFELY_Loader::add_action()
S
77 1 3
SHIPSAFELY_Loader::add_filter()
S
77 1 3
SHIPSAFELY_Public::__construct()
S
77 1 4
SHIPSAFELY_Config::shpsafe_callback_url()
S
81 1 3
SHIPSAFELY_Loader::add()
S
64 1 10
SHIPSAFELY_Config::shpsafe_server_url()
S
81 1 3
Ship_Safely::shpsafe_set_locale()
S
75 1 4
SHIPSAFELY_Menu::shpsafe_render_settings()
S
80 1 5
Ship_Safely::shpsafe_define_admin_hooks()
S
72 1 5
Ship_Safely::shpsafe_get_loader()
S
82 1 3
SHIPSAFELY_Public::shpsafe_add_reminder()
S
83 1 5
shpsafe_deactivate_plugin()
S
74 1 5
Ship_Safely::shpsafe_load_dependencies()
S
68 1 7
SHIPSAFELY_Deactivator::shpsafe_deactivate()
S
89 1 2
shpsafe_run()
S
77 1 4
Ship_Safely::run()
S
82 1 3
SHIPSAFELY_Admin::shpsafe_is_develop_serve()
S
75 1 4
shpsafe_activate_plugin()
S
74 1 5
shpsafe_addMenu()
S
76 1 4