Code Analysis: TakBull For Paid Memberships Pro 1.1.2.4

Function Rating Maintainability Complexity Lines of code
PMProGateway_takbull::getDataToSend()
D
24
35 157
PMProGateway_takbull::pmpro_payment_option_fields()
C
35 22 108
pmpro_ipnChangeMembershipLevel()
A
37 8 75
Pmpro_Takbull_Transaction::set_props()
A
53 9 20
PMProGateway_takbull::process()
A
48 8 31
Pmpro_Order_Takbull::add_meta_boxes()
S
44 5 59
PMProGateway_takbull::cancel()
S
50 6 27
PmPro_Takbull_Logger::log()
S
50 6 25
Pmpro_Takbull_Transaction::save()
S
53 6 23
PMProGateway_takbull::pmpro_checkout_preheader()
S
47 5 34
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_Transaction::set_data()
S
56 4 16
Takbull_API::request()
S
50 3 29
Takbull_API::get_request()
S
52 3 25
PMProGateway_takbull::wp_ajax_pmpro_takbull_get_redirect()
S
56 3 17
PMProGateway_takbull::subscribe()
S
57 2 17
Pmpro_Takbull_Transaction::get_transaction()
S
66 3 8
PMProGateway_takbull::pmpro_checkout_after_form()
S
62 1 16
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_Transaction::set_prop()
S
73 2 5
pmpro_takbull_plugins_loaded()
S
64 2 10
Pmpro_Order_Takbull::getInstance()
S
68 2 7
Pmpro_Takbull_Transaction::set_invoiceLink()
S
72 2 5
Pmpro_Takbull_Transaction::__construct()
S
69 2 7
Takbull_API::get_headers()
S
59 1 15
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::get_invoiceLink()
S
79 1 3
Pmpro_Takbull_Transaction::set_cardCompanyTtype()
S
79 1 3
PMProGateway_takbull::pmpro_checkout_order()
S
82 1 3
Pmpro_Takbull_Transaction::set_last4DigitsCardNumber()
S
79 1 3
PMProGateway_takbull::__construct()
S
78 1 4
Takbull_API::get_redirecr_order_api()
S
79 1 3
Pmpro_Order_Takbull::__construct()
S
78 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
Pmpro_Takbull_Transaction::get_status()
S
79 1 3
Pmpro_Takbull_Transaction::get_statusCode()
S
79 1 3
Pmpro_Takbull_Transaction::set_numberOfPayments()
S
79 1 3
Pmpro_Takbull_Transaction::get_description()
S
79 1 3
Pmpro_Takbull_Transaction::set_dealType()
S
79 1 3
Takbull_API::set_api_secret()
S
80 1 3
Pmpro_Takbull_Transaction::set_transactionType()
S
79 1 3
Pmpro_Takbull_Transaction::set_order_id()
S
79 1 3
pmpro_currencies_ruble()
S
75 1 4
Pmpro_Order_Takbull::get_transactions()
S
77 1 4
Pmpro_Takbull_Transaction::get_isDocumentCreated()
S
79 1 3
Takbull_API::get_api_secret()
S
80 1 3
one_time_trial_save_trial_level_used()
S
80 1 3
PMProGateway_takbull::getSubscriptionStatus()
S
82 1 3
PMProGateway_takbull::pmpro_gateways_with_pending_status()
S
77 1 4
Pmpro_Takbull_Transaction::get_order()
S
76 1 4
Pmpro_Takbull_Transaction::get_id()
S
82 1 3
Pmpro_Takbull_Transaction::set_cardtype()
S
79 1 3
PMProGateway_takbull::charge()
S
82 1 3
Pmpro_Takbull_Transaction::set_id()
S
81 1 3
Pmpro_Takbull_Transaction::set_isDocumentCreated()
S
79 1 3
Pmpro_Takbull_Transaction::set_status()
S
79 1 3
Pmpro_Takbull_Transaction::__toString()
S
80 1 3
Pmpro_Takbull_Transaction::set_statusCode()
S
79 1 3
PMProGateway_takbull::pmpro_include_billing_address_fields()
S
82 1 3
Pmpro_Takbull_Transaction::set_statusDescription()
S
79 1 3
Pmpro_Takbull_Transaction::set_clearer()
S
79 1 3
Pmpro_Takbull_Transaction::set_transactionDate()
S
79 1 3
Pmpro_Takbull_Transaction::get_data()
S
78 1 3
Takbull_API::get_api_key()
S
80 1 3
Takbull_API::set_api_key()
S
80 1 3
pmpro_ipnExit()
S
85 1 3
PMProGateway_takbull::wp_ajax_pmpro_takbull_ipn_handler()
S
77 1 4
PMProGateway_takbull::pmpro_checkout_confirmed()
S
81 1 3