Code Analysis: PORTONE 우커머스 결제 3.0.5

Function Rating Maintainability Complexity Lines of code
PORTONE_Payment_Gateway::check_payment_response()
D
25
26 178
Array2xml::_getXML()
C
32 29 107
WC_Gateway_Portone_Subscription_Ex::check_payment_response()
C
26
25 161
WC_Gateway_Portone_Subscription::process_subscription_payment()
C
27
23 155
WC_Gateway_Portone_Vbank::iamport_payment_info()
B
45 21 35
WC_Gateway_Portone_Trans::iamport_payment_info()
B
49 19 26
WC_Gateway_Portone_Phone::iamport_payment_info()
B
50 18 23
WC_Gateway_Portone_Card::iamport_payment_info()
B
51 18 22
find_gateway()
A
45 14 48
WC_Gateway_Portone_Subscription::process_register_billing()
A
35 11 84
PORTONE_Payment_Gateway::iamport_payment_info()
A
39 12 64
iamport_order_endpoint_data()
A
35 8 117
WC_Gateway_Portone_Subscription::iamport_credit_card_form_fields()
A
39 11 64
Portone_Helper::findProductItem()
A
48 12 32
WC_Gateway_Portone_Subscription::process_subscription()
A
44 11 45
WC_Gateway_Portone_NaverPayExt::doPayment()
A
41 10 55
CODEM\PORTONE\Utility\WCUtil::get_product_price()
A
48 11 38
WC_Gateway_Portone_Kakao::doPayment()
A
42 10 51
WC_Gateway_Portone_Subscription_Ex::doPayment()
A
42 10 50
IamportSettingTab::getSettings()
A
30 2 157
iamport_cancel_handle()
A
48 10 30
Portone_Helper::has_excluded_product()
A
51 10 24
WC_Gateway_Portone_Kakao::kakao_unset_gateway_by_category()
A
50 9 26
WC_Gateway_Portone_Vbank::init_form_fields()
A
31 1 143
WC_Gateway_Portone_NaverPayExt::iamport_payment_info()
A
45 7 42
PORTONE_Payment_Gateway::http_param()
A
54 8 22
Portone_For_WooCommerce::wp_enqueue_scripts()
A
55 8 16
WC_Gateway_Portone_Subscription_Ex::process_refund()
S
44 6 44
WC_Gateway_Portone_Subscription::process_refund()
S
44 6 44
ajax_iamport_payment_info()
S
45 6 43
WC_Gateway_Portone_Kakao::get_disabled_categories()
S
60 8 13
Portone_Helper::htmlSecondaryPaymentMethod()
S
52 7 24
Array2xml::convert()
S
54 7 22
CODEM\PORTONE\Utility\WPUtil::get_user_roles()
S
55 7 20
WC_Gateway_Portone_Subscription_Ex::iamport_payment_info()
S
54 7 19
WC_Gateway_Portone_NaverPayExt::scheduled_subscription_payment()
S
43 5 47
Portone_Tax::get_tax_free_amount()
S
56 7 17
WC_Gateway_Portone_Subscription_Ex::scheduled_subscription_payment()
S
43 5 47
WC_Gateway_Portone_Kakao::scheduled_subscription_payment()
S
43 5 47
WC_Gateway_Portone_Vbank::iamport_order_detail()
S
42 4 61
WC_Gateway_Portone_NaverPayExt::render_product_category()
S
50 6 30
Portone_Helper::display_label()
S
59 7 14
WooIamport::cancel()
S
50 6 27
WC_Gateway_Portone_Kakao::iamport_payment_info()
S
51 6 26
WC_Gateway_Portone_NaverPayExt::eliminateUnderInspection()
S
60 7 11
WC_Gateway_Portone_Phone::init_form_fields()
S
36 1 99
WC_Gateway_Portone_Trans::init_form_fields()
S
36 1 99
PORTONE_Payment_Gateway::process_refund()
S
46 5 39
WooIamport::getResponse()
S
50 6 24
WC_Gateway_Portone_Card::init_form_fields()
S
36 1 98
Portone_Tax::get_total_tax()
S
55 6 23
CODEM\PORTONE\Utility\WCUtil::target_search_product()
S
46 5 37
WC_Gateway_Portone_NaverPayExt::get_naver_category()
S
53 6 20
PORTONE_Payment_Gateway::paymentLanguage()
S
56 6 18
init_iamport_plugin()
S
55 6 18
WC_Gateway_Portone_Subscription::getDecryptedCard()
S
50 5 31
iamport_exchange_capable()
S
57 6 16
iamport_refund_capable()
S
57 6 16
WC_Gateway_Portone_NaverPayExt::save_product_category()
S
58 6 14
WC_Gateway_Portone_NaverPayExt::my_template()
S
61 6 11
WooIamport::postResponse()
S
50 5 25
WooIamport::deleteResponse()
S
51 5 23
Portone_Helper::get_customer_uid()
S
54 5 20
Portone_Helper::get_order_name()
S
55 5 19
WooIamport::cancelNaverOrder()
S
54 5 19
PORTONE_Payment_Gateway::get_order_name()
S
55 5 19
iamport_auto_complete()
S
55 5 18
WC_Gateway_Portone_Subscription::get_default_user_name()
S
57 5 18
PORTONE_Payment_Gateway::get_default_user_name()
S
57 5 18
iamport_cancel_request_actions()
S
50 4 31
WC_Gateway_Portone_Vbank::iamport_order_received_text()
S
58 5 16
Array2xml::__construct()
S
59 5 14
WC_Gateway_Portone_Subscription::jsonOrException()
S
60 5 13
iamport_refund_payment()
S
51 4 26
PORTONE_HPOS::get_shop_order_screen()
S
62 5 11
Portone_For_WooCommerce::includes()
S
64 5 11
iamport_vbank_order_details()
S
52 4 24
WC_Gateway_Portone_Subscription::init_form_fields()
S
41 1 68
WC_Gateway_Portone_Kakao::init_form_fields()
S
41 1 68
WooIamport::getAccessCode()
S
54 4 21
WooIamport::sbcr_onetime()
S
53 4 20
WooIamport::sbcr_again()
S
53 4 20
WooIamport::sbcr_foreign()
S
53 4 20
WooIamport::customer_save()
S
54 4 20
CODEM\PORTONE\Utility\WPUtil::target_search_user()
S
54 4 19
WC_Gateway_Portone_NaverPayExt::init_form_fields()
S
42 1 64
WooIamport::postNaverShipping()
S
55 4 18
WC_Gateway_Portone_Subscription::get_private_key()
S
57 4 17
WooIamport::customer_delete()
S
57 4 16
WooIamport::getNaverReviews()
S
57 4 16
WC_Gateway_Portone_Subscription::process_payment()
S
67 5 7
WC_Gateway_Portone_Kakao::get_display_categories()
S
63 5 10
Portone_Helper::paidCustomStatus()
S
63 5 10
IMP_Email_Customer_Vbank_Awaiting_Order::trigger()
S
58 4 14
CODEM\PORTONE\Utility\WCUtil::get_category_ids()
S
59 4 14
IMP_Email_Customer_Vbank_Processing_Order::trigger()
S
58 4 14
IMP_Email_Admin_Vbank_Confirm_Order::trigger()
S
59 4 13
WooIamport::findByMerchantUID()
S
59 4 13
WooIamport::findByImpUID()
S
59 4 13
WooIamport::customer_view()
S
60 4 12
WooIamport::getNaverProductOrders()
S
60 4 12
PORTONE_Payment_Gateway::process_payment()
S
52 3 25
CODEM\PORTONE\Utility\WPUtil::target_search_page()
S
53 3 22
CODEM\PORTONE\Utility\WPUtil::target_search_post()
S
53 3 22
portone_send_usage_notification()
S
54 3 21
CODEM\PORTONE\Utility\WPUtil::make_taxonomy_tree()
S
56 3 17
IMP_Email_Admin_Vbank_Confirm_Order::init_form_fields()
S
56 3 17
Portone_For_WooCommerce::add_order_statuses()
S
56 3 17
PORTONE_Payment_Gateway::getRestInfo()
S
59 3 16
CODEM\PORTONE\Utility\WCUtil::get_product_id()
S
63 4 10
WC_Gateway_Portone_Phone::init_settings()
S
65 4 9
Portone_Tax::get_refund_for_order()
S
69 4 6
WC_Gateway_Portone_Subscription_Ex::get_order_name()
S
58 3 15
Portone_Helper::get_all_products()
S
59 3 15
WC_Gateway_Portone_Eximbay::iamport_order_detail()
S
52 2 30
WC_Gateway_Portone_Kakao::has_subscription()
S
77 4 3
PORTONE_Payment_Gateway::has_status()
S
72 4 4
WC_Gateway_Portone_NaverPayExt::has_subscription()
S
77 4 3
Array2xml::setFilterNumbersInTags()
S
61 3 14
WC_Gateway_Portone_Subscription_Ex::init_form_fields()
S
46 1 43
WC_Gateway_Portone_Subscription::keyphrase()
S
61 3 13
PORTONE_Payment_Gateway::getServicePeriod()
S
61 3 12
WC_Gateway_Portone_Kakao::get_order_name()
S
61 3 12
CODEM\PORTONE\Utility\WPUtil::get_roles()
S
62 3 11
WC_Gateway_Portone_Vbank::vbank_due_string()
S
60 3 11
Portone_Post_Type::register_order_status()
S
49 1 38
WC_Gateway_Portone_Eximbay::iamport_credit_card_form_fields()
S
57 2 18
Portone_For_WooCommerce::woocommerce_payment_gateways()
S
57 2 18
PORTONE_Payment_Gateway::isMobile()
S
49 1 33
Portone_Helper::getCustomStatuses()
S
59 2 16
CODEM\PORTONE\Utility\WCUtil::cart_contains_renewal()
S
77 3 3
WC_Gateway_Portone_NaverPayExt::get_order_name()
S
63 3 10
PORTONE_HPOS::enabled()
S
70 3 6
PORTONE_HPOS::get_order()
S
67 3 8
Portone_Tax::get_tax_amount()
S
64 3 9
Portone_Helper::is_product_in_categories()
S
64 3 9
IMP_Email_Admin_Vbank_Confirm_Order::__construct()
S
58 2 15
WC_Gateway_Portone_Subscription::format_expiry()
S
62 3 10
Portone_Helper::get_tax_free_amount()
S
63 3 10
WC_Gateway_Portone_Subscription::decrypt()
S
66 3 8
WC_Gateway_Portone_Kakao::payment_fields()
S
65 3 8
Portone_Helper::get_max_card_quota()
S
67 3 7
WC_Gateway_Portone_Kakao::all_products_in_categories()
S
68 3 7
iamport_advanced_meta_save()
S
66 3 8
iamport_add_order_phone_column_header()
S
64 3 10
iamport_order_detail_in_history()
S
70 3 6
PORTONE_Payment_Gateway::getKcpProducts()
S
58 2 14
WC_Gateway_Portone_Subscription::display_subscription_info()
S
60 2 14
WC_Gateway_Portone_Subscription_Ex::isAlreadyPaidOrder()
S
60 2 13
PORTONE_Payment_Gateway::init_form_fields()
S
52 1 28
WC_Gateway_Portone_Phone::iamport_order_detail()
S
52 1 27
WC_Gateway_Portone_Card::iamport_order_detail()
S
52 1 27
WC_Gateway_Portone_Kakao::iamport_order_detail()
S
52 1 27
WC_Gateway_Portone_Trans::iamport_order_detail()
S
52 1 27
Portone_Helper::get_all_categories()
S
63 2 11
CODEM\PORTONE\Utility\WPUtil::target_search_menu()
S
63 2 11
CODEM\PORTONE\Utility\WCUtil::target_search_shipping_classes()
S
63 2 11
iamport_advanced_meta()
S
53 1 25
WC_Gateway_Portone_Paymentwall::init_form_fields()
S
53 1 24
WC_Gateway_Portone_Eximbay::init_form_fields()
S
53 1 24
WC_Gateway_Portone_Subscription_Ex::iamport_order_detail()
S
56 1 20
WC_Gateway_Portone_Paymentwall::iamport_order_detail()
S
56 1 20
WC_Gateway_Portone_Subscription::iamport_order_detail()
S
56 1 20
WC_Gateway_Portone_Subscription::__construct()
S
54 1 19
Portone_For_WooCommerce::__construct()
S
57 1 18
WC_Gateway_Portone_Subscription_Ex::__construct()
S
56 1 15
WC_Gateway_Portone_Subscription_Ex::doFakePayment()
S
69 2 6
CODEM\PORTONE\Utility\WCUtil::wpml_get_default_language_args()
S
67 2 8
portone_get_order_status_from_order_row()
S
70 2 7
portone_get()
S
78 2 3
iamport_valid_order_statuses_for_cancel()
S
67 2 8
WC_Gateway_Portone_Vbank::__construct()
S
57 1 15
Portone_Helper::get_notice_url()
S
67 2 7
WC_Gateway_Portone_Subscription::payment_fields()
S
60 1 15
CODEM\PORTONE\Utility\WPUtil::get_role_options()
S
64 2 10
WC_Gateway_Portone_Subscription::is_from_payment()
S
78 2 3
iamport_add_order_phone_column_content()
S
69 2 7
WC_Gateway_Portone_NaverPayExt::get_subscription_order_name()
S
64 2 9
portone_get_order_row()
S
64 2 9
iamport_order_is_paid_statuses()
S
70 2 7
CODEM\PORTONE\Utility\WPUtil::target_search_posts_title_like()
S
67 2 7
CODEM\PORTONE\Utility\WCUtil::wpml_get_default_language()
S
68 2 8
PORTONE_HPOS::get_order_admin_url()
S
68 2 7
PORTONE_HPOS::is_order()
S
77 2 3
WC_Gateway_Portone_NaverPayExt::is_product_purchasable()
S
74 2 4
CODEM\PORTONE\Utility\WPUtil::get_user_role_name()
S
70 2 6
WC_Gateway_Portone_Phone::legacy_danal_user()
S
77 2 3
Portone_For_WooCommerce::instance()
S
72 2 6
WC_Gateway_Portone_Subscription_Ex::is_available()
S
78 2 3
PORTONE_Payment_Gateway::format_status()
S
76 2 3
WC_Gateway_Portone_Subscription::is_method_change()
S
77 2 3
WC_Gateway_Portone_Card::payment_fields()
S
68 2 7
WC_Gateway_Portone_Trans::payment_fields()
S
68 2 7
WC_Gateway_Portone_Subscription_Ex::isEmptyProvider()
S
79 2 3
PORTONE_Payment_Gateway::add_log()
S
70 2 6
WC_Gateway_Portone_Subscription::credit_card_form()
S
64 2 10
WC_Gateway_Portone_Subscription::scheduled_subscription_payment()
S
64 2 9
Portone_Helper::is_subscription_product()
S
78 2 3
Portone_For_WooCommerce::plugin_path()
S
71 2 6
WC_Gateway_Portone_NaverPayExt::get_product_uid()
S
67 2 8
CODEM\PORTONE\Utility\WPUtil::target_search_taxonomy()
S
65 2 9
WC_Gateway_Portone_Kakao::is_product_purchasable()
S
74 2 4
WC_Gateway_Portone_NaverPayExt::payment_fields()
S
68 2 7
WC_Gateway_Portone_Vbank::payment_fields()
S
68 2 7
Portone_For_WooCommerce::plugin_url()
S
71 2 6
WooIamportPayment::__get()
S
74 2 5
CODEM\PORTONE\Utility\WPUtil::get()
S
78 2 3
WooIamportPayment::getCustomData()
S
76 2 4
CODEM\PORTONE\Utility\WPUtil::get_user_role_names()
S
66 2 8
WC_Gateway_Portone_Phone::payment_fields()
S
68 2 7
Portone_Tax::maybe_set_refund_order()
S
69 2 7
PORTONE_HPOS::get_order_type()
S
78 2 3
Portone_Tax::calculate_tax()
S
68 2 7
WC_Gateway_Portone_Subscription::get_order_name()
S
65 2 9
WC_Gateway_Portone_NaverPayExt::iamport_order_detail()
S
62 1 15
Portone_Helper::isIamportGateway()
S
77 2 3
CODEM\PORTONE\Utility\WCUtil::cart_round_discount()
S
70 2 6
Portone_For_WooCommerce::declare_woocommerce_compatibility()
S
72 2 5
CODEM\PORTONE\Utility\WCUtil::target_search_posts_title_like()
S
67 2 7
IMP_Email_Customer_Vbank_Awaiting_Order::__construct()
S
60 1 13
PORTONE_Payment_Gateway::__construct()
S
60 1 12
WC_Gateway_Portone_Trans::__construct()
S
60 1 12
iamport_woocommerce_general_settings()
S
61 1 12
WC_Gateway_Portone_Kakao::__construct()
S
59 1 12
WC_Gateway_Portone_NaverPayExt::__construct()
S
59 1 12
IMP_Email_Customer_Vbank_Processing_Order::__construct()
S
61 1 12
WC_Gateway_Portone_Phone::__construct()
S
62 1 11
WC_Gateway_Portone_Card::__construct()
S
62 1 11
WC_Gateway_Portone_Kakao::update_customer_uid()
S
73 1 5
WC_Gateway_Portone_Phone::get_gateway_id()
S
81 1 3
Array2xml::setCDataKeys()
S
81 1 3
Array2xml::setNewTab()
S
80 1 3
WC_Gateway_Portone_Subscription_Ex::cancelled_subscription()
S
91 1 2
PORTONE_Payment_Gateway::update_shipping_info()
S
91 1 2
WC_Gateway_Portone_Vbank::iamport_valid_order_statuses_for_payment_complete()
S
77 1 4
WC_Gateway_Portone_Paymentwall::__construct()
S
64 1 9
WC_Gateway_Portone_Subscription::cancelled_subscription()
S
91 1 2
Portone_For_WooCommerce::template_path()
S
80 1 3
IMP_Email_Admin_Vbank_Confirm_Order::get_content_plain()
S
64 1 10
WC_Gateway_Portone_Kakao::is_paid_confirmed()
S
74 1 4
WC_Gateway_Portone_Kakao::init()
S
79 1 3
Portone_Emails::iamport_email_actions()
S
67 1 9
IamportSettingTab::label()
S
75 1 4
WC_Gateway_Portone_Subscription_Ex::send_usage_notification()
S
81 1 3
WC_Gateway_Portone_NaverPayExt::render_add_product_category()
S
79 1 3
enqueue_iamport_admin_style()
S
66 1 8
Array2xml::setVersion()
S
80 1 3
WC_Gateway_Portone_Subscription::to_hex()
S
80 1 3
CODEM\PORTONE\Utility\WPUtil::get_user_role()
S
74 1 4
Array2xml::setRootAttrs()
S
81 1 3
WC_Gateway_Portone_Eximbay::get_gateway_id()
S
81 1 3
IMP_Email_Customer_Vbank_Awaiting_Order::get_content_plain()
S
63 1 10
WC_Gateway_Portone_Subscription::is_paid_confirmed()
S
80 1 3
IMP_Email_Admin_Vbank_Confirm_Order::get_content_html()
S
64 1 10
Array2xml::setSkipNumeric()
S
80 1 3
WC_Gateway_Portone_Card::get_gateway_id()
S
81 1 3
WooIamportResult::__construct()
S
74 1 5
IamportSettingTab::settings()
S
81 1 3
Array2xml::setDefaultTagName()
S
80 1 3
Array2xml::setRootSelf()
S
80 1 3
WC_Gateway_Portone_NaverPayExt::get_gateway_id()
S
81 1 3
IamportSettingTab::init()
S
71 1 5
WC_Gateway_Portone_Eximbay::__construct()
S
62 1 10
WC_Gateway_Portone_Paymentwall::iamport_payment_info()
S
70 1 6
WC_Gateway_Portone_Vbank::get_gateway_id()
S
81 1 3
PORTONE_HPOS::init()
S
91 1 2
WC_Gateway_Portone_NaverPayExt::save_edit_product_category()
S
79 1 3
PORTONE_Payment_Gateway::generate_order_key()
S
76 1 3
WC_Gateway_Portone_Subscription_Ex::get_gateway_id()
S
81 1 3
Portone_Tax::get_vat_rate()
S
66 1 8
Portone_Emails::iamport_vbank_email_notification()
S
70 1 6
Array2xml::setRawKeys()
S
81 1 3
WooIamportAuthException::__construct()
S
79 1 3
PORTONE_Payment_Gateway::is_paid_confirmed()
S
80 1 3
WC_Gateway_Portone_Kakao::get_gateway_id()
S
81 1 3
WC_Gateway_Portone_NaverPayExt::update_customer_uid()
S
73 1 5
Portone_For_WooCommerce::woocommerce_init()
S
70 1 6
WC_Gateway_Portone_NaverPayExt::render_edit_product_category()
S
79 1 3
Portone_Post_Type::init()
S
79 1 3
WC_Gateway_Portone_Subscription::get_public_key()
S
70 1 5
Array2xml::setNumericTagPrefix()
S
80 1 3
Portone_For_WooCommerce::load_plugin_textdomain()
S
77 1 3
WC_Gateway_Portone_NaverPayExt::save_add_product_category()
S
79 1 3
IMP_Email_Customer_Vbank_Processing_Order::get_content_html()
S
64 1 10
WC_Gateway_Portone_Paymentwall::get_gateway_id()
S
81 1 3
WC_Gateway_Portone_Subscription::send_usage_notification()
S
81 1 3
Array2xml::setRootName()
S
80 1 3
WC_Gateway_Portone_NaverPayExt::is_paid_confirmed()
S
74 1 4
IMP_Email_Customer_Vbank_Awaiting_Order::get_content_html()
S
63 1 10
Portone_For_WooCommerce::admin_includes()
S
91 1 2
WooIamportPayment::__construct()
S
76 1 4
PORTONE()
S
82 1 3
WC_Gateway_Portone_Eximbay::iamport_payment_info()
S
70 1 6
enqueue_iamport_common_script()
S
77 1 4
Portone_For_WooCommerce::frontend_includes()
S
91 1 2
WooIamportRequestException::__construct()
S
76 1 4
PORTONE_Payment_Gateway::iamport_order_detail()
S
100 1 0
WC_Gateway_Portone_Subscription::checkingAmount()
S
80 1 3
Portone_Helper::supportMembershipPlugin()
S
80 1 3
Portone_Emails::init()
S
75 1 4
Portone_Tax::init()
S
78 1 3
IMP_Email_Customer_Vbank_Processing_Order::get_content_plain()
S
64 1 10
WooIamport::__construct()
S
77 1 4
iamport_woocommerce_not_compatible()
S
72 1 5
PORTONE_Payment_Gateway::send_usage_notification()
S
81 1 3
Array2xml::setEmptyElementSyntax()
S
81 1 3
IamportSettingTab::save()
S
81 1 3
iamport_address_replacements()
S
66 1 9
Array2xml::setElementsAttrs()
S
81 1 3
Portone_For_WooCommerce::ajax_includes()
S
91 1 2
WC_Gateway_Portone_Trans::get_gateway_id()
S
81 1 3
PORTONE_Payment_Gateway::get_gateway_id()
S
100 1 0
iamport_woocommerce_not_installed()
S
72 1 5
Array2xml::setEncoding()
S
80 1 3
WC_Gateway_Portone_Subscription::enqueue_iamport_script()
S
66 1 8
Array2xml::setNewLine()
S
80 1 3