WPForms_Field_Email C

Total Complexity 124
Dependencies 2
Dependents 1
Total lines 1,282
Lines of code 633
Logical lines of code 292
Comment lines 425
Methods 38
Properties 0

Methods 38

Method Rating Maintainability Complexity Lines of code
validate()
A
46 13 39
field_options()
A
34 6 131
confirmation_field_properties()
A
41 6 65
save_form_args()
S
56 8 15
is_restricted_email()
S
53 7 22
format()
S
55 7 18
ajax_sanitize()
S
47 5 35
field_preview()
S
53 5 24
ajax_check_restricted_email()
S
56 5 18
sanitize_part_pattern()
S
53 4 26
field_display()
S
47 3 37
is_email_pattern()
S
56 4 18
is_email_pattern_without_at()
S
60 4 14
get_email_pattern_parts()
S
62 4 11
field_option_class()
S
63 4 10
sanitize_restricted_rules()
S
60 3 13
maybe_adjust_domain()
S
61 3 11
filter_type_field_properties()
S
69 3 6
field_properties()
S
65 3 9
transform_punycode()
S
63 3 10
decode_email_patterns_rules_array()
S
61 2 14
get_punycode()
S
69 2 7
encode_punycode()
S
67 2 8
email_encode_punycode()
S
71 2 6
glue_email_pattern_parts()
S
68 2 7
init()
S
57 1 15
default_required()
S
71 2 6
add_builder_strings()
S
69 1 7
sanitize_domain_pattern()
S
79 1 3
sanitize_email_pattern()
S
77 1 3
decode_email_patterns_rules_list()
S
79 1 3
ajax_sanitize_restricted_rules()
S
81 1 3
is_encoded_punycode()
S
74 1 4
ajax_sanitize_default_email()
S
81 1 3
decode_punycode()
S
78 1 3
get_pattern()
S
78 1 3
parse_email_pattern()
S
78 1 3
sanitize_local_pattern()
S
79 1 3