YITH_WCAF_Affiliates_Profile D

Total Complexity 139
Dependencies 5
Dependents 5
Total lines 1,048
Lines of code 558
Logical lines of code 281
Comment lines 347
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
get_field_value()
A
45 15 35
show_fields()
A
43 11 44
get_formatted_field()
A
48 10 30
add_field()
A
46 9 42
update_field()
A
45 9 41
show_multicheck()
A
44 9 37
get_fields()
A
53 8 22
clone_field()
S
53 7 21
sort_fields()
S
54 6 22
should_show_fields()
S
60 6 13
maybe_read_profile_fields()
S
55 5 19
get_fields_to_show()
S
59 5 14
change_field_status()
S
61 5 12
maybe_show_paragraph()
S
57 3 19
remove_field()
S
67 4 7
parse_field()
S
53 1 24
get_supported_field_types()
S
55 1 19
maybe_open_form_container()
S
66 2 9
get_field()
S
68 2 7
get_field_name()
S
67 2 8
update_field_property()
S
65 2 9
is_field_reserved()
S
68 2 7
restore_default_fields()
S
70 2 7
maybe_close_form_container()
S
68 2 8
get_settings_fields()
S
61 1 14
get_become_an_affiliate_fields()
S
61 1 14
get_enabled_fields()
S
63 1 12
get_supported_field_validations()
S
63 1 11
disable_field()
S
79 1 3
enable_field()
S
79 1 3
field_exists()
S
79 1 3
get_field_id()
S
80 1 3
get_supported_show_locations()
S
66 1 9
sync_fields()
S
79 1 3
init()
S
67 1 7