Code Analysis: TakBull For Paid Memberships Pro 1.0.1.6

Function Rating Maintainability Complexity Lines of code
PMProGateway_takbull::sendToTakbull()
D
24
30 172
PMProGateway_takbull::pmpro_payment_option_fields()
B
35 13 144
pmpro_ipnChangeMembershipLevel()
A
39 10 65
PMProGateway_takbull::cancel()
S
50 6 28
pmpro_ipnExit()
S
53 6 21
pmpro_takbull_Validate()
S
52 5 25
Takbull_Logger::log()
S
55 4 17
PMProGateway_takbull::pmpro_checkout_before_change_membership_level()
S
57 4 16
Takbull_API::request()
S
50 3 29
Takbull_API::get_request()
S
52 3 25
PMProGateway_takbull::init()
S
50 2 38
pmpro_ipnSaveOrder()
S
51 2 25
PMProGateway_takbull::subscribe()
S
56 2 18
Takbull_API::get_api_secret()
S
65 3 9
Takbull_API::get_api_key()
S
65 3 9
PMProGateway_takbull::pmpro_gateways()
S
74 2 4
pmpro_takbull_plugins_loaded()
S
67 2 8
Takbull_API::get_headers()
S
58 1 15
PMProGateway_takbull::process()
S
65 2 9
Takbull_API::get_user_agent()
S
60 1 14
PMProGateway_takbull::pmpro_required_billing_fields()
S
62 1 12
PMProGateway_takbull::getGatewayOptions()
S
65 1 11
Takbull_API::get_redirecr_order_api()
S
79 1 3
PMProGateway_takbull::wp_ajax_pmpro_takbull_ipn_handler()
S
77 1 4
PMProGateway_takbull::getSubscriptionStatus()
S
82 1 3
PMProGateway_takbull::pmpro_gateways_with_pending_status()
S
77 1 4
PMProGateway_takbull::pmpro_payment_options()
S
73 1 5
one_time_trial_save_trial_level_used()
S
80 1 3
PMProGateway_takbull::pmpro_checkout_confirmed()
S
81 1 3
PMProGateway_takbull::pmpro_include_billing_address_fields()
S
82 1 3
pmpro_currencies_ruble()
S
75 1 4
PMProGateway_takbull::__construct()
S
78 1 4
PMProGateway_takbull::pmpro_checkout_order()
S
82 1 3
PMProGateway_takbull::charge()
S
82 1 3
Takbull_API::set_api_key()
S
80 1 3
Takbull_API::set_api_secret()
S
80 1 3