WPUM_Registration_Forms_Editor B

Total Complexity 100
Dependencies 3
Dependents 0
Total lines 635
Lines of code 387
Logical lines of code 192
Comment lines 108
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
save_form_settings()
B
44 17 40
save_form()
A
52 11 23
get_available_fields()
A
46 9 38
get_stored_fields()
A
49 9 30
update_form()
A
53 8 21
load_scripts()
A
46 7 34
get_form()
S
50 7 28
sanitize_multiple_field()
S
58 7 15
get_form_field_data()
S
50 6 29
get_forms()
S
52 6 24
get_labels()
S
44 1 42
sanitize_checkbox_field()
S
65 3 10
init_hooks()
S
53 1 21
send_json_error()
S
80 1 3
sanitize_file_field()
S
80 1 3
__construct()
S
75 1 4
sanitize_textarea_field()
S
80 1 3
sanitize_text_field()
S
79 1 3
display_registration_forms_editor()
S
82 1 3
setup_menu_page()
S
66 1 9
delete_registration_forms_cache()
S
76 1 4