Weforms_Forms_Controller D

Total Complexity 250
Dependencies 10
Dependents 0
Total lines 1,647
Lines of code 1,209
Logical lines of code 621
Comment lines 159
Methods 28
Properties 2

Methods 28

Method Rating Maintainability Complexity Lines of code
save_check()
D
16
79 209
get_entry_details()
C
35 24 79
create_item()
B
38 19 62
weforms_api_update()
B
37 17 71
validate_reCaptcha()
A
46 12 36
update_item()
A
46 11 36
export_form_entries()
A
40 9 59
save_entry()
A
40 9 58
get_items()
A
43 10 43
register_routes()
A
31 1 177
get_entry()
A
45 7 38
weforms_api_insert_entry()
S
50 6 27
import_forms()
S
51 6 25
export_forms()
S
58 6 15
weforms_api_save()
S
46 4 38
submit_permissions_check()
S
55 5 19
is_bulk_delete_form_exists()
S
51 4 29
bulk_delete_form()
S
56 4 18
get_item_schema()
S
44 1 57
delete()
S
56 3 18
duplicate_form()
S
48 2 33
get_item()
S
53 2 21
delete_item()
S
59 2 14
email_validation()
S
77 2 3
is_field_exists()
S
67 2 8
is_template_exists()
S
75 1 4
prepare_item_for_response()
S
73 1 5
get_collection_params()
S
68 1 7