timedContentPlugin D

Total Complexity 291
Dependencies 5
Dependents 0
Total lines 2,275
Lines of code 1,659
Logical lines of code 815
Comment lines 408
Methods 40
Properties 14

Methods 40

Method Rating Maintainability Complexity Lines of code
getScheduleDescription()
D
27
28 141
serverShowHTML()
C
27
27 138
getScheduleDescriptionById()
C
35 30 82
getRulePeriods()
C
30 24 110
setupCustomFields()
C
21
10 300
validate()
B
41 21 55
fix_date_i18n()
B
35 15 86
getNthWeekdayOfMonth()
A
41 14 59
rulesShowHTML()
A
44 14 40
getRulePeriodsById()
A
44 10 42
getNextMonth()
A
48 8 36
addAdminHeaderCode()
A
48 7 31
addRulesCount()
S
50 7 30
convertDateTimeParametersToISO()
S
50 7 29
init()
S
36 3 85
timedContentPluginGetRulePeriodsAjax()
S
51 7 24
clientShowHTML()
S
48 5 32
timedContentPluginGetScheduleDescriptionAjax()
S
51 5 24
getRulesJS()
S
51 5 24
setTinyMCEPluginVars()
S
55 5 20
convertTimeToISO()
S
57 5 16
getNextWeek()
S
53 4 21
addDescColumnContent()
S
62 4 11
initTinyMCEPlugin()
S
64 4 9
timedContentPluginGetTinyMCEDialog()
S
51 2 27
timedContentRuleTypeInit()
S
47 1 37
timedContentRuleUpdatedMessages()
S
53 2 20
datetimeToEnglish()
S
51 1 32
timedContentPreGetPosts()
S
65 3 9
addPostTypeIcons()
S
58 1 25
__construct()
S
51 1 24
stripArrayIndices()
S
72 2 6
addHeaderCode()
S
68 2 7
addTimedContentTinyMCEPlugin()
S
76 1 4
i18nInit()
S
74 1 4
addDescColumnHead()
S
70 1 6
registerTinyMCEButton()
S
76 1 4
getNextDay()
S
79 1 3
getNextHour()
S
79 1 3
getNextYear()
S
79 1 3