Code Analysis: Custom Twitter Feeds 1.7

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
11 851
CtfFeed::getTweetSetHtml()
D
21
51 178
CtfAdmin::validate_ctf_options()
D
27
48 120
CtfAdmin::layout()
C
30 22 135
CTF_Notifications::output()
C
34 22 92
CtfFeed::trimTweetData()
C
35 22 92
CtfFeed::setIncludeExcludeOptions()
B
50 26 19
CTF_Tracking::get_data()
B
35 21 78
CTF_New_User::output()
B
36 19 81
CtfFeed::persistentCacheTweets()
B
38 20 63
CTF_Tracking::normalize_and_format()
B
25
9 212
CTF_New_User::verify_active()
B
44 20 38
CtfFeed::setFeedTypeAndTermOptions()
B
47 20 34
CtfAdmin::text_size()
B
48 20 29
ctf_admin_hide_unrelated_notices()
B
44 19 42
ctf_get_formatted_date()
A
41 15 53
CTF_New_User::dismiss()
A
43 14 50
CTF_Notifications::verify()
A
49 15 30
CtfFeed::maybeSetTweetsFromTwitter()
A
43 13 45
CtfFeed::getFeedHeaderHtml()
A
40 12 59
CtfAdmin::cache_time()
A
44 13 40
CtfFeed::setStandardStyleProperty()
A
61 15 9
CtfFeed::filterTweetSet()
A
47 12 36
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
CtfFeed::getFeedOpeningHtml()
A
49 10 26
CtfAdmin::feed_settings_radio_search()
A
53 10 20
CtfAdmin::default_text()
A
52 10 20
CtfOauthConnect::performRequest()
A
49 9 30
CtfFeed::maybeSetTweetsFromCache()
A
50 9 29
CtfAdmin::width_and_height_settings()
A
52 9 21
CtfAdmin::customize_date_format()
A
54 8 18
CtfFeed::setDimensionOptions()
S
70 9 4
ctf_check_for_db_updates()
S
49 7 29
CtfFeed::getErrorHtml()
S
46 6 42
CTF_Notifications::verify_active()
S
60 8 12
CTF_Tracking::send_checkin()
S
50 7 25
CtfFeed::setGetFieldsArray()
S
54 7 22
CtfFeed::setTransientName()
S
55 7 18
CTF_New_User::verify()
S
57 7 17
CTF_Notifications::get()
S
56 7 17
ctf_get_more_posts()
S
56 7 15
CTF_Notifications::get_option()
S
59 7 13
CtfFeed::setFeedOptions()
S
38 2 85
ctf_maybe_shorten_text()
S
55 6 18
CTF_GDPR_Integrations::gdpr_plugins_active()
S
58 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
54 5 20
CtfFeed::setTweetsToRetrieve()
S
55 5 19
CtfFeed::getShortCodeJSON()
S
56 5 17
ctf_usage_opt_in()
S
50 4 32
CtfFeed::setConsumerKeyAndSecretOptions()
S
64 6 9
CtfAdmin::default_select()
S
57 5 15
CtfAdmin::get_active_tab()
S
61 5 14
ctf_replace_urls()
S
60 5 13
CTF_New_User::get()
S
61 5 12
CtfAdmin::the_admin_access_token_configure_html()
S
53 4 25
ctf_get_fa_el()
S
45 2 50
ctf_scripts_and_styles()
S
55 4 19
CTF_Notifications::replace_merge_fields()
S
55 4 19
CtfFeed::getFeedClosingHtml()
S
57 4 16
CtfFeed::setAccessTokenAndSecretOptions()
S
70 5 5
CtfFeed::numTweetsNeeded()
S
64 5 9
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
CtfFeed::apiConnectionResponse()
S
52 3 24
CtfOauthConnect::buildOauth()
S
52 3 22
CTF_Tracking::schedule_send()
S
54 3 21
CTF_Tracking::save_setting()
S
64 4 9
CTF_GDPR_Integrations::doing_gdpr()
S
63 4 10
CtfFeed::maybeCacheTweets()
S
67 4 7
CtfWidget::widget()
S
62 4 10
CtfFeed::setCacheTypeOption()
S
67 4 7
CTF_Blocks::is_gb_editor()
S
76 4 3
ctf_validate_search_text()
S
63 4 9
ctf_get_future_date()
S
58 3 15
ctf_show()
S
64 4 9
ctf_init()
S
59 3 14
CtfAdmin::access_token_button()
S
60 3 13
CtfOauthConnect::setGetFields()
S
60 3 13
CTF_Notifications::fetch_feed()
S
61 3 12
ctf_custom_js()
S
62 3 12
ctf_custom_css()
S
62 3 12
CtfOauthConnect::setUrlBase()
S
63 3 12
CtfOauthConnect::encodeHeader()
S
60 3 12
CtfFeed::reduceTweetSetData()
S
63 3 11
CtfWidget::form()
S
62 3 11
ctf_update_settings()
S
62 3 11
ctf_add_mentionstimeline_options()
S
48 1 41
ctf_remove_by_id()
S
61 3 11
ctf_pro_moderation_section()
S
100 1 37
CtfOauthConnect::curlRequest()
S
57 2 16
ctf_clear_persistent_cache()
S
59 2 16
CtfFeed::processTextSizeStyle()
S
68 3 7
CtfFeed::setMissingCredentials()
S
68 3 7
CtfFeed::setCacheTimeOptions()
S
65 3 8
ctf_lite_dismiss()
S
65 3 8
ctf_usage_opt_in_or_out()
S
64 3 9
CtfAdmin::custom_code()
S
63 3 9
CtfWidget::update()
S
69 3 6
CTF_Blocks::enqueue_block_editor_assets()
S
51 1 29
CtfOauthConnect::wpHttpRequest()
S
61 2 13
CtfFeed::getOutOfTweetsHtml()
S
60 2 13
CtfAdmin::add_menu()
S
54 1 27
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_pro_autoscroll_section()
S
100 1 19
CtfFeed::getTweetsSinceID()
S
57 1 17
CtfFeed::appendPersistentCacheTweets()
S
65 2 9
CTF_Notifications::has_access()
S
69 2 7
CTF_Tracking::tracking_allowed()
S
71 2 5
CtfFeed::init()
S
64 2 10
CTF_Blocks::get_feed_html()
S
67 2 7
ctf_activate()
S
64 2 10
CtfOauthConnect::buildBaseString()
S
65 2 8
CtfAdmin::default_color()
S
66 2 7
CtfAdmin::customize_custom_date_format()
S
65 2 8
CtfFeed::setTweetSet()
S
68 2 8
ctf_validate_usertimeline_text()
S
71 2 5
CtfFeed::validateCache()
S
69 2 7
ctf_usertimeline_error_message()
S
70 2 7
CTF_GDPR_Integrations::undo_script_blocking()
S
66 2 8
ctf_clear_cache()
S
62 1 14
ctf_clear_cache_admin()
S
62 1 14
CTF_Notifications::update()
S
62 1 13
ctf_return_style_quick_links()
S
59 1 13
ctf_add_customize_general_options()
S
61 1 13
CTF_New_User::update()
S
62 1 13
ctf_admin_scripts_and_styles()
S
61 1 12
CTF_Blocks::hooks()
S
75 1 4
CTF_New_User::source_url()
S
81 1 3
CTF_New_User::enqueues()
S
91 1 2
CTF_Notifications::option_name()
S
81 1 3
CTF_Blocks::load()
S
82 1 3
ctf_update_note()
S
100 1 5
ctf_load_widget()
S
82 1 3
CtfWidget::__construct()
S
69 1 7
CtfFeed::__construct()
S
70 1 6
CtfOauthConnect::fileGetContentsRequest()
S
64 1 10
ctf_return_string_hashtag()
S
83 1 3
CtfAdmin::create_settings_field()
S
65 1 10
CTF_New_User::hooks()
S
75 1 4
ctf_hashtag_error_message()
S
74 1 7
ctf_clear_tc_cache_button()
S
71 1 7
ctf_get_current_time()
S
77 1 4
CTF_Notifications::source_url()
S
81 1 3
ctf_get_database_settings()
S
76 1 4
CTF_Notifications::init()
S
82 1 3
ctf_notices_html()
S
100 1 2
CtfAdmin::create_submenu_page_customize()
S
76 1 4
ctf_return_string_instructions()
S
83 1 3
CTF_GDPR_Integrations::init()
S
75 1 4
ctf_deactivate()
S
78 1 4
ctf_show_hide_list()
S
70 1 6
CtfAdmin::general_section_text()
S
91 1 2
CTF_Notifications::hooks()
S
70 1 6
CtfAdmin::create_options_page()
S
80 1 3
CTF_Blocks::allow_load()
S
80 1 3
CtfFeed::removeStringFromText()
S
79 1 3
ctf_add_masonry_autoload_section_to_customize()
S
71 1 8
CtfDateTime::getTimestamp()
S
80 1 3
ctf_set_include_replies()
S
83 1 3
CtfAdmin::__construct()
S
75 1 4
ctf_return_customize_quick_links()
S
67 1 8
ctf_plugin_action_links()
S
73 1 4
ctf_add_filter_options()
S
66 1 10
CtfOauthConnect::__construct()
S
68 1 7
CTF_GDPR_Integrations::gdpr_tests_successful()
S
81 1 3
CtfAdmin::create_submenu_page_style()
S
76 1 4
ctf_validate_include_replies()
S
83 1 3
CTF_Notifications::get_count()
S
80 1 3
CtfAdmin::clear_persistent_cache_button()
S
71 1 7
CTF_Tracking::add_schedules()
S
68 1 7
CTF_GDPR_Integrations::gdpr_tests_error_message()
S
81 1 3
CtfDateTime::setTimestamp()
S
71 1 5
ctf_return_feed_types()
S
80 1 3
ctf_add_filter_section_to_customize()
S
75 1 5
CTF_Tracking::__construct()
S
69 1 6
CtfOauthConnect::setRequestMethod()
S
81 1 3
ctf_is_pro_version()
S
81 1 3
CTF_New_User::option_name()
S
81 1 3