WPDataChart D

Total Complexity 187
Dependencies 3
Dependents 7
Total lines 1,253
Lines of code 750
Logical lines of code 374
Comment lines 257
Methods 76
Properties 27

Methods 76

Method Rating Maintainability Complexity Lines of code
prepareData()
D
22
49 206
prepareSeriesData()
B
37 16 77
groupData()
A
48 11 34
__construct()
S
46 5 37
setGeneralChartProperties()
S
53 6 20
defineSeries()
S
59 6 14
formatShiftedAxes()
S
54 5 21
shiftXAxisColumnUp()
S
57 5 17
delete()
S
58 5 15
save()
S
50 2 34
getChartDataById()
S
58 3 17
shiftColumns()
S
58 3 15
render()
S
60 3 13
getColumnIndexes()
S
72 2 5
loadChildWPDataTable()
S
68 2 7
setUserDefinedSeriesData()
S
74 2 5
setChartRenderData()
S
68 2 7
getShortCode()
S
71 2 6
formRenderDataForDb()
S
63 1 11
returnRenderData()
S
82 1 3
getwpDataTableId()
S
82 1 3
setRangeType()
S
81 1 3
getRangeType()
S
82 1 3
getJsonChartRenderData()
S
82 1 3
setJsonChartRenderData()
S
81 1 3
build()
S
68 1 6
getRenderData()
S
82 1 3
getDateTimeFormat()
S
80 1 3
loadFromDB()
S
67 1 8
getDateFormat()
S
80 1 3
setSpecificChartProperties()
S
91 1 2
getAll()
S
71 1 5
enqueueScriptsAfterChartRender()
S
65 1 9
enqueueChartSpecificScripts()
S
80 1 3
prepareRender()
S
91 1 2
returnData()
S
70 1 7
getSelectedColumns()
S
82 1 3
setwpDataTableId()
S
81 1 3
setId()
S
81 1 3
getId()
S
82 1 3
setBackgroundColor()
S
81 1 3
setMinorAxisLabel()
S
79 1 3
getMajorAxisLabel()
S
80 1 3
setMajorAxisLabel()
S
79 1 3
isShowGrid()
S
82 1 3
setShowGrid()
S
80 1 3
getBackgroundColor()
S
82 1 3
isGroupChart()
S
82 1 3
setVerticalAxisMin()
S
81 1 3
setGroupChart()
S
81 1 3
getHeight()
S
82 1 3
setHeight()
S
81 1 3
setResponsiveWidth()
S
81 1 3
isResponsiveWidth()
S
82 1 3
getWidth()
S
82 1 3
setWidth()
S
81 1 3
getMinorAxisLabel()
S
80 1 3
getVerticalAxisMin()
S
82 1 3
getRowRange()
S
82 1 3
setEngine()
S
81 1 3
setRowRange()
S
81 1 3
setSeriesType()
S
81 1 3
getSeriesType()
S
82 1 3
getType()
S
82 1 3
setType()
S
81 1 3
getEngine()
S
82 1 3
getUserDefinedSeriesData()
S
82 1 3
setVerticalAxisMax()
S
81 1 3
setTooltipEnabled()
S
80 1 3
isTooltipEnabled()
S
82 1 3
isShowTitle()
S
82 1 3
setShowTitle()
S
81 1 3
getTitle()
S
82 1 3
setTitle()
S
81 1 3
getVerticalAxisMax()
S
82 1 3
setSelectedColumns()
S
81 1 3