ai_CodeBlock D

Total Complexity 2,979
Dependencies 2
Dependents 0
Total lines 9,339
Lines of code 7,222
Logical lines of code 6,172
Comment lines 350
Methods 233
Properties 0

Methods 233

Method Rating Maintainability Complexity Lines of code
ai_getProcessedCode()
D
0
642 1,545
before_paragraph()
D
0
320 826
after_paragraph()
D
0
320 824
check_taxonomy()
D
15
94 219
get_code_for_single_insertion()
D
14
91 202
sticky_parameters()
D
20
69 178
check_scheduling()
D
26
62 119
sticky_style()
D
22
56 183
check_page_types_lists_users()
D
29
50 101
get_automatic_insertion_text()
D
31 45 95
ai_processViewportSeparators()
D
25
40 144
get_html_js_code_for_serverside_insertion()
D
27
38 123
ai_generateDebugLabel()
D
30 31 100
check_filter()
D
36 33 69
check_category()
C
35 29 85
get_alignment_type_text()
C
40 27 59
get_code_for_insertion()
C
34 24 78
get_filter_type_text()
C
41 25 55
stick_to_the_content_class()
C
38 24 66
check_id()
B
42 22 43
alignment_style()
B
39 20 66
ai_get_counters()
B
40 21 51
get_detection_viewport()
B
44 19 45
check_post_page_exceptions()
B
46 18 39
check_url()
B
46 17 35
get_alignment_type()
A
53 17 19
size_background_style()
A
47 16 31
get_automatic_insertion()
A
53 16 19
extract_features()
A
48 15 31
__construct()
A
27
5 166
ai_processFallbackSeparator()
A
43 13 44
generate_alignment_class()
A
51 14 25
get_filter_type()
A
56 13 15
check_number_of_words()
A
51 12 24
check_tag()
A
50 11 30
base64_encode_w3tc()
A
46 10 36
import_old_exception_settings()
A
52 10 25
manual()
A
52 10 20
get_display_settings_home()
A
56 10 16
get_display_settings_search()
A
56 10 16
get_display_settings_category()
A
56 10 16
get_display_settings_archive()
A
56 10 16
get_display_for_users()
A
59 10 12
get_display_for_users_text()
A
54 9 23
get_avoid_direction_text()
A
54 9 23
get_iframe_page()
A
45 7 43
get_horizontal_position()
A
54 8 23
get_vertical_position()
A
54 8 23
get_ad_enabled_on_which_pages()
S
59 8 14
get_disable_insertion()
S
60 8 11
ai_check_wait_for()
S
53 7 21
get_code_for_serverside_insertion()
S
53 7 20
get_ad_enabled_on_which_posts_text()
S
56 7 19
get_ad_enabled_on_which_pages_text()
S
56 7 19
get_viewport_classes()
S
57 7 16
get_size_class()
S
65 8 8
get_alignment_class()
S
65 8 8
get_ad_enabled_on_which_posts()
S
59 7 14
regenerate_w3tc_code()
S
52 6 22
get_avoid_direction()
S
63 7 9
get_viewport_names()
S
59 6 14
get_ad_block_cat_type()
S
62 6 11
get_detection_client_side()
S
61 6 11
get_paragraph_text_type_text()
S
59 5 15
get_direction_type_text()
S
59 5 15
get_count_inside_elements_contain_text()
S
59 5 15
get_avoid_action_text()
S
59 5 15
get_exceptions_function_text()
S
59 5 15
get_count_inside_text()
S
59 5 15
get_html_element_insertion_text()
S
59 5 15
ai_js_dom_ready()
S
53 4 22
get_custom_css()
S
67 5 6
get_ad_domain_list_type()
S
67 5 7
get_paragraph_text_type()
S
66 5 7
get_client_side_action()
S
66 5 7
get_scheduling()
S
68 5 6
get_id_list_type()
S
67 5 7
is_sticky()
S
64 5 8
get_ad_url_list_type()
S
67 5 7
get_url_parameter_list_type()
S
67 5 7
get_tracking()
S
65 5 9
get_ad_ip_address_list_type()
S
67 5 7
display_disabled()
S
65 5 8
get_avoid_action()
S
66 5 7
get_ad_block_taxonomy_type()
S
67 5 7
get_ad_country_list_type()
S
67 5 7
get_ad_block_tag_type()
S
67 5 7
get_direction_type()
S
66 5 7
check_disabled()
S
62 4 12
check_and_increment_block_counter()
S
60 4 12
check_block_counter()
S
61 4 11
check_number_of_words_in_paragraph()
S
69 4 6
server_side_check()
S
73 4 4
get_ad_country_list()
S
70 4 5
get_exceptions_function()
S
63 4 10
generate_size_class()
S
64 4 9
generate_html_from_w3tc_code()
S
61 3 12
get_visitor_limit_clicks_per_time_period()
S
71 3 5
get_limit_impressions_time_period()
S
71 3 5
get_visitor_max_clicks()
S
71 3 5
increment_block_counter()
S
64 3 10
get_max_clicks()
S
71 3 5
get_limit_impressions_per_time_period()
S
71 3 5
get_max_impressions()
S
71 3 5
get_visitor_limit_impressions_time_period()
S
71 3 5
get_visitor_limit_impressions_per_time_period()
S
71 3 5
get_visitor_max_impressions()
S
71 3 5
get_visitor_limit_clicks_time_period()
S
71 3 5
get_trigger_click_fraud_protection()
S
71 3 5
get_limit_clicks_per_time_period()
S
71 3 5
get_show_label()
S
71 3 5
get_limit_clicks_time_period()
S
71 3 5
get_lazy_loading()
S
71 3 5
get_wait_for_interaction()
S
71 3 5
get_client_list_type()
S
71 3 5
get_animation_out_trigger()
S
68 3 7
get_check_recaptcha_score()
S
71 3 5
get_exceptions_enabled()
S
64 3 9
get_ad_after_day()
S
71 3 5
get_maximum_insertions()
S
71 3 5
get_ad_name()
S
70 3 5
get_set_body_background()
S
68 3 7
get_cookie_list_type()
S
71 3 5
get_parallax_shift()
S
68 3 6
get_auto_close_time()
S
71 3 5
get_enable_ajax()
S
71 3 5
get_paragraph_number_minimum()
S
71 3 5
alignment_style_for_amp()
S
68 3 7
get_count_inside_blockquote()
S
71 3 5
get_enable_php_call()
S
71 3 5
get_minimum_paragraph_words()
S
71 3 5
get_enable_rest()
S
71 3 5
get_enable_widget()
S
69 3 6
get_minimum_words()
S
71 3 5
get_avoid_try_limit()
S
71 3 5
get_skip_last_paragraphs()
S
71 3 5
get_enable_manual()
S
71 3 5
get_skip_first_paragraphs()
S
71 3 5
get_call_filter()
S
71 3 5
get_paragraph_number_maximum()
S
71 3 5
generate_w3tc_code_from_html()
S
65 3 9
get_label_in_iframe()
S
71 3 5
get_wait_for_delay()
S
68 3 7
get_html_element_insertion()
S
68 3 7
get_html_selector()
S
71 3 5
get_manual_loading()
S
71 3 5
get_inverted_filter()
S
71 3 5
get_stay_closed_time()
S
71 3 5
get_delay_time()
S
71 3 5
get_delay_showing()
S
71 3 5
get_show_every()
S
71 3 5
get_iframe()
S
71 3 5
get_display_settings_post()
S
71 3 5
get_enable_feed()
S
71 3 5
get_display_settings_page()
S
71 3 5
get_avoid_paragraphs_below()
S
74 2 4
get_avoid_text_above()
S
74 2 4
get_ad_block_taxonomy()
S
74 2 4
get_avoid_text_below()
S
74 2 4
get_ad_block_cat()
S
74 2 4
get_ad_block_tag()
S
74 2 4
get_check_only_tag_attributes()
S
74 2 4
get_avoid_paragraphs_above()
S
74 2 4
get_background_size()
S
74 2 4
get_count_inside_elements_text()
S
74 2 4
get_protected()
S
74 2 4
get_server_side_insertion()
S
74 2 4
get_block_width()
S
74 2 4
get_block_height()
S
74 2 4
get_wait_for()
S
74 2 4
get_inside_element()
S
74 2 4
get_paragraph_number()
S
74 2 4
get_block_background_color()
S
74 2 4
get_sticky()
S
74 2 4
get_count_inside_elements_contain()
S
74 2 4
get_minimum_words_above()
S
74 2 4
get_sticky_height()
S
74 2 4
get_paragraph_tags()
S
73 2 4
get_maximum_paragraph_words()
S
74 2 4
get_count_inside()
S
74 2 4
get_count_inside_elements()
S
74 2 4
get_name_class()
S
70 2 5
get_maximum_words()
S
74 2 4
get_max_page_blocks_enabled()
S
74 2 4
get_ad_ip_address_list()
S
74 2 4
get_limits_fallback()
S
74 2 4
get_animation_trigger_once()
S
74 2 4
get_animation_trigger_delay()
S
74 2 4
get_animation_trigger_offset()
S
74 2 4
get_animation_trigger_value()
S
74 2 4
get_animation_trigger()
S
74 2 4
get_animation()
S
74 2 4
get_vertical_margin()
S
74 2 4
get_horizontal_margin()
S
74 2 4
get_iframe_height()
S
74 2 4
ai_getAdLabel()
S
66 2 8
get_iframe_width()
S
74 2 4
get_close_button()
S
74 2 4
get_background()
S
74 2 4
get_background_image()
S
74 2 4
get_parallax_link_new_tab()
S
74 2 4
get_background_color()
S
74 2 4
get_parallax_image()
S
71 2 5
get_parallax()
S
71 2 5
get_parallax_mode()
S
72 2 5
get_disable_caching()
S
74 2 4
get_parallax_link()
S
74 2 4
get_animation_out_trigger_value()
S
74 2 4
get_scheduling_fallback()
S
74 2 4
get_client_list()
S
74 2 4
get_background_repeat()
S
74 2 4
get_ad_domain_list()
S
74 2 4
get_only_in_the_loop()
S
74 2 4
get_cookie_list()
S
74 2 4
get_embed_js_code()
S
74 2 4
get_url_parameter_list()
S
74 2 4
get_ad_url_list()
S
74 2 4
get_animation_out_trigger_offset()
S
74 2 4
get_id_list()
S
74 2 4
get_schedule_weekdays()
S
74 2 4
get_schedule_end_time()
S
74 2 4
get_schedule_start_time()
S
74 2 4
get_schedule_end_date()
S
74 2 4
get_schedule_start_date()
S
74 2 4
get_paragraph_text()
S
74 2 4
get_adb_block_replacement()
S
74 2 4
get_adb_block_action()
S
74 2 4
get_ad_general_tag()
S
74 2 4
check_referer()
S
79 1 3
check_client()
S
79 1 3
get_alignment_style()
S
80 1 3
after_image()
S
79 1 3
before_image()
S
79 1 3