Code Analysis: Rainmaker - The Best Readymade WP Forms Plugin 1.2.8.1

Function Rating Maintainability Complexity Lines of code
Services_JSON::decode()
D
20
67 177
Rainmaker::execute_shortcode()
D
24
61 122
Rainmaker::form_design_content()
D
19
43 290
Services_JSON::encode()
D
28
36 123
IG_Feedback_V_1_2_4::show_review_notice()
C
29
28 130
Rainmaker::rm_rainmaker_add_lead()
C
35 25 77
rm_support_ticket_content()
B
31 16 142
Rainmaker::import_ig_forms()
B
37 18 71
Rm_Mailer_Mailchimp::get_mailchimp_data()
B
34 13 94
IG_Feedback_V_1_2_4::is_dev_url()
A
44 15 41
Rm_Mailer_Hubspot_CRM::get_hubspot_data()
A
37 12 82
Rm_REST_CurlTransport::make_call()
A
42 13 50
Rainmaker::rainmaker_prepare_lead()
A
48 14 33
IG_Feedback_V_1_2_4::render_poll_widget()
A
34 7 137
IG_Feedback_V_1_2_4::submit_feedback()
A
42 13 44
Rm_Mailer_CampaignMonitor::get_campaignmonitor_data()
A
38 10 80
IG_Feedback_V_1_2_4::render_general_feedback()
A
33 4 162
Rainmaker::custom_lead_columns()
A
48 11 32
Rainmaker::save_form_settings()
A
51 11 26
Rainmaker::rm_send_mail()
A
45 10 39
IG_Feedback_V_1_2_4::js()
A
36 2 154
IG_Tracker_V_1_2_4::get_plugins()
A
44 9 44
Rm_Mailer_Mailchimp::mailchimp_add_subscriber()
A
45 9 42
IG_Feedback_V_1_2_4::render_fb_widget()
A
41 7 71
Rm_Mailer_Hubspot_CRM::hubspot_add_subscriber()
A
49 9 28
IG_Feedback_V_1_2_4::render_widget()
A
37 2 124
Rm_REST_SocketTransport::_build_request()
A
48 8 32
Rm_Mailer_Email_Subscribers::email_subscribers_add_subscriber()
A
54 9 17
Rainmaker::__construct()
A
39 6 59
Rm_Mailer_CampaignMonitor::campaignmonitor_add_subscriber()
A
50 8 28
Rm_Mailer_Mailchimp::update_mailchimp_authentication()
A
38 5 72
rmGetMCLists()
A
46 7 38
IG_Tracker_V_1_2_4::get_server_info()
A
51 8 22
IG_Feedback_V_1_2_4::css()
A
45 2 109
Rm_REST_BaseSerialiser::check_encoding()
S
58 8 14
IG_Feedback_V_1_2_4::modal()
S
41 4 66
Rainmaker::klawoo_subscribe()
S
47 6 35
Rm_HubSpot_Blog::create_post()
S
49 6 30
Rm_REST_Wrapper_Base::__construct()
S
50 6 26
Rm_Mailer_Hubspot_CRM::update_hubspot_authentication()
S
47 5 37
Rm_Mailer_MailPoet::mailpoet_add_subscriber()
S
55 6 18
IG_Feedback_V_1_2_4::is_event_tracked()
S
58 6 15
Rm_HubSpot_Blog::update_post()
S
50 5 28
Rm_HubSpot_BaseClient::execute_put_request()
S
52 5 24
Rm_HubSpot_BaseClient::execute_xml_put_request()
S
52 5 24
Rm_HubSpot_BaseClient::execute_delete_request()
S
52 5 24
Rm_Mailer_CampaignMonitor::update_campaignmonitor_authentication()
S
43 3 53
Rm_HubSpot_BaseClient::execute_JSON_post_request()
S
54 5 22
Rm_HubSpot_BaseClient::execute_xml_post_request()
S
54 5 22
Rm_HubSpot_BaseClient::array_to_params()
S
55 5 21
Rainmaker::trigger_webhook()
S
55 5 19
Rm_REST_Wrapper_Base::get_request_paged()
S
56 5 19
Rm_HubSpot_BaseClient::execute_get_request()
S
55 5 19
Rm_HubSpot_BaseClient::execute_post_request()
S
55 5 19
Services_JSON::utf82utf16()
S
55 5 19
Rainmaker::rm_custom_search_query()
S
56 5 18
Services_JSON::utf162utf8()
S
55 5 18
IG_Tracker_V_1_2_4::get_wp_info()
S
54 5 18
Rm_HubSpot_Blog::get_blogs()
S
56 5 18
Rm_HubSpot_Blog::get_blog()
S
56 5 18
Rm_HubSpot_Blog::get_comments()
S
56 5 18
Rm_HubSpot_Blog::get_post()
S
56 5 18
Rm_HubSpot_Blog::get_post_comments()
S
56 5 18
Rm_HubSpot_Blog::get_comment()
S
56 5 18
Rm_HubSpot_Blog::get_posts()
S
56 5 18
ig_rm_can_ask_user_for_review()
S
57 5 17
Rm_REST_Wrapper_Base::refresh_token()
S
49 4 31
Rainmaker::rm_dismiss_admin_notice()
S
57 5 15
Rm_HubSpot_Prospects::get_search_results()
S
60 5 12
Rm_Mailer_MailPoet::get_mailpoet_data()
S
50 4 27
Rainmaker::import_sample_data()
S
46 3 42
Rainmaker::rm_custom_search_query_string()
S
61 5 11
Rm_Mailer_Email_Subscribers::get_email_subscribers_data()
S
51 4 26
Rm_REST_Wrapper_Base::get_request_with_params()
S
62 5 11
Rm_REST_SocketTransport::make_call()
S
47 3 35
IG_Feedback_V_1_2_4::is_valid_action()
S
58 4 17
rmGetHSLists()
S
59 4 15
Rainmaker::maipoet_prepare_lead()
S
66 5 7
Rainmaker::rm_filter_lead_data()
S
63 5 10
IG_Tracker_V_1_2_4::is_plugin_activated()
S
61 4 13
IG_Tracker_V_1_2_4::is_plugin_installed()
S
61 4 13
Rainmaker::klawoo_subscribe_form()
S
49 1 50
rmGetCMLists()
S
54 3 20
Rainmaker::get_rm_form_id_name_map()
S
57 3 17
Rm_HubSpot_Blog::publish_post()
S
57 3 17
Rm_REST_Wrapper_Base::_call()
S
56 3 16
Rainmaker::madmimi_prepare_lead()
S
67 4 7
IG_Feedback_V_1_2_4::is_plugin_page()
S
67 4 7
Rainmaker::include_files()
S
65 4 9
Rainmaker::custom_form_columns()
S
65 4 9
Services_JSON::isError()
S
68 4 7
Rm_HubSpot_Leads::register_webhook()
S
60 3 13
Rm_HubSpot_Prospects::add_filter()
S
60 3 13
Rm_HubSpot_Prospects::delete_filter()
S
60 3 13
Rm_HubSpot_Contacts::create_contact()
S
59 3 13
Rm_HubSpot_Contacts::update_contact()
S
59 3 13
Rm_HubSpot_LeadNurturing::get_campaigns()
S
60 3 13
Rm_REST_BaseTransport::split_and_inflate()
S
60 3 12
Rm_HubSpot_Leads::delete_webhook()
S
62 3 11
IG_Feedback_V_1_2_4::get_contact_email()
S
63 3 11
Rainmaker::register_lead_post_type()
S
48 1 34
Rainmaker::register_rainmaker_form_post_type()
S
48 1 33
Rm_HubSpot_Blog::create_comment()
S
57 2 17
Rm_REST_TRANSPORT_can_use_raw_socket()
S
67 3 9
add_export_lead_updale()
S
65 3 9
Rm_REST_SocketWrapper::open()
S
63 3 10
IG_Feedback_V_1_2_4::can_show_feedback_widget()
S
67 3 9
Rm_REST_SERIALISATION_get_available()
S
66 3 8
Rainmaker::rm_add_admin_notices()
S
63 3 10
Rm_REST_Clients::create()
S
65 3 9
Rm_REST_Clients::set_basics()
S
65 3 9
Rm_HubSpot_BaseClient::isBlank()
S
70 3 6
IG_Feedback_V_1_2_4::__construct()
S
58 2 15
Rm_REST_NativeJsonSerialiser::serialise()
S
71 3 6
Rm_REST_ServicesJsonSerialiser::serialise()
S
71 3 6
ig_rm_get_additional_info()
S
60 2 13
Rm_HubSpot_Leads::close_lead()
S
60 2 13
IG_Tracker_V_1_2_4::get_current_theme_info()
S
61 2 13
Rainmaker::rm_add_custom_css_textarea()
S
62 2 12
HubSpotMarketplace::parseSignedRequest()
S
62 2 11
Rainmaker::rainmaker_clean_lead_data()
S
63 2 11
Rainmaker::enqueue_admin_styles_and_scripts()
S
61 2 11
Rm_HubSpot_Forms::submit_form()
S
61 2 11
IG_Feedback_V_1_2_4::prepare_widget_params()
S
54 1 21
HubSpotMarketplace::__construct()
S
56 1 18
IG_Feedback_V_1_2_4::render_emoji()
S
59 1 18
IG_Feedback_V_1_2_4::render_stars()
S
59 1 17
Rm_Mailer_CampaignMonitor::__construct()
S
57 1 16
Rm_REST_General::authorize_url()
S
64 2 9
Rm_HubSpot_Contacts::get_contact_by_id()
S
65 2 9
Rm_HubSpot_Keywords::get_keywords()
S
66 2 8
Rm_HubSpot_Lists::delete_list()
S
65 2 9
Rm_HubSpot_Lists::get_lists()
S
65 2 9
IG_Feedback_V_1_2_4::get_api_url()
S
72 2 6
Rm_HubSpot_Lists::get_dynamic_lists()
S
65 2 9
Services_JSON::name_value()
S
69 2 7
Rm_HubSpot_Lists::get_contacts_in_list()
S
65 2 9
Rm_HubSpot_Lists::get_recent_contacts_in_list()
S
65 2 9
Rm_HubSpot_Workflows::unenroll_contact_from_workflow()
S
66 2 8
Rm_REST_SocketTransport::_get_status_code()
S
63 2 10
Rm_HubSpot_Leads::get_leads()
S
66 2 8
Rm_HubSpot_Forms::get_form_by_id()
S
65 2 9
Rm_HubSpot_Lists::add_contacts_to_list()
S
63 2 10
Rm_HubSpot_Lists::remove_contacts_from_list()
S
63 2 10
Rm_HubSpot_Contacts::get_contacts_statistics()
S
65 2 9
Rm_REST_NativeJsonSerialiser::strip_surrounding_quotes()
S
72 2 6
Rm_HubSpot_Properties::get_all_properties()
S
65 2 9
Rainmaker::remove_rm_form_action()
S
70 2 7
Rm_HubSpot_Properties::update_property()
S
64 2 9
Rm_REST_DoNothingSerialiser::deserialise()
S
75 2 4
Rm_REST_NativeJsonSerialiser::deserialise()
S
75 2 4
Rm_HubSpot_Properties::delete_property()
S
65 2 9
Rm_HubSpot_Properties::get_property_groups()
S
65 2 9
Rm_HubSpot_Forms::create_form()
S
63 2 10
Rm_HubSpot_Lists::refresh_list()
S
65 2 9
Rm_HubSpot_Workflows::get_upcoming_events()
S
64 2 9
Rm_HubSpot_Properties::create_property_group()
S
64 2 9
Rm_HubSpot_BaseClient::get_api_version()
S
71 2 6
Rm_HubSpot_Properties::update_property_group()
S
64 2 9
Rm_HubSpot_Properties::delete_property_group()
S
65 2 9
Rainmaker::rainmaker_before_form()
S
70 2 6
Rm_REST_Wrapper_Result::was_successful()
S
79 2 3
Rm_HubSpot_Prospects::get_organization_details()
S
66 2 8
IG_Feedback_V_1_2_4::get_event_feedback_data()
S
72 2 5
Rm_HubSpot_BaseClient::get_domain()
S
71 2 6
Rm_HubSpot_Forms::update_form()
S
63 2 10
Rm_HubSpot_Contacts::get_recent_contacts()
S
65 2 9
Rm_HubSpot_Lists::get_static_lists()
S
65 2 9
hubspot_autoload()
S
67 2 7
Rm_HubSpot_Leads::update_lead()
S
63 2 10
Rainmaker::rainmaker_after_form()
S
72 2 6
Rm_HubSpot_Settings::get_settings()
S
66 2 8
IG_Feedback_V_1_2_4::enqueue_scripts()
S
69 2 6
Rm_HubSpot_Workflows::get_workflow_by_ID()
S
65 2 9
Rainmaker::rm_widget_text_filter()
S
69 2 7
Rm_HubSpot_Settings::update_setting()
S
63 2 10
Rm_HubSpot_Settings::delete_setting()
S
63 2 10
Rm_HubSpot_SocialMedia::get_publishing_channels()
S
65 2 9
Rm_HubSpot_Settings::get_setting()
S
64 2 9
Rm_HubSpot_Keywords::add_keyword()
S
63 2 10
Rm_HubSpot_SocialMedia::get_broadcasts()
S
65 2 9
Rm_HubSpot_SocialMedia::create_broadcast()
S
65 2 9
Rm_HubSpot_Workflows::get_all_workflows()
S
65 2 9
Rm_HubSpot_Workflows::enroll_contact_in_workflow()
S
65 2 9
Rm_HubSpot_Workflows::get_current_enrollments()
S
65 2 9
Rainmaker::enqueue_frontend_styles_and_scripts()
S
65 2 8
Rm_HubSpot_Lists::update_list()
S
64 2 9
Rm_HubSpot_SocialMedia::get_publishing_channel()
S
65 2 9
Rm_Mailer_Hubspot_CRM::__construct()
S
58 1 15
Rainmaker::add_metaboxes()
S
71 2 5
Rm_HubSpot_Leads::get_lead()
S
64 2 9
Rainmaker::welcome()
S
66 2 9
Rm_HubSpot_SocialMedia::get_broadcast()
S
65 2 9
Rm_HubSpot_Prospects::get_timeline()
S
66 2 8
Rm_HubSpot_Workflows::get_log_events()
S
64 2 9
Rm_HubSpot_BaseClient::get_api()
S
71 2 6
Rm_HubSpot_BaseClient::set_is_test()
S
72 2 6
Rm_HubSpot_Prospects::get_typeahead()
S
64 2 9
Rm_REST_Log::log_message()
S
72 2 5
Rm_HubSpot_SocialMedia::delete_broadcast()
S
65 2 9
Rm_HubSpot_Prospects::get_filters()
S
66 2 8
Rm_HubSpot_Properties::get_property_group()
S
65 2 9
Rm_HubSpot_Properties::create_property()
S
64 2 9
Rm_HubSpot_Contacts::delete_contact()
S
65 2 9
Rm_HubSpot_Contacts::get_all_contacts()
S
65 2 9
Rm_HubSpot_LeadNurturing::enroll_lead_in_campaign()
S
64 2 9
Rm_HubSpot_Contacts::get_contact_by_usertoken()
S
65 2 9
Rm_HubSpot_Contacts::search_contacts()
S
65 2 9
Rm_HubSpot_Forms::get_forms()
S
65 2 9
Rm_HubSpot_Forms::delete_form()
S
65 2 9
Rm_HubSpot_Forms::get_form_fields()
S
65 2 9
Rm_HubSpot_Forms::get_single_form_field()
S
64 2 9
Rm_REST_ServicesJsonSerialiser::deserialise()
S
75 2 4
HubSpotMarketplace::getUserGlobal()
S
70 2 7
Rm_HubSpot_LeadNurturing::remove_lead_from_campaign()
S
64 2 9
Rm_HubSpot_LeadNurturing::get_campaign_members()
S
66 2 8
Rm_HubSpot_Keywords::get_keyword()
S
66 2 8
Rm_HubSpot_Keywords::delete_keyword()
S
66 2 8
Rm_REST_SocketTransport::__construct()
S
69 2 7
Rm_HubSpot_Contacts::get_contact_by_email()
S
65 2 9
Rm_HubSpot_Leads::add_lead()
S
66 2 8
Rm_HubSpot_LeadNurturing::get_campaign_history()
S
66 2 8
Rm_HubSpot_Leads::get_webhooks()
S
66 2 8
Rm_HubSpot_Lists::create_list()
S
65 2 9
Rm_HubSpot_Lists::get_list()
S
65 2 9
Rm_Mailer_Mailchimp::__construct()
S
60 1 13
IG_Feedback_V_1_2_4::enqueue_styles()
S
61 1 12
Rm_REST_General::exchange_token()
S
60 1 12
Rainmaker::edit_lead_columns()
S
62 1 11
Rm_REST_Clients::get()
S
78 1 3
Rm_REST_DoNothingSerialiser::get_type()
S
83 1 3
IG_Feedback_V_1_2_4::render_deactivate_feedback()
S
72 1 5
Rm_Mailer_MailPoet::__construct()
S
64 1 9
Rm_Mailer_CampaignMonitor::init()
S
77 1 4
Rm_REST_Clients::__construct()
S
74 1 4
Rm_REST_Clients::unsuppress()
S
78 1 3
Rm_Mailer_Hubspot_CRM::init()
S
77 1 4
Rm_REST_Subscribers::__construct()
S
74 1 4
Rm_REST_DoNothingSerialiser::serialise()
S
83 1 3
HubSpotMarketplace::verifyRequest()
S
80 1 3
Rm_REST_Clients::get_people()
S
80 1 3
Rm_REST_General::get_timezones()
S
80 1 3
Rm_REST_Clients::get_segments()
S
80 1 3
Rm_REST_General::external_session_url()
S
79 1 3
Rm_REST_SocketTransport::get_type()
S
83 1 3
Rm_HubSpot_BaseClient::getLastStatus()
S
81 1 3
Rm_REST_General::get_billing_details()
S
80 1 3
Rm_Mailer_Hubspot_CRM::disconnect_hubspot()
S
68 1 8
Rm_REST_General::get_systemdate()
S
80 1 3
Rm_REST_General::set_primary_contact()
S
78 1 3
IG_Feedback_V_1_2_4::is_event_transient_set()
S
80 1 3
Rm_HubSpot_BaseClient::get_request_url()
S
71 1 5
Rm_REST_Clients::get_scheduled()
S
80 1 3
initialize_icegram_rainmaker()
S
69 1 6
HubSpotMarketplace::getUserEmail()
S
82 1 3
Rainmaker::rm_upgrade_screen()
S
91 1 2
Rm_Mailer_MailPoet::init()
S
77 1 4
Rm_REST_Subscribers::update()
S
78 1 3
Rm_REST_Clients::suppress()
S
74 1 4
HubSpotMarketplace::getAppName()
S
82 1 3
Rm_REST_Clients::set_monthly_billing()
S
79 1 3
ig_rm_review_message_data()
S
65 1 9
Rm_REST_General::get_clients()
S
80 1 3
IG_Feedback_V_1_2_4::set_feedback_data()
S
67 1 7
Rm_REST_ServicesJsonSerialiser::get_format()
S
83 1 3
Rm_HubSpot_BaseClient::__construct()
S
77 1 4
Rm_REST_TRANSPORT_get_available()
S
81 1 3
Rm_REST_Wrapper_Result::__construct()
S
77 1 4
Rm_REST_Clients::get_lists_for_email()
S
76 1 4
Services_JSON::reduce_string()
S
68 1 8
install_icegram_rainmaker()
S
77 1 4
Rm_REST_SocketWrapper::write()
S
80 1 3
IG_Tracker_V_1_2_4::get_active_plugins()
S
78 1 3
Rm_REST_Wrapper_Base::post_request()
S
79 1 3
Rm_HubSpot_BaseClient::get_forms_request_url()
S
75 1 4
Rm_REST_Clients::set_primary_contact()
S
78 1 3
HubSpotMarketplace::getAccessToken()
S
82 1 3
Rainmaker::remove_lead_bulk_action()
S
77 1 4
Rm_REST_BaseSerialiser::__construct()
S
82 1 3
Rm_REST_ServicesJsonSerialiser::__construct()
S
76 1 4
Rainmaker::rainmaker_validate_request()
S
82 1 3
Rm_Mailer_Mailchimp::init()
S
77 1 4
Rm_REST_Clients::get_suppressionlist()
S
74 1 4
HubSpotMarketplace::getPortalId()
S
82 1 3
HubSpotMarketplace::getUserLastName()
S
82 1 3
Rm_Mailer_Mailchimp::disconnect_mailchimp()
S
68 1 8
HubSpotMarketplace::getUserFirstName()
S
82 1 3
IG_Tracker_V_1_2_4::get_inactive_plugins()
S
78 1 3
Rm_REST_Subscribers::import()
S
65 1 9
Rm_REST_BaseTransport::__construct()
S
82 1 3
Rm_REST_SocketWrapper::read()
S
74 1 5
IG_Feedback_V_1_2_4::get_feedback_data()
S
75 1 4
Rm_REST_Clients::get_lists()
S
80 1 3
Rainmaker::rm_upsale_premium()
S
76 1 4
Rm_REST_Clients::set_client_id()
S
79 1 3
Rainmaker::edit_form_columns()
S
68 1 7
Rm_REST_NativeJsonSerialiser::get_format()
S
83 1 3
Rm_REST_NativeJsonSerialiser::get_type()
S
83 1 3
Rm_Mailer_CampaignMonitor::disconnect_campaignmonitor()
S
66 1 9
Rainmaker::get_rm_meta_info()
S
65 1 9
Rm_REST_Clients::get_campaigns()
S
80 1 3
Rm_REST_Clients::get_primary_contact()
S
80 1 3
Rm_REST_General::get_administrators()
S
80 1 3
Rm_REST_ServicesJsonSerialiser::get_type()
S
83 1 3
Rm_REST_General::get_primary_contact()
S
80 1 3
Rm_REST_General::Rm_REST_Wrapper_Base()
S
78 1 3
Rm_REST_Log::__construct()
S
82 1 3
Rainmaker::sort_lead_columns()
S
72 1 6
Rm_REST_Clients::get_drafts()
S
80 1 3
Rm_REST_ServicesJsonSerialiser::get_content_type()
S
83 1 3
Rm_REST_Subscribers::delete()
S
79 1 3
Rm_REST_Wrapper_Base::get_request()
S
79 1 3
HubSpotMarketplace::base64UrlDecode()
S
78 1 3
Rm_REST_Wrapper_Base::delete_request()
S
79 1 3
Rm_REST_SocketWrapper::close()
S
82 1 3
Rm_Mailer_Email_Subscribers::init()
S
77 1 4
Rainmaker::admin_menus()
S
68 1 6
Rm_REST_CurlTransport::__construct()
S
72 1 5
Rm_REST_Subscribers::add()
S
79 1 3
Rm_REST_Clients::delete()
S
78 1 3
Rm_REST_Clients::transfer_credits()
S
76 1 4
HubSpotMarketplace::getAppCallbackURL()
S
82 1 3
Rm_REST_Subscribers::unsubscribe()
S
71 1 6
Rm_REST_Wrapper_Base::is_secure()
S
81 1 3
Rm_Mailer_Email_Subscribers::__construct()
S
64 1 9
Rainmaker::rainmaker_validate_form()
S
64 1 9
Rm_REST_Clients::get_templates()
S
80 1 3
Rm_REST_General::get_countries()
S
80 1 3
Rm_REST_Wrapper_Base::put_request()
S
79 1 3
Rm_REST_Subscribers::get_history()
S
79 1 3
Rainmaker::is_premium_installed()
S
73 1 5
Rm_REST_Subscribers::set_list_id()
S
80 1 3
Services_JSON_Error::__construct()
S
100 1 2
HubSpotMarketplace::getCaller()
S
82 1 3
Rm_REST_CurlTransport::get_type()
S
83 1 3
rm_add_captcha_upsale()
S
71 1 6
Rm_REST_DoNothingSerialiser::check_encoding()
S
83 1 3
IG_Feedback_V_1_2_4::set_event_transient()
S
77 1 3
HubSpotMarketplace::getRefreshToken()
S
82 1 3
HubSpotMarketplace::getAppCanvasURL()
S
82 1 3
Rm_REST_Clients::set_payg_billing()
S
79 1 3
Rm_REST_Subscribers::get()
S
79 1 3
HubSpotMarketplace::getAppPageURL()
S
82 1 3
Rainmaker::about_screen()
S
81 1 3
HubSpotMarketplace::getUserId()
S
82 1 3
HubSpotMarketplace::getAccessExpires()
S
82 1 3
Services_JSON::__construct()
S
82 1 3