Calendar D

Total Complexity 384
Dependencies 3
Dependents 1
Total lines 1,448
Lines of code 1,261
Logical lines of code 813
Comment lines 125
Methods 30
Properties 47

Methods 30

Method Rating Maintainability Complexity Lines of code
calendar_cell()
D
0
140 398
showcal()
D
12
79 278
__construct()
D
25
50 134
calendar_head()
B
34 19 90
cal_viewmode()
A
41 14 53
set_json_ld()
A
43 12 44
cal_next()
S
49 6 29
getDayDate()
S
59 7 13
getAndReplaceFirstImage()
S
51 6 27
getWeekFirstDayDate()
S
54 6 19
cal_previous()
S
50 5 27
arraySearch()
S
61 6 11
getMonthDate()
S
61 6 11
hex2RGB()
S
55 4 17
getKey()
S
67 3 8
arraySort()
S
64 3 10
calcDate()
S
60 2 13
dateDiff()
S
60 2 12
calendar_foot()
S
64 2 11
add_terms()
S
74 2 5
addEvents()
S
81 1 3
getDay()
S
68 1 6
month_selector()
S
77 1 4
getMonth()
S
68 1 6
rangeWeek()
S
71 1 5
range4Days()
S
71 1 5
stripWhitespace()
S
65 1 10
addEvent()
S
80 1 3
replaceFirstImage()
S
75 1 4
cal_days_in_month()
S
71 1 5