Code Analysis: Custom Twitter Feeds 1.8.2

Function Rating Maintainability Complexity Lines of code
CtfFeed::filterTrimmedTweets()
D
17
94 202
CtfAdmin::feed_settings_timezone()
D
20
94 103
CtfAdmin::options_page_init()
D
9
12 857
CtfFeed::getTweetSetHtml()
D
21
51 178
CtfAdmin::validate_ctf_options()
D
27
48 120
CtfAdmin::layout()
C
30 22 135
CTF\Helpers\PluginSilentUpgrader::install_package()
C
34 23 88
CtfFeed::trimTweetData()
C
35 22 92
CTF_Notifications::output()
C
34 22 92
CtfFeed::setIncludeExcludeOptions()
B
50 26 19
CTF_Tracking::get_data()
B
35 21 78
CTF_New_User::output()
B
36 19 82
CtfFeed::persistentCacheTweets()
B
38 20 63
CTF_Tracking::normalize_and_format()
B
25
9 212
ctf_admin_hide_unrelated_notices()
B
43 20 43
CTF_New_User::verify_active()
B
44 20 38
CtfFeed::setFeedTypeAndTermOptions()
B
47 20 34
CtfAdmin::text_size()
B
48 20 29
CTF\Helpers\PluginSilentUpgrader::run()
B
37 16 83
ctf_get_formatted_date()
A
41 15 53
CTF_Feed_Locator::add_or_update_entry()
A
43 15 48
output_about_addons()
A
36 11 98
CTF_New_User::dismiss()
A
43 14 50
CTF_Notifications::verify()
A
49 15 30
get_the_plugin_data()
A
43 13 47
ctf_install_addon()
A
40 12 62
CtfFeed::maybeSetTweetsFromTwitter()
A
43 13 45
CtfFeed::getFeedHeaderHtml()
A
39 12 59
CtfAdmin::cache_time()
A
44 13 40
CtfFeed::getFeedOpeningHtml()
A
44 13 36
CtfFeed::setStandardStyleProperty()
A
61 15 9
CtfFeed::filterTweetSet()
A
47 12 36
ctf_get_more_posts()
A
48 12 28
CtfAdmin::feed_settings_radio()
A
50 12 25
CTF_Notifications::dismiss()
A
46 11 34
ctf_filter_operator()
A
49 11 29
CtfAdmin::gdpr()
A
35 6 102
CtfAdmin::access_token_secret()
A
51 11 23
CtfFeed::removeDuplicates()
A
47 10 37
CtfAdmin::add_menu()
A
40 7 73
CtfAdmin::feed_settings_radio_search()
A
53 10 20
CtfAdmin::default_text()
A
52 10 20
CtfFeed::maybeSetTweetsFromCache()
A
50 9 29
ctf_do_locator()
A
50 9 25
CtfAdmin::width_and_height_settings()
A
52 9 21
ctf_check_for_db_updates()
A
47 8 34
CtfAdmin::customize_date_format()
A
54 8 18
CtfFeed::setDimensionOptions()
S
70 9 4
CtfFeed::getErrorHtml()
S
46 6 42
CTF_Notifications::verify_active()
S
60 8 12
CTF\Helpers\PluginSilentUpgrader::unpack_package()
S
51 7 26
CTF_Tracking::send_checkin()
S
50 7 25
CtfFeed::setGetFieldsArray()
S
54 7 22
CtfAdmin::get_active_tab()
S
58 7 18
CtfFeed::setTransientName()
S
55 7 18
CTF\Helpers\PluginSilentUpgrader::download_package()
S
56 7 17
CTF_New_User::verify()
S
57 7 17
CTF_Notifications::get()
S
56 7 17
CTF_Feed_Locator::summary()
S
45 5 44
CTF_Notifications::get_option()
S
59 7 13
CtfFeed::setFeedOptions()
S
38 2 85
ctf_activate_addon()
S
52 6 24
CTF_GDPR_Integrations::gdpr_plugins_active()
S
58 6 18
ctf_maybe_shorten_text()
S
55 6 18
CtfFeed::setDatabaseOnlyOptions()
S
64 7 9
CtfFeed::setStandardTextOptions()
S
63 7 9
CtfFeed::setTextSizeOptions()
S
63 7 9
CtfFeed::setStandardBoolOptions()
S
63 7 9
CtfAdmin::text_weight()
S
57 6 15
ctf_admin_database_warning()
S
51 5 27
CTF_New_User::add()
S
53 5 24
CTF_Notifications::add()
S
53 5 24
ctf_plugin_init()
S
53 5 22
ctf_deactivate_addon()
S
53 5 22
CtfFeed::setTweetsToRetrieve()
S
55 5 19
ctf_usage_opt_in()
S
50 4 32
CtfFeed::getShortCodeJSON()
S
56 5 17
CtfAdmin::default_select()
S
57 5 15
CtfFeed::setConsumerKeyAndSecretOptions()
S
64 6 9
ctf_replace_urls()
S
60 5 13
CTF_New_User::get()
S
61 5 12
CTF_Feed_Locator::create_table()
S
53 4 25
CtfAdmin::the_admin_access_token_configure_html()
S
53 4 25
ctf_get_fa_el()
S
45 2 50
CTF_Notifications::replace_merge_fields()
S
55 4 19
ctf_scripts_and_styles()
S
55 4 19
CtfFeed::getFeedClosingHtml()
S
57 4 16
get_am_plugins()
S
42 1 61
CtfFeed::numTweetsNeeded()
S
64 5 9
CtfFeed::setAccessTokenAndSecretOptions()
S
70 5 5
CtfAdmin::customize_custom_time_translations()
S
58 4 14
CtfAdmin::include_exclude_checkbox()
S
59 4 14
CTF_Notifications::enqueues()
S
51 3 28
CtfAdmin::reverse_checkbox()
S
61 4 11
CtfAdmin::default_checkbox()
S
61 4 11
CTF\Helpers\PluginSilentUpgrader::maintenance_mode()
S
62 4 11
CTF_Feed_Locator::count_unique()
S
53 3 24
CtfFeed::apiConnectionResponse()
S
52 3 24
CtfOauthConnect::buildOauth()
S
52 3 22
CTF_Tracking::schedule_send()
S
54 3 21
CtfOauthConnect::performRequest()
S
58 3 16
ctf_admin_scripts_and_styles()
S
44 1 46
CTF_Tracking::save_setting()
S
64 4 9
CtfFeed::setCacheTypeOption()
S
67 4 7
CTF_GDPR_Integrations::doing_gdpr()
S
63 4 10
CtfFeed::maybeCacheTweets()
S
67 4 7
CtfWidget::widget()
S
62 4 10
CTF_Blocks::is_gb_editor()
S
76 4 3
ctf_show()
S
64 4 9
ctf_get_future_date()
S
58 3 15
ctf_validate_search_text()
S
63 4 9
ctf_init()
S
59 3 14
CtfAdmin::access_token_button()
S
60 3 13
CtfOauthConnect::setGetFields()
S
60 3 13
CtfOauthConnect::setUrlBase()
S
63 3 12
CtfOauthConnect::encodeHeader()
S
60 3 12
CTF_Notifications::fetch_feed()
S
61 3 12
ctf_custom_js()
S
62 3 12
ctf_custom_css()
S
62 3 12
ctf_add_mentionstimeline_options()
S
48 1 41
CTF_Feed_Locator::should_do_locating()
S
61 3 11
CtfFeed::reduceTweetSetData()
S
63 3 11
ctf_update_settings()
S
62 3 11
ctf_remove_by_id()
S
61 3 11
CtfWidget::form()
S
62 3 11
ctf_pro_moderation_section()
S
100 1 37
ctf_clear_persistent_cache()
S
59 2 16
CtfOauthConnect::curlRequest()
S
57 2 16
ctf_lite_dismiss()
S
65 3 8
ctf_usage_opt_in_or_out()
S
64 3 9
CtfFeed::setMissingCredentials()
S
68 3 7
CtfFeed::processTextSizeStyle()
S
68 3 7
CtfFeed::setCacheTimeOptions()
S
65 3 8
CtfWidget::update()
S
69 3 6
CtfAdmin::custom_code()
S
63 3 9
CTF_Blocks::enqueue_block_editor_assets()
S
51 1 29
CtfFeed::getOutOfTweetsHtml()
S
60 2 13
CtfOauthConnect::wpHttpRequest()
S
61 2 13
CTF_Feed_Locator::delete_old_locations()
S
59 2 13
ctf_auto_save_tokens()
S
61 2 12
ctf_add_masonry_autoscroll_options()
S
53 1 26
CTF_Blocks::register_block()
S
53 1 26
CTF_Feed_Locator::insert_entry()
S
56 1 21
ctf_pro_autoscroll_section()
S
100 1 19
CtfFeed::getTweetsSinceID()
S
57 1 17
CtfFeed::setTweetSet()
S
68 2 8
CTF_Feed_Locator::should_clear_old_locations()
S
70 2 5
CtfFeed::validateCache()
S
69 2 7
ctf_json_encode()
S
70 2 7
CtfFeed::appendPersistentCacheTweets()
S
65 2 9
CTF_Blocks::get_feed_html()
S
67 2 7
ctf_activate()
S
64 2 10
CTF_GDPR_Integrations::undo_script_blocking()
S
65 2 9
CtfOauthConnect::buildBaseString()
S
65 2 8
CtfAdmin::customize_custom_date_format()
S
65 2 8
CTF_Notifications::has_access()
S
69 2 7
CTF_Install_Skin::error()
S
74 2 5
ctf_usertimeline_error_message()
S
70 2 7
CtfFeed::init()
S
64 2 10
CtfFeed::feedID()
S
64 2 9
CTF_Tracking::tracking_allowed()
S
71 2 5
CtfAdmin::default_color()
S
66 2 7
ctf_validate_usertimeline_text()
S
71 2 5
ctf_do_background_tasks()
S
70 2 7
CTF_Feed_Locator::entries_need_locating()
S
59 1 14
ctf_clear_cache_admin()
S
62 1 14
ctf_clear_cache()
S
62 1 14
CTF_New_User::update()
S
62 1 13
ctf_return_style_quick_links()
S
59 1 13
ctf_add_customize_general_options()
S
61 1 13
CTF_Notifications::update()
S
62 1 13
CtfAdmin::create_submenu_page_customize()
S
76 1 4
ctf_add_filter_options()
S
66 1 10
CTF_Tracking::add_schedules()
S
68 1 7
CtfDateTime::setTimestamp()
S
71 1 5
CtfOauthConnect::setRequestMethod()
S
81 1 3
ctf_is_pro_version()
S
81 1 3
ctf_clear_tc_cache_button()
S
71 1 7
CTF_New_User::enqueues()
S
91 1 2
CtfAdmin::create_settings_field()
S
65 1 10
CTF_New_User::option_name()
S
81 1 3
CtfAdmin::create_options_page()
S
80 1 3
CTF_New_User::hooks()
S
75 1 4
ctf_return_feed_types()
S
80 1 3
ctf_plugin_action_links()
S
73 1 4
CTF_Notifications::hooks()
S
70 1 6
CtfAdmin::create_submenu_page_style()
S
76 1 4
CTF_GDPR_Integrations::gdpr_tests_successful()
S
81 1 3
ctf_set_include_replies()
S
83 1 3
CTF\Helpers\PluginSilentUpgraderSkin::decrement_update_count()
S
91 1 2
ctf_get_database_settings()
S
76 1 4
ctf_show_hide_list()
S
70 1 6
CTF_Notifications::option_name()
S
81 1 3
CTF_Blocks::hooks()
S
75 1 4
CTF_Feed_Locator::retrieve_matching_entries()
S
63 1 10
ctf_update_note()
S
100 1 5
CTF_GDPR_Integrations::gdpr_tests_error_message()
S
81 1 3
CtfAdmin::__construct()
S
75 1 4
CtfDateTime::getTimestamp()
S
80 1 3
CTF_Feed_Locator::__construct()
S
72 1 5
CTF_Blocks::allow_load()
S
80 1 3
ctf_add_masonry_autoload_section_to_customize()
S
71 1 8
CTF_Feed_Locator::should_do_ajax_locating()
S
72 1 5
CtfOauthConnect::__construct()
S
68 1 7
ctf_return_customize_quick_links()
S
67 1 8
CtfAdmin::general_section_text()
S
91 1 2
ctf_add_filter_section_to_customize()
S
75 1 5
ctf_deactivate()
S
78 1 4
CtfWidget::__construct()
S
69 1 7
CTF_Notifications::get_count()
S
80 1 3
CTF_GDPR_Integrations::init()
S
75 1 4
ctf_hashtag_error_message()
S
74 1 7
ctf_return_string_hashtag()
S
83 1 3
CTF\Helpers\PluginSilentUpgraderSkin::header()
S
91 1 2
CtfOauthConnect::fileGetContentsRequest()
S
64 1 10
CTF_Notifications::init()
S
82 1 3
ctf_notices_html()
S
100 1 2
CtfAdmin::social_wall_page()
S
80 1 3
CtfAdmin::clear_persistent_cache_button()
S
71 1 7
CTF\Helpers\PluginSilentUpgraderSkin::footer()
S
91 1 2
ctf_get_current_time()
S
77 1 4
CTF\Helpers\PluginSilentUpgraderSkin::error()
S
82 1 3
ctf_validate_include_replies()
S
83 1 3
CTF_Notifications::source_url()
S
81 1 3
ctf_return_string_instructions()
S
83 1 3
CtfFeed::removeStringFromText()
S
79 1 3
CTF_Tracking::__construct()
S
69 1 6
CTF_Feed_Locator::update_entry()
S
66 1 8
CtfFeed::__construct()
S
70 1 6
CTF_New_User::source_url()
S
81 1 3
CTF_Blocks::load()
S
82 1 3
ctf_load_widget()
S
82 1 3