ApiHelper D

Total Complexity 413
Dependencies 5
Dependents 9
Total lines 1,581
Lines of code 1,210
Logical lines of code 795
Comment lines 37
Methods 52
Properties 6

Methods 52

Method Rating Maintainability Complexity Lines of code
getTags()
D
16
88 208
prepareDataForTransfer()
D
22
63 143
prepareDataForDisplay()
C
33 31 82
sanitizeValueByType()
C
33 26 93
splitDateTimeField()
C
42 25 46
arrayToString()
B
42 22 54
arrayToStringAll()
B
42 22 54
getConditionResult()
A
44 15 49
exclude_cf7_wrong_table_columns()
A
55 9 17
grab_date_time_from_string()
S
53 7 24
getSelectedOptin()
S
56 7 17
get_paths()
S
53 5 21
getConditionTags()
S
59 5 14
getTagsIds()
S
55 4 19
sanitizeUrlValue()
S
58 4 16
date_to_timestamp()
S
60 4 15
remove_wp_emoji()
S
58 4 15
maybe_json_decode()
S
59 4 15
get_options_paths()
S
57 4 15
setSubscribersCounter()
S
58 4 14
getSeparators()
S
62 4 11
remove_accents()
S
52 3 24
getUniqueTableColumns()
S
62 4 10
secureLicenseKey()
S
64 4 9
get_map_tags_prefix()
S
61 3 12
get_date_from_date_time_string()
S
66 3 8
get_date_from_date_string()
S
66 3 8
isValidTimeStamp()
S
72 3 5
get_date_from_string()
S
68 3 6
filterForbidenKTSymbols()
S
56 1 18
getMonths()
S
58 1 17
get_date_time_formats()
S
60 1 16
getMinutes()
S
68 2 7
getHours()
S
68 2 7
getDays()
S
68 2 7
getSubscribersCounter()
S
63 2 10
getDetachTags()
S
62 2 10
getWoocommerceOrderStatuses()
S
69 2 7
endswith()
S
69 2 6
getWeekdays()
S
62 1 12
convertTimeToLocal()
S
66 1 8
getServerToUTCOffset()
S
72 1 5
_emoji_list()
S
57 1 4
get_date_formats()
S
66 1 10
get_time_regex()
S
73 1 6
get_date_regex()
S
67 1 9
getDefaultApiFields()
S
80 1 3
get_allowed_dt_formats()
S
72 1 5
filterBeforeOutput()
S
63 1 9
getCurrentUserData()
S
79 1 3
getDefaultApiFieldsTypes()
S
80 1 3
sanitizeHtmlValue()
S
76 1 4