Code Analysis: Raptive Ads 3.9.0

Function Rating Maintainability Complexity Lines of code
AdThrive_Ads\Components\Ads\Main::ad_head()
C
35 25 81
AdThrive_Ads\Components\Ads\Main::body_class()
B
46 17 34
AdThrive_Ads\Components\No_AI\Main::update_robot_file()
A
41 11 65
AdThrive_Ads\Components\Ads\Scheduled::delete_cls_files()
A
49 12 28
AdThrive_Ads\Components\Ads\Main::init()
A
47 9 38
AdThrive_Ads\Main::wp_adthrive_upgrade_completed()
A
55 9 18
AdThrive_Ads\Components\Ads\Scheduled::sync_cls_data()
A
49 8 31
AdThrive_Ads\Components\AMP_Stories\Main::setup()
A
56 9 15
AdThrive_Ads\Components\No_AI\Main::append_ai_crawler_checkboxes()
S
36 1 117
AdThrive_Ads\Components\Ads\Scheduled::site_ads_files_reset()
S
46 6 40
AdThrive_Ads\Components\Ads\Main::all_objects()
S
40 3 76
AdThrive_Ads\Components\Video_Player\Main::in_post_video_player_shortcode()
S
50 6 29
AdThrive_Ads\Components\Ads\Scheduled::plugin_upgraded()
S
58 7 14
AdThrive_Ads\Components\Ads\Main::get_cls_file()
S
52 6 27
AdThrive_Ads\Components\Ads\Scheduled::init()
S
60 7 12
AdThrive_Ads\Components\Static_Files\Main::template_redirect()
S
53 6 22
AdThrive_Ads\Components\Ads\Main::is_admin()
S
60 6 15
AdThrive_Ads\Components\Ads\Scheduled::parse_deployment_json()
S
55 5 20
AdThrive_Ads\Main::setup()
S
49 4 34
AdThrive_Ads\Components\Ads\Main::has_essential_site_ads_keys()
S
76 6 3
AdThrive_Ads\Components\Ads\Main::adthrive_cat_class()
S
60 5 12
AdThrive_Ads\Components\Ads\Scheduled::save_site_ads_files()
S
52 4 24
AdThrive_Ads\Components\No_AI\Main::add_options()
S
49 3 35
adthrive_ads_autoload()
S
54 4 20
AdThrive_Ads\Components\User_ID\Main::extend_pubcid()
S
53 4 20
AdThrive_Ads\Components\Ads\Main::parse_cls_deployment()
S
57 4 18
AdThrive_Ads\Components\Ads\Main::add_options()
S
43 1 62
AdThrive_Ads\Components\Ads\Main::insert_cls_file()
S
56 4 17
AdThrive_Ads\Components\Ads\Scheduled::delete_site_ads_files()
S
58 4 16
AdThrive_Ads\Options::get_plugin_settings()
S
59 4 15
AdThrive_Ads\Options::get()
S
64 5 9
AdThrive_Ads\Components\Ads\Scheduled::get_cls_files()
S
62 5 9
AdThrive_Ads\Main::plugin_activated()
S
61 4 14
AdThrive_Ads\Components\Ads\Main::cls_checkbox_default()
S
62 4 12
AdThrive_Ads\Components\Video_Sitemap\Main::setup()
S
61 4 11
AdThrive_Ads\Components\Ads_Txt\Main::init()
S
66 4 7
AdThrive_Ads\SiteAds::get_site_ads_config_query_param()
S
58 3 15
AdThrive_Ads\Components\Video_Sitemap\Main::template_redirect()
S
66 4 7
AdThrive_Ads\SiteAds::get_remote_site_ads()
S
58 3 14
AdThrive_Ads\Components\Ads\Main::admin_ads_disabled()
S
60 3 13
AdThrive_Ads\SiteAds::get_site_js()
S
61 3 13
AdThrive_Ads\Components\Ads_Txt\Main::setup()
S
60 3 12
AdThrive_Ads\Components\Logger\Main::log_versions()
S
53 2 24
AdThrive_Ads\Components\Ads\Scheduled::cls_file_reset()
S
54 2 22
AdThrive_Ads\Components\Ads\Main::get_option_value()
S
64 3 10
AdThrive_Ads\Components\Adblock_Recovery\Main::adblock_recovery()
S
69 3 6
AdThrive_Ads\Components\Ads_Txt\Main::options_updated()
S
68 3 7
AdThrive_Ads\Components\Ads_Txt\Main::adthrive_daily_event()
S
67 3 7
AdThrive_Ads\Components\Ads_Txt\Main::save()
S
63 3 10
AdThrive_Ads\Components\Ads\Scheduled::options_updated()
S
65 3 9
AdThrive_Ads\Components\Ads_Txt\Main::delete()
S
64 3 10
AdThrive_Ads\Components\Ads\Main::ajax_terms()
S
65 3 9
AdThrive_Ads\Components\Logger\Main::init()
S
72 3 5
AdThrive_Ads\Components\Ads\Main::selectize_escape()
S
70 3 6
AdThrive_Ads\Components\Ads\Main::selectize_sanitize()
S
70 3 6
AdThrive_Ads\Components\Ads\Main::head_scripts()
S
70 3 7
AdThrive_Ads\SiteAds::get_option_value()
S
64 3 10
AdThrive_Ads\Components\AMP_Stories\Main::web_stories_print_analytics()
S
55 1 27
AdThrive_Ads\Options::save_to_option()
S
63 2 11
AdThrive_Ads\Components\Adblock_Recovery\Main::add_options()
S
55 1 21
AdThrive_Ads\Components\AMP_Stories\Main::add_options()
S
60 1 16
AdThrive_Ads\Components\Ads\Scheduled::should_save_site_ads()
S
71 2 5
AdThrive_Ads\Components\Ads\Scheduled::get_remote_file()
S
69 2 7
AdThrive_Ads\Components\Ads\Scheduled::sync_site_ads_data()
S
75 2 5
AdThrive_Ads\Components\Content_Specific_Playlists\Main::add_options()
S
60 1 15
AdThrive_Ads\Options::remove_option()
S
66 2 8
AdThrive_Ads\SiteAds::get_site_ads_environment()
S
76 2 3
AdThrive_Ads\Components\Ads\Main::get_remote_cls_file_url()
S
67 2 7
AdThrive_Ads\Components\Adblock_Recovery\Main::setup()
S
63 2 9
AdThrive_Ads\Components\No_AI\Main::append_ai_metadata()
S
73 2 5
AdThrive_Ads\Components\Ads\Main::get_term_selectize()
S
64 2 10
AdThrive_Ads\Components\AMP_Stories\Main::get_file_content()
S
67 2 8
AdThrive_Ads\Components\User_ID\Main::remove_hem_query_params()
S
68 2 7
AdThrive_Ads\Components\Ads\Main::get_remote_cls_hash()
S
77 2 3
AdThrive_Ads\Options::add_submenu()
S
65 2 8
adthrive_ads_php_notice()
S
69 2 6
AdThrive_Ads\Options::add_options_page_metabox()
S
61 1 13
AdThrive_Ads\Components\User_ID\Main::register_route()
S
64 1 11
AdThrive_Ads\Components\Ads_Txt\Main::add_options()
S
64 1 11
AdThrive_Ads\Components\Video_Sitemap\Main::add_options()
S
63 1 11
AdThrive_Ads\Components\Adblock_Detection\Main::adblock_detection()
S
73 1 5
AdThrive_Ads\Components\User_ID\Main::setup()
S
72 1 5
AdThrive_Ads\Options::add_options_page()
S
70 1 5
AdThrive_Ads\Components\Static_Files\Main::setup()
S
79 1 3
AdThrive_Ads\Components\Deactivation_Warning\Main::add_deactivation_warning()
S
77 1 3
AdThrive_Ads\Options::all()
S
79 1 3
AdThrive_Ads\Components\Email_Detection\Main::setup()
S
78 1 3
AdThrive_Ads\Components\Content_Specific_Playlists\Main::setup()
S
78 1 3
AdThrive_Ads\Main::admin_enqueue_scripts()
S
68 1 6
AdThrive_Ads\Components\Ads\Main::check_cls_insertion()
S
70 1 7
AdThrive_Ads\Components\No_AI\Main::setup()
S
71 1 5
AdThrive_Ads\Components\Ads\Main::adthrive_preload()
S
75 1 5
AdThrive_Ads\Options::update_option()
S
79 1 3
AdThrive_Ads\Components\Logger\Main::get_noai_value()
S
79 1 3
AdThrive_Ads\Components\Video_Player\Main::setup()
S
79 1 3
AdThrive_Ads\Components\Ads\Main::setup()
S
64 1 9
AdThrive_Ads\Components\Logger\Main::setup()
S
75 1 4
AdThrive_Ads\Main::__construct()
S
67 1 7
AdThrive_Ads\Components\Email_Detection\Main::email_detection()
S
73 1 5
AdThrive_Ads\Options::init()
S
80 1 3
AdThrive_Ads\Components\Logger\Main::is_auto_update()
S
63 1 10
AdThrive_Ads\Options::setup()
S
69 1 6
AdThrive_Ads\Options::page_loaded()
S
81 1 3
AdThrive_Ads\Components\Deactivation_Warning\Main::setup()
S
79 1 3
AdThrive_Ads\Components\Ads\Main::pluck_body_class()
S
80 1 3
AdThrive_Ads\SiteAds::get_site_id()
S
79 1 3
AdThrive_Ads\Main::load_dependencies()
S
82 1 3
AdThrive_Ads\Components\Ads\Main::get_selectize()
S
72 1 6
AdThrive_Ads\Components\Ads\Scheduled::setup()
S
67 1 7
AdThrive_Ads\Components\Adblock_Detection\Main::setup()
S
78 1 3
AdThrive_Ads\Components\AMP_Stories\Main::__construct()
S
80 1 3
AdThrive_Ads\Main::plugin_deactivated()
S
74 1 5
AdThrive_Ads\Main::admin_loaded()
S
79 1 3
AdThrive_Ads\Components\Ads\Scheduled::get_deployment_json()
S
75 1 4
AdThrive_Ads\Options::__construct()
S
69 1 6
AdThrive_Ads\Options::admin_page_display()
S
67 1 8
adthrive_ads_deactivate_self()
S
81 1 3
AdThrive_Ads\Components\Ads\Main::pluck_name()
S
82 1 3
AdThrive_Ads\Components\IFrame_Buster\Main::setup()
S
91 1 2