WPForms_Field_Email B

Total Complexity 88
Dependencies 1
Dependents 0
Total lines 919
Lines of code 488
Logical lines of code 200
Comment lines 283
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
validate()
A
49 14 28
field_options()
A
34 6 131
confirmation_field_properties()
A
41 6 65
sanitize_restricted_rules()
S
51 5 27
ajax_check_restricted_email()
S
56 5 18
is_restricted_email()
S
57 5 15
format()
S
58 5 14
save_form_args()
S
59 5 12
field_preview()
S
54 4 23
field_display()
S
47 3 37
get_email_pattern_parts()
S
62 4 11
field_option_class()
S
63 4 10
ajax_sanitize_restricted_rules()
S
57 2 19
transform_punycode()
S
63 3 10
field_properties()
S
65 3 9
filter_type_field_properties()
S
69 3 6
default_required()
S
71 2 6
get_punycode()
S
69 2 7
glue_email_pattern_parts()
S
68 2 7
init()
S
59 1 13
decode_email_patterns_rules_list()
S
64 1 11
sanitize_email_pattern()
S
77 1 3
encode_punycode()
S
78 1 3
decode_punycode()
S
78 1 3