WPForms_Field_Email D

Total Complexity 126
Dependencies 2
Dependents 1
Total lines 1,324
Lines of code 646
Logical lines of code 300
Comment lines 446
Methods 40
Properties 0

Methods 40

Method Rating Maintainability Complexity Lines of code
validate()
A
46 13 39
field_options()
A
34 6 131
confirmation_field_properties()
A
40 6 66
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
55 5 19
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
transform_punycode()
S
63 3 10
field_properties()
S
63 3 10
decode_email_patterns_rules_array()
S
61 2 14
encode_punycode()
S
67 2 8
default_required()
S
71 2 6
email_encode_punycode()
S
71 2 6
get_punycode()
S
70 2 7
glue_email_pattern_parts()
S
68 2 7
hooks()
S
60 1 12
decode_punycode()
S
78 1 3
parse_email_pattern()
S
78 1 3
is_encoded_punycode()
S
74 1 4
init()
S
66 1 8
decode_email_patterns_rules_list()
S
79 1 3
add_builder_strings()
S
69 1 7
sanitize_email_pattern()
S
70 1 5
get_pattern()
S
78 1 3
sanitize_domain_pattern()
S
79 1 3
sanitize_local_pattern()
S
79 1 3
ajax_sanitize_default_email()
S
81 1 3
ajax_sanitize_restricted_rules()
S
81 1 3
is_field_requires_fieldset()
S
79 1 3