wcff_dao D

Total Complexity 351
Dependencies 2
Dependents 1
Total lines 1,801
Lines of code 1,105
Logical lines of code 655
Comment lines 410
Methods 56
Properties 11

Methods 56

Method Rating Maintainability Complexity Lines of code
load_fields_groups_for_product()
D
21
67 160
migrate_fields()
C
36 32 66
check_for_product()
C
35 30 86
on_save_post()
C
37 24 70
load_map_wccvf_variations()
B
39 17 62
clone_group()
A
43 11 42
check_product_for_variation_mappings()
A
47 11 35
remove_wccvf_map_variation_level()
A
52 10 23
insert_wccvf_map_varioation_level()
A
54 9 20
remove_field()
A
47 8 34
check_for_location()
A
59 9 14
search_terms()
A
49 8 26
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
prepare_search_response()
S
53 4 22
load_all_products()
S
55 4 19
update_field()
S
57 4 16
check_for_roles()
S
59 4 13
load_product_variations()
S
57 3 17
search_posts()
S
64 4 8
search_variations()
S
64 4 8
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
search_variation_products()
S
65 3 7
search_products()
S
65 3 7
update_fields_order()
S
62 3 10
generate_unique_id()
S
60 2 13
load_product_types()
S
60 2 13
load_use_custom_layout()
S
71 2 5
load_field()
S
63 2 10
load_location_rules()
S
67 2 8
usort_by_column()
S
68 2 7
load_product_tabs()
S
63 1 11
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
set_current_post_type()
S
80 1 3
get_wcff_special_keys()
S
82 1 3
migrate_for_version_4xxx()
S
68 1 7
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
load_target_logics()
S
69 1 6
__construct()
S
78 1 3