Code Analysis: 우커머스 네이버페이 3.2.6

Function Rating Maintainability Complexity Lines of code
MNP_Cart::generate_cart()
D
28
32 124
MNP_Order_Item::get_classes()
C
32 27 119
MNP_Order::update_order_status()
C
35 29 80
MNP_Sheets_Npay::mnp_process_sheet_info()
C
31 27 108
MNP_Callback::get_product_info()
C
29 22 132
ReadCSV::get_row()
B
40 21 61
MNP_Sheets::process_sheet_info()
B
42 20 49
MNP_Callback::parse_request()
B
36 18 72
MNP_Sheets_Npay::mnp_bulk_ship_order()
B
37 18 70
MNP_Sheets::parse_sheet_info()
B
39 18 59
MNP_Order::create_npay_order()
B
34 16 89
MNP_Cart::checkout_cart()
B
38 17 62
MNP_Order::bulk_action_place_product_order()
B
39 17 59
MNP_Cart::generate_product_info()
B
35 14 83
MNP_Message_Exchange_Info::get_field_value()
A
47 16 37
MNP_Message_Return_Info::get_field_value()
A
47 16 35
MNP_Cart::woocommerce_after_add_to_cart_form()
A
38 14 62
MNP_Shipping::get_shipping_policy()
A
41 13 60
MNP_Shortcodes::output_npay_purchase_button()
A
40 13 53
MNP_Comments::sync_review()
A
46 14 36
MNP_XMLSerializer::generateXmlFromArray()
A
48 14 30
MNP_Order::add_npay_items_to_order()
A
40 12 57
MNP_Order::update_stock()
A
45 13 38
MNP_Settings::get_advanced_setting()
A
29
1 212
MNP_REST_NPay_Controller::batch_items()
A
41 10 64
MNP_Cart::create_order()
A
37 9 75
MNP_Manager::check_environment()
A
51 12 23
MNP_Settings::get_delivery_setting()
A
29 1 187
MNP_Order::order_action()
A
46 11 34
MNP_Cart::cart_contains_npay_items()
A
53 12 19
MNP_Autoloader::autoload()
A
50 11 26
MNP_Cart::search_cart_item()
A
50 10 29
MNP_Sheets_Npay::update_order_status()
A
49 10 28
MNP_Query::pre_get_posts()
A
47 9 40
MNP_Message_Cancel_Info::get_field_value()
A
53 10 24
MNP_Settings::get_basic_setting()
A
32 1 158
MNP_Sheets::update_order_status()
A
49 9 30
MNP_Message::delivery_company()
A
29
1 149
MNP_Comments::insert_comment()
A
44 8 43
MNP_Shipping::get_fee_type()
A
54 9 22
MNP_Admin_Post_types::mnp_restrict_manage_posts()
A
53 9 21
MNP_Customer_Inquiry_List_Table::column_default()
A
54 9 19
MSSHelper::update_settings()
A
55 9 18
MNP_Order::update_npay_orders()
A
48 8 32
MNP_Order::update_shipping()
A
44 7 46
MSSHelper::get_settings()
A
56 9 16
MNP_Cart::woocommerce_after_cart_table()
A
43 7 45
MNP_Settings_Sheet::get_basic_setting()
A
32 1 134
MNP_Shortcodes::enqueue_scripts()
A
46 7 34
MNP_Shipping::msiv_shipping_method()
A
56 8 17
MSSHelper::get_role_based_rules()
S
50 7 27
MNP_Order::get_npay_orders()
S
51 7 24
Product::__construct()
S
48 6 36
MNP_TMEF::get_product_option_simple()
S
55 7 18
MNP_Meta_Box_Order::output_npay_order_info()
S
44 5 46
MNP_Cart::add_to_wishlist()
S
44 5 42
MNP_Order::update_delivery_info()
S
52 6 24
MNP_Order::remove_shipping_from_order()
S
56 6 18
MNP_Order::get_shipping_total()
S
56 6 18
MNP_Shipping::get_shipping_options()
S
55 6 18
MNP_Settings::output()
S
56 6 17
MNP_Message_Delivery::get_field_value()
S
58 6 16
MNP_Manager::is_purchasable()
S
57 6 16
MNP_Ajax::add_ajax_events()
S
50 5 30
MNP_Shipping::woocommerce_package_rates()
S
59 6 15
MNP_Manager::is_operable()
S
64 7 9
MNP_WPA::get_product_option_simple()
S
57 6 15
MNP_Callback::search_post_attribute()
S
59 6 13
MNP_Message::get_field_value_address()
S
60 6 12
MNP_Order::refresh_npay_order()
S
45 4 41
MNP_TMEF::get_product_option_variable()
S
61 6 11
MNP_WPA::get_product_option_variable()
S
61 6 11
MNP_Customer_Inquiry_List_Table::prepare_items()
S
52 5 23
MNP_Sheets::load_sheet_fields()
S
53 5 23
MNP_Settings::get_review_setting()
S
39 1 82
MNP_Sheets::get_sheet_field_data()
S
54 5 21
MNP_Cart::get_options()
S
53 5 20
MNP_Sheets::upload_sheets()
S
54 5 20
MNP_Order::delete_npay_order_items()
S
55 5 19
MNP_Callback::generate_option_item()
S
54 5 19
OrderInterface::__construct()
S
56 5 18
MNP_Order::get_customer_info()
S
56 5 17
MSHOP_NPay::setup_schedule()
S
59 5 16
MNP_Shipping::get_shipping_methods()
S
58 5 15
MNP_Order::delete_npay_fee_items()
S
60 5 14
MSHOP_NPay::includes()
S
63 5 12
mnp_order_shipping_price()
S
62 5 11
mnp_order_shipping_method()
S
62 5 11
Product::__construct()
S
52 4 26
MNP_Cart::backup_cart()
S
54 4 22
MSSHelper::get_editable_roles()
S
53 4 22
MNP_Callback::process_changed_product_order()
S
54 4 21
MNP_Order::add_npay_fee_items()
S
54 4 20
MNP_Admin_Post_types::do_bulk_action()
S
54 4 19
MNP_Ajax::resync_review()
S
53 4 19
MNP_Order::migrate_npay_order()
S
49 3 32
mnp_payment_method_check()
S
66 5 8
MNP_Manager::is_test_user()
S
65 5 8
MNP_Manager::generate_shipping_policy_surcharge_by_area()
S
58 4 15
MNP_Sheets::get_sheet_data()
S
58 4 15
MNP_Shipping::get_shipping_policy_surcharge_by_area()
S
58 4 15
MNP_Wcs::init()
S
68 5 6
MNP_Callback::get_customer_info()
S
60 4 13
MNP_Order_Item::woocommerce_after_order_itemmeta()
S
59 4 13
MNP_Cart::wc_validate()
S
60 4 13
MNP_Order::save_custom_data()
S
61 4 12
MNP_Sheets::woocommerce_attribute_label()
S
61 4 12
MNP_TMEF::get_option_item()
S
62 4 11
MNP_WPA::get_option_item()
S
62 4 11
MNP_Order::woocommerce_add_order_item_meta()
S
63 4 11
MNP_Customer_Inquiry_List_Table::extra_tablenav()
S
62 4 11
MNP_Wcs::wp_head()
S
52 3 25
MNP_Order::create_refund_order()
S
53 3 24
MNP_Query::add_shop_order_list_table_prepare_items_query_args()
S
55 3 21
MNP_Cart::save_cart_contents()
S
54 3 19
MNP_Admin_Post_types::handle_bulk_actions()
S
56 3 18
MNP_Post_types::register_order_status()
S
46 1 47
MNP_Settings::get_service_setting()
S
46 1 46
mnp_process_calculate_customer_point()
S
68 4 6
MNP_Order::get_order_item()
S
65 4 8
MNP_Meta_Box_Order::add_meta_boxes()
S
59 3 15
MNP_Order::woocommerce_payment_complete_reduce_order_stock()
S
67 4 7
MNP_Admin_Post_types::render_columns()
S
67 4 8
MNP_Sheets::woocommerce_hidden_order_itemmeta()
S
67 4 7
MNP_Order::has_refund_order()
S
66 4 8
mnp_process_calculate_recommender_point()
S
68 4 6
MNP_Meta_Box_Product_Data::woocommerce_process_product_meta()
S
60 3 13
MNP_Cart::recover_cart()
S
59 3 13
MNP_Order::woocommerce_admin_order_items_after_line_items()
S
61 3 12
ReadCSV::__construct()
S
62 3 11
MNP_Sheets_Npay::get_order()
S
62 3 11
MNP_Message_Return_Info::get_fields()
S
47 1 37
MNP_Message_Exchange_Info::get_fields()
S
47 1 36
MNP_REST_NPay_Controller::get_item_schema()
S
50 1 34
MNP_Comments::allow_comment()
S
57 2 19
MNP_Settings_Sheet::get_default_sheet_fields()
S
51 1 34
MNP_API::call()
S
56 2 18
MNP_Admin::admin_menu()
S
56 2 17
MNP_Callback::create_order()
S
57 2 16
MNP_XMLSerializer::generateProduct()
S
64 3 9
MNP_XMLSerializer::generateSelectedItem()
S
64 3 9
MNP_XMLSerializer::generateOptionItem()
S
64 3 9
MNP_XMLSerializer::generateSupplement()
S
64 3 9
MNP_XMLSerializer::generateOptionItemValue()
S
64 3 9
MNP_XMLSerializer::generateCombinationOptionItemValue()
S
64 3 9
MNP_XMLSerializer::generateCombination()
S
64 3 9
MNP_Message_Exchange_Info::action_button()
S
66 3 9
MNP_Message_Return_Info::action_button()
S
66 3 9
MNP_Autoloader::load_file()
S
69 3 7
MNP_Myaccount::woocommerce_order_item_meta_end()
S
62 3 10
MNP_HPOS::enabled()
S
70 3 6
MNP_Order_Item::is_cancel_request()
S
70 3 6
MNP_Order_Item::is_return_request()
S
64 3 10
MNP_Order_Item::is_exchange_request()
S
64 3 10
MSHOP_NPay::plugin_action_links()
S
66 3 7
MSHOP_NPay::plugin_row_meta()
S
66 3 8
MNP_Settings::get_point_setting()
S
51 1 30
MNP_Order::woocommerce_checkout_create_order_line_item()
S
64 3 9
MNP_Order::maybe_update_ship_to_billing()
S
70 3 6
MNP_Order::maybe_skip_append_address_book()
S
68 3 7
MNP_Cart::get_attribute_slug()
S
63 3 10
MNP_Sheets_Npay::mnp_sheet_update_order_status()
S
70 3 6
MNP_Logger::get_logger()
S
65 3 10
MNP_Shipping::get_shipping_method()
S
64 3 9
MNP_TMEF::get_product_id()
S
69 3 6
MNP_HPOS::get_order()
S
67 3 8
mnp_ajax_url()
S
68 3 7
MNP_Admin_Post_types::init()
S
59 2 13
MSHOP_NPay::woocommerce_init()
S
61 2 13
MNP_Shipping::get_iv_shipping_fee()
S
60 2 13
ShippingPolicySurchargeByArea::__construct()
S
62 2 12
MNP_Order::answer_customer_inquiry()
S
60 2 12
MNP_Shortcodes::init()
S
60 2 12
MNP_API::get_command_desc()
S
50 1 27
MNP_Admin_Post_types::add_bulk_actions()
S
63 2 11
MNP_Settings_Sheet::get_setting_actions()
S
53 1 26
MNP_Manager::request_connect()
S
63 2 11
MNP_Message::claim_status()
S
53 1 23
MNP_Settings::output_settings()
S
54 1 23
MNP_Message_Cancel_Info::get_fields()
S
54 1 21
MNP_Meta_Box_Product_Data::woocommerce_product_options_inventory_product_data()
S
54 1 21
MNP_Settings_Sheet::output()
S
56 1 20
MNP_Manager::init()
S
55 1 18
MNP_Message::claim_request_reason()
S
57 1 16
MNP_Manager::return_reason()
S
57 1 16
MNP_Manager::mode_suffix()
S
70 2 7
MSHOP_NPay::instance()
S
72 2 6
MNP_Cart::maybe_update_cart_item_price()
S
70 2 6
MSHOP_NPay::declare_woocommerce_compatibility()
S
72 2 5
ShippingPolicy::__construct()
S
64 2 10
MNP_Manager::sync_review()
S
76 2 3
MNP_Order::woocommerce_cancel_unpaid_order()
S
71 2 6
mnp_get_order_key_from_npay_order()
S
68 2 7
MNP_Sheets::get_order_item_meta_keys()
S
69 2 7
MNP_Logger::add_log()
S
73 2 5
mnp_maybe_define_constant()
S
75 2 5
mnp_get_merchant_custom_code_from_npay_order()
S
67 2 8
MNP_Manager::url_prefix()
S
70 2 7
MNP_WPA::search_cart_item_by_cart_item_key()
S
77 2 3
MNP_Manager::auth_key()
S
71 2 6
mnp_load_saved_cart_coupons_from_order()
S
73 2 5
MNP_WPA::get_product_id()
S
69 2 6
MNP_Sheets::reset_sheet_fields()
S
67 2 7
MSHOP_NPay::plugin_path()
S
71 2 6
mnp_load_saved_cart_contents_from_npay_order()
S
68 2 8
MNP_Callback::process_callback()
S
63 2 10
MNP_Manager::sync_normal_review()
S
77 2 3
mnp_get()
S
78 2 3
MNP_Message::get_product_order_status_description()
S
74 2 4
MNP_Manager::button_auth_key()
S
71 2 6
MNP_Shipping::get_free_shipping_method()
S
72 2 6
MNP_Ajax::update_settings()
S
72 2 6
MNP_Shipping::get_flat_rate_method()
S
72 2 6
MNP_HPOS::get_shop_order_screen()
S
77 2 3
mnp_load_saved_cart_contents_from_order()
S
73 2 5
MNP_Manager::wishlist_popup_url()
S
69 2 7
MNP_Manager::common_auth_key()
S
71 2 6
MNP_Shortcodes::maybe_disable_refresh_fragment()
S
71 2 6
MNP_Manager::button_js_url()
S
68 2 7
MSHOP_NPay::plugin_url()
S
71 2 6
MNP_Autoloader::__construct()
S
68 2 7
MNP_Manager::sync_premium_review()
S
77 2 3
MNP_HPOS::get_order_type()
S
78 2 3
MNP_REST_NPay_Controller::register_routes()
S
59 1 15
MNP_Message_Cancel_Info::action_button()
S
74 2 5
mnp_array_to_object()
S
69 2 7
MNP_Cart::get_back_url()
S
65 2 8
MNP_Meta_Box_Product_Data::maybe_save_meta()
S
68 2 7
MNP_Order::npay_membership()
S
70 2 6
MNP_Order::woocommerce_order_needs_shipping_address()
S
71 2 6
MNP_Query::init()
S
68 2 7
MNP_REST_API::register_routes()
S
71 2 6
mnp_load_saved_cart_coupons_from_npay_order()
S
68 2 8
MNP_Sheets::get_field_key()
S
67 2 8
MNP_Message::claim_request_reason_return()
S
58 1 15
MNP_Manager::ordersheet_url()
S
68 2 7
MNP_Ajax::refresh_npay_order()
S
72 2 6
mnp_woocommerce_order_items_meta_get_formatted()
S
64 2 10
MNP_Ajax::api_reset()
S
67 2 8
MNP_Manager::get_order_status_description()
S
77 2 3
MNP_WPA::set_option_support()
S
70 2 6
MNP_Manager::is_sandbox()
S
70 2 6
MNP_Shortcodes::output_npay_cart_button()
S
72 2 5
MNP_TMEF::search_cart_item_by_cart_item_key()
S
77 2 3
MNP_TMEF::set_option_support()
S
70 2 6
MNP_Manager::is_production()
S
70 2 6
MNP_Manager::merchant_id()
S
70 2 6
MNP_API::get_customer_inquiry_list()
S
60 1 14
MNP_Settings::get_setting_fields()
S
62 1 14
MNP_API::get_purchase_review_list()
S
60 1 14
MNP_API::answer_customer_inquiry()
S
60 1 14
MNP_Message_Delivery::get_fields()
S
60 1 14
MNP_Message::product_order_status()
S
60 1 13
MSHOP_NPay::__construct()
S
60 1 13
MNP_API::register_order()
S
63 1 12
MNP_API::register_service()
S
62 1 12
MNP_Manager::default_args()
S
62 1 11
MNP_Customer_Inquiry_List_Table::get_columns()
S
63 1 11
MNP_API::connect_key()
S
64 1 11
MNP_Order::get_purchase_review_list()
S
62 1 11
MSHOP_NPay::frontend_includes()
S
91 1 2
MNP_Order::wc_order_statuses()
S
63 1 10
MNP()
S
82 1 3
Supplement::__construct()
S
71 1 6
MNP_Sheets::get_reserved_fields()
S
77 1 4
MNP_Manager::wishlist_url()
S
79 1 3
MNP_Admin::__construct()
S
72 1 5
MNP_Shipping::set_default_postcode()
S
80 1 3
MNP_Manager::claim_exchange_status()
S
64 1 10
MSHOP_NPay::ajax_includes()
S
81 1 3
MNP_Manager::claim_cancel_status()
S
67 1 8
MNP_Settings::get_domain()
S
81 1 3
MNP_Admin::admin_enqueue_scripts()
S
67 1 7
MNP_XMLSerializer::generateValidXmlFromArray()
S
67 1 7
MNP_XMLSerializer::generateValidXmlFromObj()
S
74 1 4
MNP_Settings_Sheet::update_settings()
S
69 1 6
ReadCSV::next_char()
S
71 1 6
MNP_Settings_Sheet::get_setting_fields()
S
66 1 10
ProductOption::__construct()
S
77 1 4
MNP_Admin::category_settings()
S
74 1 5
MNP_Ajax::create_order()
S
82 1 3
MNP_Autoloader::get_file_name_from_class()
S
78 1 3
MNP_Message::holdback_status()
S
68 1 7
MNP_Manager::operation_mode()
S
79 1 3
MNP_Settings_Sheet::enqueue_scripts()
S
67 1 8
ProductCombinationOptions::__construct()
S
77 1 4
Supplement::__construct()
S
71 1 6
MNP_Customer_Inquiry_List_Table::column_cb()
S
70 1 7
MNP_Shipping::shipping_transient_version()
S
75 1 4
MNP_Message::holdback_reason()
S
68 1 7
MNP_Settings::get_api_key()
S
81 1 3
MNP_Message_Delivery::action_button()
S
89 1 2
MNP_Manager::button_type_pc()
S
79 1 3
MNP_Customer_Inquiry_List_Table::column_title()
S
65 1 8
ProductOptionSelectedItem::__construct()
S
72 1 5
MNP_Order::update_npay_fee_items()
S
75 1 4
mnp_woocommerce_order_item_get_formatted_meta_data()
S
65 1 10
MSHOP_NPay::admin_includes()
S
74 1 5
mnp_load_saved_cart_contents()
S
80 1 3
MNP_Settings::enqueue_scripts()
S
66 1 9
MSHOP_NPay::load_plugin_textdomain()
S
77 1 3
MNP_Message::exchange_holdback_reason()
S
64 1 10
MNP_Shipping::msiv_get_postcode()
S
81 1 3
MNP_Message::delivery_method_for_return()
S
73 1 5
MNP_API::get_status()
S
65 1 10
MNP_Manager::register_order_url()
S
79 1 3
MNP_Message::action_button()
S
89 1 2
MNP_Customer_Inquiry_List_Table::get_sortable_columns()
S
68 1 8
MNP_Logger::enabled()
S
78 1 3
Order::__construct()
S
68 1 7
MNP_Ajax::init()
S
76 1 4
ProductOption::__construct()
S
77 1 4
Order::__construct()
S
69 1 7
MNP_Settings::update_settings()
S
66 1 8
MNP_Manager::button_type_mobile()
S
79 1 3
MNP_Post_types::init()
S
79 1 3
ReturnInfo::__construct()
S
67 1 8
MNP_Manager::get_order_status()
S
79 1 3
MNP_Order_Item::can_order_action()
S
78 1 3
MNP_Manager::use_wcs()
S
78 1 3
MNP_Ajax::checkout_cart()
S
82 1 3
MNP_Order::woocommerce_hidden_order_itemmeta()
S
77 1 3
MNP_Shortcodes::add_npay_cart_default_attrs()
S
70 1 6
MNP_Callback::update_order()
S
80 1 3
MSHOP_NPay::template_path()
S
80 1 3
ProductSingle::__construct()
S
81 1 3
MNP_Manager::is_pgall_plugin_installed()
S
75 1 4
MNP_Message::delivery_method()
S
64 1 10
ShippingPolicyConditionalFree::__construct()
S
80 1 3
MSHOP_NPay::slug()
S
83 1 3
MNP_HPOS::init()
S
91 1 2
mnp_admin_notice()
S
73 1 7
MNP_Message::delivery_method_for_exchange()
S
68 1 7
MNP_Admin::customer_inquiry_page()
S
72 1 6
MNP_Settings::output_guide_page()
S
72 1 5
MNP_Message::cancel_reason()
S
68 1 7
MNP_Cart::get_order_key()
S
66 1 8
ProductOptionItem::__construct()
S
74 1 5
MNP_Manager::set_api_key()
S
79 1 3
mnp_load_saved_cart_coupons()
S
80 1 3
MNP_Message::return_holdback_reason()
S
65 1 9
MNP_Manager::get_api_key()
S
79 1 3
MNP_Manager::button_count()
S
78 1 3
MNP_Manager::set_service_status()
S
79 1 3
ProductOptionItemValue::__construct()
S
77 1 4
MNP_Customer_Inquiry_List_Table::__construct()
S
68 1 8
MNP_Shipping::get_shipping_cost()
S
66 1 8
MNP_Sheets::get_sheet_order_field_type()
S
77 1 4
ProductCombination::__construct()
S
74 1 5
MNP_Message::get_fields()
S
89 1 2
MNP_Manager::button_color()
S
79 1 3
MNP_Settings::init_action()
S
72 1 5
MNP_Order::remove_npay_membership_filter()
S
78 1 3
MNP_Ajax::add_to_wishlist()
S
82 1 3
MNP_API::reset_key()
S
65 1 10
ProductOptionSelectedItemValue::__construct()
S
77 1 4
MNP_Message::get_field_value()
S
89 1 2
MSHOP_NPay::naverpay_cron()
S
83 1 3
MNP_Settings::connected_date()
S
81 1 3
MNP_Message::delay_reason()
S
65 1 9
ProductSingle::__construct()
S
81 1 3
MNP_REST_API::init()
S
78 1 3
MNP_Message::get_field_value_date()
S
78 1 3
MNP_Callback::__construct()
S
79 1 3
MNP_Callback::apply_membership()
S
80 1 3
AdditionalFee::__construct()
S
77 1 4
MNP_Wcs::wp_footer()
S
77 1 9
AdditionalFees::__construct()
S
81 1 3