Code Analysis: Sony Payment Services pro for WooCommerce 1.2.3

Function Rating Maintainability Complexity Lines of code
SPFWC_Admin_Order::ajax_handler()
D
0
211 1,054
SPFWC_Payment_Message::response_message()
D
0
197 595
SPFWC_Payment_Message::error_message()
D
0
198 234
SPFWC_Payment_Response_Handler::response_handler()
D
8
88 389
WC_Gateway_SonyPayment::process_payment()
D
15
63 296
SPFWC_Admin_Order::settlement_scripts()
D
20
12 504
SPFWC_MyAccount::save_cardmember_3d()
D
27
32 132
SPFWC_MyAccount::save_cardmember()
D
29 32 111
WC_Gateway_SonyPayment::paytype_select_field()
C
38 32 56
spfwc_get_operation_name()
C
37 25 72
spfwc_get_cvs_name()
B
40 20 64
SPFWC_Admin_Order::settlement_latest_info()
B
41 19 45
SPFWC_MyAccount::delete_cardmember()
A
39 15 59
SPFWC_MyAccount::account_scripts()
A
44 14 39
WC_Gateway_SonyPayment::payment_fields()
A
48 14 31
spfwc_get_paytype()
A
51 14 27
WC_Gateway_SonyPayment::elements_form()
A
38 10 74
SPFWC_Admin_Order::render_columns()
A
44 12 43
WC_Gateway_SonyPayment::payment_scripts()
A
40 11 57
SPFWC_Payment_Logger::get_latest_log()
A
46 12 36
WC_Gateway_SonyPayment::init_form_fields()
A
29
1 182
WC_Gateway_SonyPayment_Subscriptions::scheduled_subscription_payment()
A
39 8 66
Woo_SonyPayment::admin_scripts()
A
47 10 31
SPFWC_MyAccount::account_edit_endpoint()
A
48 10 29
SPFWC_SLN_Connection::send_request()
A
41 8 57
WC_Gateway_SonyPayment::payment_complete_order_status()
A
49 9 32
SPFWC_Admin_Order::meta_box()
A
53 8 21
spfwc_get_formatted_date()
S
53 7 21
spfwc_get_customer_active_card_orders()
S
48 6 35
SPFWC_Logger::add_log()
S
56 7 17
SPFWC_MyAccount::__construct()
S
56 7 16
WC_Gateway_SonyPayment::is_valid_setting()
S
62 7 12
SPFWC_Payment_Response_Handler::is_valid_payment_notification()
S
62 7 11
WC_Gateway_SonyPayment::save_payment_method_checkbox()
S
48 5 38
SPFWC_Payment_Request::payment_scripts()
S
54 6 19
WC_Payment_Support::add_card_member_fields()
S
49 5 33
WC_Payment_Support::customer_meta_fields()
S
49 5 32
SPFWC_Admin_Order::settlement_history()
S
49 5 28
SPFWC_Payment_Logger::add_log()
S
51 5 25
WC_Payment_Support::save_card_member_fields()
S
57 5 16
Woo_SonyPayment::init()
S
49 4 30
SPFWC_Admin_Order::check_paid()
S
59 5 14
SPFWC_Payment_Response_Handler::is_valid_payment_response()
S
63 5 11
WC_Gateway_SonyPayment_Subscriptions::init_form_fields()
S
53 4 23
SPFWC_Card_Member::delete_card_member()
S
53 4 23
SPFWC_Admin_Order::settlement_actions_box()
S
54 4 22
Woo_SonyPayment::activate()
S
55 4 19
WC_Payment_Support::add_kana_fields()
S
55 4 17
WC_Gateway_SonyPayment::process_response()
S
57 4 15
WC_Payment_Support::add_user_profile()
S
62 5 10
WC_Gateway_SonyPayment_Subscriptions::save_cardmember()
S
63 5 10
SPFWC_MyAccount::account_menu_items()
S
59 4 13
SPFWC_Card_Member::create_card_member()
S
51 3 28
SPFWC_Install::create_tables()
S
53 3 26
SPFWC_Card_Member::search_card_member()
S
54 3 23
SPFWC_Card_Member::update_card_member()
S
54 3 22
WC_Gateway_SonyPayment::__construct()
S
47 2 35
WC_Payment_Support::default_address_fields()
S
55 3 20
SPFWC_Payment_Request::ajax_get_card_member()
S
56 3 17
WC_Payment_Support::admin_billing_fields()
S
57 3 17
WC_Payment_Support::admin_shipping_fields()
S
57 3 17
SPFWC_Payment_Logger::get_first_operation()
S
57 3 16
SPFWC_Payment_Response_Handler::is_valid_3dsecure_response()
S
64 4 10
WC_Gateway_SonyPayment_Subscriptions::deletable_cardmember()
S
65 4 9
WC_Gateway_SonyPayment_Subscriptions::order_contains_subscription()
S
77 4 3
SPFWC_SLN_Connection::connection()
S
59 3 14
SPFWC_Admin_Order::check_paylimit()
S
60 3 13
WC_Gateway_SonyPayment_Subscriptions::__construct()
S
54 2 22
SPFWC_SLN_Connection::get_decrypt_value()
S
66 3 7
SPFWC_SLN_Connection::api_token_url()
S
70 3 5
Woo_SonyPayment::add_gateways()
S
65 3 9
Woo_SonyPayment::admin_init()
S
66 3 9
SPFWC_Card_Member::is_card_member()
S
71 3 5
SPFWC_SLN_Connection::get_decrypt_value_3dsecure()
S
64 3 8
WC_Payment_Support::__construct()
S
65 3 8
WC_Payment_Support::delete_card_member()
S
67 3 7
WC_Payment_Support::address_replacements()
S
70 3 5
SPFWC_SLN_Connection::get_encrypt_value_3dsecure()
S
63 3 9
SPFWC_SLN_Connection::__construct()
S
68 3 6
SPFWC_SLN_Connection::send_url_3dsecure()
S
70 3 5
SPFWC_SLN_Connection::redirect_url_cvs()
S
70 3 5
WC_Gateway_SonyPayment::obtain_consent()
S
64 3 10
SPFWC_SLN_Connection::send_url_link()
S
70 3 5
SPFWC_SLN_Connection::get_encrypt_value()
S
64 3 8
WC_Payment_Support::get_order_address()
S
61 2 11
spfwc_consent_message()
S
56 1 19
SPFWC_Card_Member::__construct()
S
74 2 5
SPFWC_SLN_Connection::send_url_cvs()
S
76 2 4
SPFWC_SLN_Connection::send_url_member()
S
76 2 4
WC_Gateway_SonyPayment::check_auth_key()
S
60 1 15
WC_Gateway_SonyPayment_Subscriptions::view_subscription_actions()
S
71 2 6
WC_Gateway_SonyPayment_Subscriptions::hide_howtopay_select()
S
72 2 6
SPFWC_SLN_Connection::send_url()
S
76 2 4
Woo_SonyPayment::get_instance()
S
72 2 6
WC_Gateway_SonyPayment_Subscriptions::hide_save_payment_method_checkbox()
S
72 2 6
SPFWC_SLN_Connection::send_url_token()
S
76 2 4
WC_Gateway_SonyPayment::admin_options()
S
67 2 9
spfwc_get_order_prop()
S
74 2 4
SPFWC_MyAccount::get_endpoint_title()
S
64 2 10
WC_Gateway_SonyPayment::is_available()
S
72 2 6
is_edit_cardmember_page()
S
74 2 4
SPFWC_Payment_Request::__construct()
S
71 2 6
SPFWC_Payment_Logger::add_notice_log()
S
62 1 12
SPFWC_Payment_Logger::add_post_log()
S
62 1 12
SPFWC_Card_Member::set_palam_list()
S
62 1 11
WC_Payment_Support::billing_address()
S
69 1 6
SPFWC_Card_Member::get_member_pass()
S
75 1 4
SPFWC_Exception::__construct()
S
76 1 4
SPFWC_SLN_Connection::get_connection_url()
S
82 1 3
WC_Payment_Support::address_formats()
S
75 1 4
spfwc_get_transaction_code()
S
71 1 5
SPFWC_SLN_Connection::get_connection_timeout()
S
82 1 3
SPFWC_SLN_Connection::set_connection_url()
S
81 1 3
SPFWC_Payment_Logger::clear_log()
S
74 1 4
SPFWC_Payment_Logger::clear_post_log()
S
74 1 4
SPFWC_Payment_Logger::get_log()
S
64 1 10
WC_Gateway_SonyPayment::is_valid_for_use()
S
78 1 3
WC_Gateway_SonyPayment_Subscriptions::my_subscriptions_payment_method()
S
82 1 3
WC_Payment_Support::formatted_address()
S
70 1 5
SPFWC_Card_Member::make_member_pass()
S
75 1 4
SPFWC_Card_Member::set_member_id()
S
75 1 4
SPFWC_Admin_Order::__construct()
S
65 1 8
Woo_SonyPayment::deactivate()
S
91 1 2
SPFWC_Card_Member::set_member_pass()
S
75 1 4
Woo_SonyPayment::admin_styles()
S
78 1 3
WC_Payment_Support::shipping_address()
S
69 1 6
SPFWC_Payment_Logger::get_post_log()
S
64 1 10
SPFWC_Payment_Request::init()
S
75 1 4
SPFWC_Payment_Response_Handler::__construct()
S
79 1 3
SPFWC_Card_Member::make_member_id()
S
70 1 5
Woo_SonyPayment::plugin_action_links()
S
70 1 6
SPFWC_Card_Member::get_customer_id()
S
80 1 3
spfwc_init_transaction_code()
S
75 1 4
SPFWC_Payment_Logger::get_first_log()
S
64 1 10
SPFWC_Payment_Logger::__construct()
S
75 1 4
SPFWC_Exception::getLocalizedMessage()
S
82 1 3
SPFWC_Payment_Logger::get_notice_log()
S
64 1 10
spfwc_get_transaction_date()
S
75 1 4
SPFWC_Card_Member::set_customer_id()
S
80 1 3
SPFWC_Admin_Order::define_columns()
S
75 1 4
SPFWC_SLN_Connection::set_connection_timeout()
S
81 1 3
Woo_SonyPayment::__construct()
S
66 1 8
SPFWC_MyAccount::get_query_vars()
S
77 1 4
SPFWC_Card_Member::get_member_id()
S
75 1 4
Woo_SonyPayment::get_sections_checkout()
S
68 1 7
SPFWC_Admin_Order::enqueue_scripts()
S
77 1 4
SPFWC_Payment_Logger::clear_notice_log()
S
74 1 4