WFFN_REST_OPTIN_API_EndPoint D

Total Complexity 154
Dependencies 10
Dependents 1
Total lines 1,098
Lines of code 903
Logical lines of code 332
Comment lines 22
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
get_action_tabs()
D
15
30 409
add_op_field()
B
38 22 59
update_op_actions()
B
40 19 56
format_op_form_fields()
B
40 19 55
save_form_fields()
A
44 12 43
remove_op_field()
A
48 12 32
get_op_actions()
S
48 6 32
testing_email()
S
55 6 19
register_endpoint()
S
39 1 84
format_op_advanced_fields()
S
58 5 16
format_op_basic_fields()
S
60 4 13
get_form_fields()
S
51 3 25
test_email()
S
57 3 16
get_field_type()
S
62 3 12
get_instance()
S
72 2 6
optin_fetch_fields()
S
64 2 10
sanitize_custom()
S
68 2 7
get_write_api_permission_check()
S
79 1 3
get_read_api_permission_check()
S
79 1 3
__construct()
S
78 1 3