Code Analysis: Charitable - Instamojo Payment Gateway 1.2.0

Function Rating Maintainability Complexity Lines of code
Charitable_Gateway_Instamojo::process_response()
A
37 13 80
Charitable_Gateway_Instamojo::gateway_settings()
A
33 5 139
Charitable_Gateway_Instamojo::createRequest()
A
42 8 48
Instamojo::createPaymentRequest()
A
51 8 26
Instamojo::createOrderPayment()
S
51 6 26
Charitable_Gateway_Instamojo::process_donation()
S
51 5 29
Charitable_Instamojo::get_path()
S
58 5 17
Instamojo::getAccessToken()
S
52 4 25
Charitable_Extension_Activation::__construct()
S
54 4 19
Charitable_Builder_Panel_Payment_Instamojo::sidebar_tab()
S
62 5 9
Charitable_Builder_Panel_Payment_Instamojo::panel_content()
S
52 3 28
Charitable_Builder_Panel_Payment_Instamojo::education_payment_text()
S
47 2 40
charitable_instamojo_load()
S
59 3 15
Instamojo::__construct()
S
62 3 13
Instamojo::getPaymentById()
S
60 3 12
Instamojo::getOrderById()
S
60 3 12
Instamojo::getPaymentRequestById()
S
60 3 12
Charitable_Gateway_Instamojo::get_currency_notice()
S
53 1 35
Charitable_Gateway_Instamojo::get_default_gateway_notice()
S
53 1 35
Charitable_Instamojo::add_plugin_action_links()
S
55 2 20
Instamojo::getResponseBody()
S
70 3 6
Instamojo::getPaymentStatus()
S
69 3 7
Charitable_Gateway_Instamojo::getCancelURL()
S
60 2 15
Charitable_Gateway_Instamojo::change_currency_to_inr()
S
61 2 12
Charitable_Gateway_Instamojo::change_gateway_to_instamojo()
S
61 2 12
Charitable_Gateway_Instamojo::get_keys()
S
63 2 11
Charitable_Instamojo::maybe_upgrade()
S
66 2 8
Charitable_Instamojo::get_instamojo_payment_classfile()
S
70 2 6
Charitable_Instamojo::attach_hooks_and_filters()
S
64 2 9
Charitable_Instamojo::started()
S
78 2 3
Charitable_Gateway_Instamojo::getTestModeNumber()
S
70 2 7
Charitable_Instamojo::register_object()
S
69 2 7
Charitable_Extension_Activation::missing_charitable_notice()
S
62 2 10
Charitable_Instamojo_Upgrade::upgrade_from()
S
73 2 5
Charitable_Instamojo::start()
S
65 2 10
Charitable_Instamojo::get_object()
S
78 2 3
Charitable_Gateway_Instamojo::update_donation_log()
S
70 2 6
Charitable_Gateway_Instamojo::getInstamojoObject()
S
68 1 7
Charitable_Instamojo_i18n::charitable_start()
S
91 1 2
Charitable_Instamojo_i18n::__construct()
S
69 1 6
Charitable_Instamojo::get_version()
S
81 1 3
Charitable_Instamojo::__construct()
S
69 1 6
Charitable_Gateway_Instamojo::redirect_to_processing_legacy()
S
68 1 8
Charitable_Instamojo::__clone()
S
78 1 3
ValidationException::__construct()
S
73 1 5
Charitable_Instamojo::get_instance()
S
80 1 3
Charitable_Instamojo::is_start()
S
80 1 3
ValidationException::getErrors()
S
82 1 3
Charitable_Extension_Activation::run()
S
79 1 3
Charitable_Gateway_Instamojo::__construct()
S
64 1 10
Charitable_Gateway_Instamojo::get_gateway_id()
S
80 1 3
Charitable_Gateway_Instamojo::set_phone_field_required()
S
75 1 4
Charitable_Instamojo::__wakeup()
S
78 1 3
ValidationException::getResponse()
S
82 1 3
Charitable_Instamojo::add_panel_payment()
S
76 1 4
Charitable_Builder_Panel_Payment_Instamojo::__construct()
S
71 1 5
Charitable_Instamojo::register_gateway()
S
76 1 4
Charitable_Instamojo::load_dependencies()
S
73 1 5