Code Analysis: TakBull For Paid Memberships Pro 1.1.2.13

Function Rating Maintainability Complexity Lines of code
PMProGateway_takbull::getDataToSend()
D
25
34 156
PMProGateway_takbull::pmpro_payment_option_fields()
C
35 22 108
pmpro_ipnChangeMembershipLevel()
A
37 8 75
PMProGateway_takbull::process()
A
44 9 43
Pmpro_Takbull_Transaction::set_props()
A
53 9 20
Pmpro_Takbull_Transaction::get_status()
A
54 8 21
Pmpro_Order_Takbull::add_meta_boxes()
S
44 5 60
Pmpro_Takbull_Transaction::save()
S
51 7 26
PMProGateway_takbull::cancel()
S
48 6 31
PMProGateway_takbull::pmpro_checkout_preheader()
S
47 5 36
Pmpro_Takbull_Transaction::set_data()
S
51 5 27
PMProGateway_takbull::init()
S
45 2 56
PMProGateway_takbull::sendToTakbull()
S
53 4 21
pmpro_takbull_Validate()
S
55 4 20
PMProGateway_takbull::pmpro_checkout_before_change_membership_level()
S
55 4 20
PmPro_Takbull_Logger::log()
S
56 4 17
Takbull_API::request()
S
51 3 28
Takbull_API::get_request()
S
52 3 25
PMProGateway_takbull::wp_ajax_pmpro_takbull_get_redirect()
S
56 3 17
PMProGateway_takbull::pmpro_checkout_after_form()
S
58 2 20
PMProGateway_takbull::subscribe()
S
57 2 17
Pmpro_Takbull_Transaction::get_transaction()
S
66 3 8
Pmpro_Takbull_Transaction::__construct()
S
69 2 7
Pmpro_Takbull_Transaction::set_json_data()
S
69 2 7
PMProGateway_takbull::pmpro_gateways()
S
74 2 4
Pmpro_Takbull_Transaction::get_prop()
S
69 2 7
pmpro_takbull_plugins_loaded()
S
64 2 10
Pmpro_Takbull_Transaction::set_prop()
S
73 2 5
Pmpro_Order_Takbull::getInstance()
S
68 2 7
Takbull_API::get_headers()
S
59 1 15
Pmpro_Takbull_Transaction::set_invoiceLink()
S
72 2 5
PMProGateway_takbull::getGatewayOptions()
S
62 1 14
Takbull_API::get_user_agent()
S
61 1 13
PMProGateway_takbull::pmpro_required_billing_fields()
S
62 1 12
Pmpro_Takbull_Transaction::set_numberOfPayments()
S
79 1 3
Pmpro_Order_Takbull::__construct()
S
78 1 3
Pmpro_Takbull_Transaction::set_id()
S
81 1 3
PMProGateway_takbull::__construct()
S
78 1 4
Takbull_API::get_api_key()
S
80 1 3
Takbull_API::get_redirecr_order_api()
S
79 1 3
Pmpro_Takbull_Transaction::set_amount()
S
79 1 3
PMProGateway_takbull::pmpro_payment_options()
S
73 1 5
Pmpro_Takbull_Transaction::get_last4DigitsCardNumber()
S
79 1 3
Pmpro_Takbull_Transaction::get_transactionDate()
S
79 1 3
Pmpro_Takbull_Transaction::get_transactionType()
S
79 1 3
Pmpro_Takbull_Transaction::get_order_id()
S
79 1 3
Pmpro_Takbull_Transaction::get_amount()
S
79 1 3
PMProGateway_takbull::pmpro_checkout_order()
S
82 1 3
PMProGateway_takbull::getSubscriptionStatus()
S
82 1 3
Pmpro_Takbull_Transaction::set_statusDescription()
S
79 1 3
Pmpro_Takbull_Transaction::get_statusCode()
S
79 1 3
Pmpro_Takbull_Transaction::set_dealType()
S
79 1 3
Pmpro_Takbull_Transaction::get_data()
S
78 1 3
PMProGateway_takbull::wp_ajax_pmpro_takbull_ipn_handler()
S
77 1 4
Pmpro_Takbull_Transaction::set_cardtype()
S
79 1 3
pmpro_currencies_ruble()
S
75 1 4
Takbull_API::get_api_secret()
S
80 1 3
Pmpro_Takbull_Transaction::set_cardCompanyTtype()
S
79 1 3
PMProGateway_takbull::pmpro_gateways_with_pending_status()
S
77 1 4
one_time_trial_save_trial_level_used()
S
80 1 3
Pmpro_Takbull_Transaction::get_order()
S
76 1 4
Pmpro_Takbull_Transaction::__toString()
S
80 1 3
Pmpro_Takbull_Transaction::get_description()
S
79 1 3
Pmpro_Takbull_Transaction::get_id()
S
82 1 3
Pmpro_Takbull_Transaction::set_last4DigitsCardNumber()
S
79 1 3
Pmpro_Takbull_Transaction::set_order_id()
S
79 1 3
Pmpro_Takbull_Transaction::set_clearer()
S
79 1 3
Pmpro_Takbull_Transaction::set_statusCode()
S
79 1 3
Pmpro_Takbull_Transaction::set_transactionDate()
S
79 1 3
Pmpro_Order_Takbull::get_transactions()
S
77 1 4
Pmpro_Takbull_Transaction::get_isDocumentCreated()
S
79 1 3
PMProGateway_takbull::pmpro_include_billing_address_fields()
S
82 1 3
Pmpro_Takbull_Transaction::set_transactionType()
S
79 1 3
PMProGateway_takbull::charge()
S
82 1 3
pmpro_ipnExit()
S
85 1 3
Pmpro_Takbull_Transaction::set_isDocumentCreated()
S
79 1 3
Pmpro_Takbull_Transaction::get_invoiceLink()
S
79 1 3
Takbull_API::set_api_key()
S
80 1 3
PMProGateway_takbull::pmpro_checkout_confirmed()
S
81 1 3
Pmpro_Takbull_Transaction::set_status()
S
79 1 3
Takbull_API::set_api_secret()
S
80 1 3