ai_CodeBlock D

Total Complexity 2,587
Dependencies 2
Dependents 0
Total lines 8,082
Lines of code 6,293
Logical lines of code 5,390
Comment lines 295
Methods 213
Properties 0

Methods 213

Method Rating Maintainability Complexity Lines of code
ai_getProcessedCode()
D
0
485 1,223
before_paragraph()
D
0
269 687
after_paragraph()
D
0
269 682
check_taxonomy()
D
16
88 205
get_code_for_single_insertion()
D
17
84 185
sticky_style()
D
22
56 183
check_scheduling()
D
26
60 119
sticky_parameters()
D
25
53 138
get_automatic_insertion_text()
D
31 45 95
check_page_types_lists_users()
D
32 43 84
ai_processViewportSeparators()
D
27
37 131
get_html_js_code_for_serverside_insertion()
D
28
36 119
check_category()
C
35 29 85
check_filter()
C
37 30 63
ai_generateDebugLabel()
C
32 27 93
get_alignment_type_text()
C
40 27 59
get_filter_type_text()
C
41 25 55
stick_to_the_content_class()
C
38 24 66
get_code_for_insertion()
B
37 22 61
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
check_id()
A
46 16 34
get_automatic_insertion()
A
53 16 19
extract_features()
A
49 14 26
generate_alignment_class()
A
51 14 25
get_filter_type()
A
56 13 15
__construct()
A
29
4 145
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_archive()
A
56 10 16
get_display_settings_search()
A
56 10 16
get_display_settings_home()
A
56 10 16
get_display_settings_category()
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_vertical_position()
A
54 8 23
get_horizontal_position()
A
54 8 23
get_ad_enabled_on_which_pages()
S
59 8 14
get_iframe_page()
S
46 6 41
get_disable_insertion()
S
60 8 11
ai_check_wait_for()
S
54 7 21
get_ad_enabled_on_which_pages_text()
S
56 7 19
get_ad_enabled_on_which_posts_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_code_for_serverside_insertion()
S
53 6 20
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
size_style()
S
57 5 18
get_avoid_action_text()
S
59 5 15
get_count_inside_elements_contain_text()
S
59 5 15
get_paragraph_text_type_text()
S
59 5 15
get_direction_type_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
get_url_parameter_list_type()
S
67 5 7
get_paragraph_text_type()
S
66 5 7
get_id_list_type()
S
67 5 7
get_tracking()
S
65 5 9
get_scheduling()
S
68 5 6
get_ad_url_list_type()
S
67 5 7
get_custom_css()
S
67 5 6
get_ad_ip_address_list_type()
S
67 5 7
get_ad_domain_list_type()
S
67 5 7
get_ad_block_taxonomy_type()
S
67 5 7
get_direction_type()
S
66 5 7
get_ad_block_tag_type()
S
67 5 7
get_ad_country_list_type()
S
67 5 7
get_avoid_action()
S
66 5 7
is_sticky()
S
64 5 8
display_disabled()
S
65 5 8
check_and_increment_block_counter()
S
60 4 12
check_disabled()
S
62 4 12
check_block_counter()
S
61 4 11
server_side_check()
S
73 4 4
check_number_of_words_in_paragraph()
S
69 4 6
ai_js_dom_ready()
S
58 3 15
ai_getAdLabel()
S
63 4 9
get_ad_country_list()
S
70 4 5
generate_size_class()
S
64 4 9
get_exceptions_function()
S
63 4 10
generate_html_from_w3tc_code()
S
61 3 12
get_visitor_limit_clicks_per_time_period()
S
71 3 5
get_max_clicks()
S
71 3 5
get_visitor_max_clicks()
S
71 3 5
get_limit_impressions_time_period()
S
71 3 5
get_limit_clicks_per_time_period()
S
71 3 5
get_limit_clicks_time_period()
S
71 3 5
get_limit_impressions_per_time_period()
S
71 3 5
increment_block_counter()
S
64 3 10
get_visitor_limit_clicks_time_period()
S
71 3 5
get_iframe()
S
71 3 5
get_show_label()
S
71 3 5
get_trigger_click_fraud_protection()
S
71 3 5
get_lazy_loading()
S
71 3 5
get_manual_loading()
S
71 3 5
get_ad_after_day()
S
71 3 5
get_maximum_insertions()
S
71 3 5
get_label_in_iframe()
S
71 3 5
get_exceptions_enabled()
S
64 3 9
get_visitor_limit_impressions_per_time_period()
S
71 3 5
get_ad_name()
S
70 3 5
get_client_list_type()
S
71 3 5
get_visitor_limit_impressions_time_period()
S
71 3 5
get_wait_for_delay()
S
68 3 7
get_visitor_max_impressions()
S
71 3 5
get_inverted_filter()
S
71 3 5
get_enable_php_call()
S
71 3 5
get_enable_widget()
S
69 3 6
get_enable_manual()
S
71 3 5
get_set_body_background()
S
68 3 7
get_enable_ajax()
S
71 3 5
get_enable_feed()
S
71 3 5
get_display_settings_page()
S
71 3 5
get_display_settings_post()
S
71 3 5
get_html_element_insertion()
S
68 3 7
generate_w3tc_code_from_html()
S
65 3 9
get_call_filter()
S
71 3 5
get_avoid_try_limit()
S
71 3 5
get_count_inside_blockquote()
S
71 3 5
get_minimum_paragraph_words()
S
71 3 5
get_minimum_words()
S
71 3 5
get_skip_last_paragraphs()
S
71 3 5
get_skip_first_paragraphs()
S
71 3 5
get_paragraph_number_maximum()
S
71 3 5
get_paragraph_number_minimum()
S
71 3 5
get_html_selector()
S
71 3 5
get_max_impressions()
S
71 3 5
alignment_style_for_amp()
S
68 3 7
get_auto_close_time()
S
71 3 5
get_stay_closed_time()
S
71 3 5
get_show_every()
S
71 3 5
get_delay_showing()
S
71 3 5
get_count_inside_elements_contain()
S
74 2 4
get_count_inside()
S
74 2 4
get_iframe_height()
S
74 2 4
get_count_inside_elements()
S
74 2 4
get_adb_block_replacement()
S
74 2 4
get_count_inside_elements_text()
S
74 2 4
get_check_only_tag_attributes()
S
74 2 4
get_avoid_paragraphs_below()
S
74 2 4
get_avoid_text_above()
S
74 2 4
get_name_class()
S
70 2 5
get_avoid_text_below()
S
74 2 4
get_avoid_paragraphs_above()
S
74 2 4
get_iframe_width()
S
74 2 4
get_maximum_paragraph_words()
S
74 2 4
get_paragraph_tags()
S
73 2 4
get_maximum_words()
S
74 2 4
get_protected()
S
74 2 4
get_background()
S
74 2 4
get_minimum_words_above()
S
74 2 4
get_background_image()
S
74 2 4
get_background_color()
S
74 2 4
get_background_repeat()
S
74 2 4
get_block_height()
S
74 2 4
get_block_width()
S
74 2 4
get_background_size()
S
74 2 4
get_paragraph_number()
S
74 2 4
get_inside_element()
S
74 2 4
get_adb_block_action()
S
74 2 4
get_wait_for()
S
74 2 4
get_close_button()
S
74 2 4
get_horizontal_margin()
S
74 2 4
get_schedule_start_date()
S
74 2 4
get_schedule_end_date()
S
74 2 4
get_schedule_start_time()
S
74 2 4
get_schedule_end_time()
S
74 2 4
get_schedule_weekdays()
S
74 2 4
get_fallback()
S
74 2 4
get_ad_general_tag()
S
74 2 4
get_id_list()
S
74 2 4
get_server_side_insertion()
S
74 2 4
get_ad_url_list()
S
74 2 4
get_client_side_action()
S
72 2 5
get_url_parameter_list()
S
74 2 4
get_paragraph_text()
S
74 2 4
get_ad_domain_list()
S
74 2 4
get_animation_trigger_once()
S
74 2 4
get_client_list()
S
74 2 4
get_animation_trigger_delay()
S
74 2 4
get_vertical_margin()
S
74 2 4
get_animation()
S
74 2 4
get_ad_block_taxonomy()
S
74 2 4
get_animation_trigger()
S
74 2 4
get_ad_block_tag()
S
74 2 4
get_disable_caching()
S
74 2 4
get_ad_block_cat()
S
74 2 4
get_animation_trigger_value()
S
74 2 4
get_only_in_the_loop()
S
74 2 4
get_embed_js_code()
S
74 2 4
get_animation_trigger_offset()
S
74 2 4
get_ad_ip_address_list()
S
74 2 4
get_max_page_blocks_enabled()
S
74 2 4
check_client()
S
79 1 3
check_referer()
S
79 1 3
before_image()
S
79 1 3
after_image()
S
79 1 3
get_alignment_style()
S
80 1 3