YITH_WCAF_Affiliates_Profile C

Total Complexity 119
Dependencies 5
Dependents 5
Total lines 944
Lines of code 488
Logical lines of code 234
Comment lines 328
Methods 34
Properties 1

Methods 34

Method Rating Maintainability Complexity Lines of code
show_fields()
A
46 10 38
get_formatted_field()
A
48 10 30
add_field()
A
46 9 42
update_field()
A
45 9 41
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
get_field_value()
S
61 6 11
get_fields_to_show()
S
59 5 14
change_field_status()
S
61 5 12
maybe_read_profile_fields()
S
57 4 18
maybe_show_paragraph()
S
57 3 19
remove_field()
S
67 4 7
parse_field()
S
53 1 24
get_supported_field_types()
S
56 1 18
is_field_reserved()
S
68 2 7
update_field_property()
S
65 2 9
restore_default_fields()
S
70 2 7
get_field()
S
68 2 7
maybe_close_form_container()
S
68 2 8
maybe_open_form_container()
S
66 2 9
get_field_name()
S
67 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
field_exists()
S
79 1 3
enable_field()
S
79 1 3
disable_field()
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
70 1 6