WCCT_Common D

Total Complexity 393
Dependencies 17
Dependents 22
Total lines 2,096
Lines of code 1,579
Logical lines of code 919
Comment lines 235
Methods 71
Properties 9

Methods 71

Method Rating Maintainability Complexity Lines of code
get_timezone_by_offset()
D
24
53 163
wcct_quick_view_html()
D
28
34 118
init_header_logs()
C
36 28 67
wcct_restore_order_stock()
B
46 18 33
match_groups()
A
42 15 51
get_post_table_data()
A
34 11 97
wcct_maybe_clear_cache()
A
46 14 36
save_data()
A
45 13 41
wcct_valid_admin_pages()
A
53 11 19
ajax_render_rule_choice()
A
43 8 50
wcct_clear_goaldeal_stock_meta_keys()
A
46 8 37
get_item_data()
A
48 8 32
product_tax_rule_types()
A
50 8 26
woocommerce_wcct_rule_get_rule_object()
A
51 8 24
wcct_set_campaign_status()
A
52 8 24
wc_timezone_string_old()
A
53 8 22
array_recursive()
A
54 8 22
wcct_get_campaign_status()
A
55 8 18
get_total_stock()
S
50 7 28
get_parent_slug()
S
60 7 12
get_edit_post_link()
S
54 6 22
wcct_refresh_timer_ajax_callback()
S
47 5 34
get_the_title()
S
58 6 14
get_campaign_status_select()
S
60 6 13
start_end_timestamp()
S
51 4 25
get_post_data()
S
53 4 24
toolbar_link_to_xlplugins()
S
52 3 25
run_cron_fallback()
S
53 3 23
get_default_settings()
S
43 1 51
render_rule_choice_template()
S
49 2 34
get_post_parent_id()
S
64 4 10
wcct_contain_current_query()
S
64 4 10
get_parsed_query_results_meta()
S
64 4 9
load_rules_classes()
S
59 3 14
woocommerce_wcct_rule_get_input_object()
S
60 3 13
default_rule_types()
S
45 1 42
register_countdown_post_type()
S
47 1 35
set_post_data()
S
63 3 10
parse_default_args_by_trigger()
S
64 3 9
validate()
S
68 3 6
wc_timezone_string()
S
65 3 9
init()
S
50 1 27
get_campaign_statuses()
S
54 1 24
get_sale_compatible_league_product_types()
S
58 1 18
wcct_clear_post_meta_keys_for_expired_campaigns()
S
72 2 5
delete_post_data()
S
67 2 8
check_query_params()
S
70 2 6
array_flatten()
S
68 2 7
wcct_get_date_format()
S
72 2 5
get_loop_count()
S
66 2 8
array_flat_mysql_results()
S
68 2 7
wcct_get_between()
S
66 2 8
get_global_default_settings()
S
62 1 12
get_current_date()
S
72 1 5
get_variation_league_product_types()
S
73 1 6
get_date_modified()
S
72 1 5
run_delete_finished_keys_cron_callbacks()
S
80 1 3
create_nonce()
S
77 1 3
add_plugin_endpoint()
S
68 1 7
pr()
S
74 1 5
get_campaign_post_type_slug()
S
81 1 3
get_wc_settings_tab_slug()
S
81 1 3
process_reset_state()
S
80 1 3
add_license_info()
S
76 1 4
register_post_status()
S
63 1 10
wcct_xl_init()
S
75 1 4
wcct_get_timestamp_wc_native()
S
70 1 6
get_timezone_difference()
S
71 1 5
get_simple_league_product_types()
S
65 1 10
get_variable_league_product_types()
S
73 1 6
verify_nonce()
S
74 1 4