wcff_dao D

Total Complexity 382
Dependencies 3
Dependents 1
Total lines 1,947
Lines of code 1,216
Logical lines of code 735
Comment lines 418
Methods 59
Properties 11

Methods 59

Method Rating Maintainability Complexity Lines of code
load_fields_groups_for_product()
D
19
72 175
migrate_fields()
D
36 33 68
check_for_product()
C
34 31 90
on_save_post()
C
34 27 82
load_map_wccvf_variations()
B
39 17 62
clone_group()
B
38 16 61
check_product_for_variation_mappings()
A
47 11 35
search_terms()
A
46 11 34
check_for_location()
A
54 11 21
remove_wccvf_map_variation_level()
A
52 10 23
insert_wccvf_map_varioation_level()
A
54 9 20
remove_field()
A
47 8 34
prepare_search_response()
S
48 6 32
load_core_meta()
S
62 7 11
load_variable_products()
S
52 6 23
load_fields()
S
56 6 17
toggle_field()
S
52 5 23
load_target_products_rules()
S
58 5 16
search_posts()
S
59 5 12
search_variations()
S
59 5 12
load_all_products()
S
55 4 19
update_field()
S
57 4 16
check_for_roles()
S
59 4 13
search_variation_products()
S
60 4 11
search_products()
S
60 4 11
load_product_variations()
S
55 3 19
load_all_wccaf_location_rules()
S
58 3 15
get_random_number()
S
58 3 15
clone_field()
S
59 3 14
load_product_tags()
S
60 3 13
load_product_categories()
S
60 3 13
load_layout_meta()
S
63 3 11
create_field()
S
57 2 16
prepare_special_keys()
S
65 3 9
update_fields_order()
S
62 3 10
load_product_types()
S
60 2 13
generate_unique_id()
S
60 2 13
load_field()
S
63 2 10
load_location_rules()
S
67 2 8
load_use_custom_layout()
S
71 2 5
load_custom_product_data_tab_priority()
S
71 2 5
load_target_stock_status()
S
71 2 5
usort_by_column()
S
68 2 7
load_product_tabs()
S
61 1 12
set_current_post_type()
S
80 1 3
get_admin_fields_comman_meta()
S
77 1 4
get_fields_meta()
S
77 1 4
prepare_page_response()
S
67 1 8
get_fields_common_meta()
S
77 1 4
endsWith()
S
78 1 3
load_custom_product_data_tab_title()
S
74 1 4
get_wcff_special_keys()
S
82 1 3
migrate_for_version_4xxx()
S
67 1 8
load_target_logics()
S
69 1 6
load_metabox_contexts()
S
68 1 7
load_metabox_priorities()
S
66 1 8
load_wcccf_validation_types()
S
66 1 8
load_target_contexts()
S
64 1 9
__construct()
S
78 1 3