wcff_dao D

Total Complexity 351
Dependencies 2
Dependents 1
Total lines 1,784
Lines of code 1,119
Logical lines of code 623
Comment lines 418
Methods 52
Properties 6

Methods 52

Method Rating Maintainability Complexity Lines of code
load_fields_groups_for_product()
D
21
66 157
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
get_fields_count()
A
51 16 24
clone_group()
A
43 11 42
check_product_for_variation_mappings()
A
47 11 35
search_posts()
A
49 10 27
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()
S
59 8 14
url_slug()
S
34 4 69
load_core_meta()
S
62 7 11
load_fields()
S
56 6 17
toggle_field()
S
52 5 23
load_variable_products()
S
55 5 18
load_target_products_rules()
S
58 5 16
save_field()
S
62 5 9
check_for_roles()
S
59 4 13
load_product_variations()
S
57 3 17
load_all_wccaf_location_rules()
S
58 3 15
get_random_number()
S
58 3 15
clone_field()
S
59 3 14
load_all_products()
S
59 3 14
update_field()
S
59 3 13
load_layout_meta()
S
62 3 11
create_field()
S
57 2 16
prepare_special_keys()
S
65 3 9
update_fields_order()
S
62 3 10
generate_unique_id()
S
60 2 13
load_product_types()
S
60 2 13
load_location_rules()
S
66 2 8
load_use_custom_layout()
S
71 2 5
usort_by_column()
S
68 2 7
load_product_categories()
S
65 2 8
load_product_tags()
S
65 2 8
load_field()
S
63 2 10
load_product_tabs()
S
63 1 11
endsWith()
S
78 1 3
get_fields_meta()
S
77 1 4
get_fields_common_meta()
S
77 1 4
load_metabox_contexts()
S
68 1 7
migrate_for_version_4xxx()
S
68 1 7
get_admin_fields_comman_meta()
S
77 1 4
load_metabox_priorities()
S
66 1 8
set_current_post_type()
S
80 1 3
load_target_logics()
S
69 1 6
load_target_contexts()
S
64 1 9
load_wcccf_validation_types()
S
66 1 8
__construct()
S
78 1 3