wpmlField D

Total Complexity 247
Dependencies 0
Dependents 0
Total lines 1,222
Lines of code 911
Logical lines of code 582
Comment lines 45
Methods 24
Properties 19

Methods 24

Method Rating Maintainability Complexity Lines of code
validate_optin()
D
22
65 151
save()
D
17
59 221
check_default_fields()
C
27
18 177
title_by_slug()
B
41 17 56
__construct()
A
44 13 43
get_all()
A
47 10 37
find()
S
50 7 28
get()
S
54 6 21
save_field()
S
57 6 16
select()
S
58 6 15
delete_array()
S
58 5 15
delete()
S
57 4 16
email_field()
S
59 3 14
firstname_field()
S
59 3 14
lastname_field()
S
59 3 14
list_field()
S
59 3 14
consent_field()
S
59 3 14
titleslug_exists()
S
62 3 11
slug_exists()
S
63 3 10
list_field_id()
S
72 2 6
email_field_id()
S
72 2 6
firstname_field_id()
S
79 2 3
consent_field_id()
S
72 2 6
lastname_field_id()
S
79 2 3