WPDataChart D

Total Complexity 299
Dependencies 3
Dependents 7
Total lines 1,973
Lines of code 1,228
Logical lines of code 645
Comment lines 373
Methods 121
Properties 54

Methods 121

Method Rating Maintainability Complexity Lines of code
prepareData()
D
24
44 188
prepareChartJSRender()
D
24
33 181
loadFromDB()
C
29 27 112
prepareSeriesData()
B
35 20 88
prepareGoogleChartsRender()
B
38 16 66
shiftStringColumnUp()
A
44 11 47
groupData()
A
48 11 34
renderChart()
A
48 8 29
factory()
S
38 4 68
save()
S
45 4 47
deleteChart()
S
59 5 13
returnData()
S
69 3 7
loadChildWPDataTable()
S
70 2 6
getColumnIndexes()
S
72 2 5
getShortCode()
S
69 2 7
setUserDefinedSeriesData()
S
74 2 5
setTooltipBackgroundColor()
S
81 1 3
getTooltipBackgroundColor()
S
82 1 3
isTooltipShared()
S
82 1 3
getTooltipBorderRadius()
S
82 1 3
setTooltipBorderRadius()
S
80 1 3
isTooltipEnabled()
S
82 1 3
getLegendPosition()
S
82 1 3
setLegendPosition()
S
81 1 3
setTooltipShared()
S
80 1 3
__construct()
S
91 1 2
setTooltipEnabled()
S
80 1 3
setTitleFontColor()
S
81 1 3
getTitleFontColor()
S
82 1 3
setTitleFontStyle()
S
81 1 3
getTitleFontStyle()
S
82 1 3
getLegendVerticalAlign()
S
82 1 3
setTitleFontName()
S
81 1 3
getTitleFontName()
S
82 1 3
setTitlePosition()
S
81 1 3
getTitlePosition()
S
82 1 3
setLegendVerticalAlign()
S
81 1 3
setType()
S
81 1 3
setShowLegend()
S
80 1 3
getSelectedColumns()
S
82 1 3
getChartJSRenderData()
S
82 1 3
getRenderData()
S
82 1 3
returnChartJSData()
S
70 1 7
returnGoogleChartData()
S
70 1 7
getRangeType()
S
82 1 3
setRangeType()
S
81 1 3
getwpDataTableId()
S
82 1 3
setwpDataTableId()
S
81 1 3
setSelectedColumns()
S
81 1 3
getShowLegend()
S
82 1 3
getRowRange()
S
82 1 3
setRowRange()
S
81 1 3
getType()
S
82 1 3
setTitleFloating()
S
80 1 3
getEngine()
S
82 1 3
setEngine()
S
81 1 3
getUserDefinedSeriesData()
S
82 1 3
setLegendPositionCjs()
S
81 1 3
getLegendPositionCjs()
S
82 1 3
isTitleFloating()
S
82 1 3
isShowTitle()
S
82 1 3
setId()
S
81 1 3
setBorderColor()
S
81 1 3
getFontName()
S
82 1 3
setFontSize()
S
81 1 3
getFontSize()
S
82 1 3
getPlotBorderColor()
S
82 1 3
setPlotBorderColor()
S
81 1 3
getPlotBorderWidth()
S
82 1 3
setPlotBorderWidth()
S
81 1 3
getPlotBackgroundColor()
S
82 1 3
setPlotBackgroundColor()
S
81 1 3
getBorderRadius()
S
82 1 3
setBorderRadius()
S
81 1 3
getBorderColor()
S
82 1 3
getBorderWidth()
S
82 1 3
getFontStyle()
S
82 1 3
setBorderWidth()
S
81 1 3
getBackgroundColor()
S
82 1 3
setBackgroundColor()
S
81 1 3
isGroupChart()
S
82 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
getId()
S
82 1 3
setFontName()
S
81 1 3
setFontStyle()
S
81 1 3
setShowTitle()
S
81 1 3
getHorizontalAxisDirection()
S
82 1 3
getTitle()
S
82 1 3
setTitle()
S
81 1 3
isInverted()
S
82 1 3
setInverted()
S
80 1 3
getVerticalAxisDirection()
S
82 1 3
setVerticalAxisDirection()
S
81 1 3
isVerticalAxisCrosshair()
S
82 1 3
setVerticalAxisCrosshair()
S
80 1 3
getVerticalAxisMax()
S
82 1 3
setVerticalAxisMax()
S
81 1 3
getVerticalAxisMin()
S
82 1 3
setVerticalAxisMin()
S
81 1 3
setHorizontalAxisDirection()
S
81 1 3
getFontColor()
S
82 1 3
isHorizontalAxisCrosshair()
S
82 1 3
setHorizontalAxisCrosshair()
S
80 1 3
getMinorAxisLabel()
S
80 1 3
setMinorAxisLabel()
S
79 1 3
getMajorAxisLabel()
S
80 1 3
setMajorAxisLabel()
S
79 1 3
getShowGrid()
S
82 1 3
setShowGrid()
S
80 1 3
getCurveType()
S
82 1 3
setCurveType()
S
80 1 3
isThreeD()
S
82 1 3
setThreeD()
S
80 1 3
setFontColor()
S
81 1 3
getAllCharts()
S
69 1 6