WPDataTable D

Total Complexity 597
Dependencies 18
Dependents 9
Total lines 2,985
Lines of code 2,019
Logical lines of code 1,059
Comment lines 351
Methods 202
Properties 84

Methods 202

Method Rating Maintainability Complexity Lines of code
fillFromData()
D
15
77 238
getJsonDescription()
D
17
44 275
prepareColumnData()
C
35 31 74
arrayBasedConstruct()
C
35 30 80
createColumnsFromArr()
C
39 28 48
enqueueJSAndStyles()
B
35 22 78
prepareRenderingRules()
B
36 21 76
excelBasedConstruct()
B
36 19 70
calcColumnsAggregateFuncs()
A
41 14 72
calcColumnFunction()
A
50 13 28
generateTable()
A
48 9 33
deleteTable()
A
50 9 26
setColumnsPossibleValues()
A
53 8 23
getDistinctValuesForColumns()
S
50 7 28
wdtDefineColumnsWidth()
S
55 7 20
createObjectReader()
S
57 6 16
getCell()
S
58 6 16
sourceRenderData()
S
53 5 25
getColumn()
S
62 5 12
groupByColumn()
S
59 4 15
xmlRenderData()
S
62 4 11
setDefaultSortColumn()
S
62 4 11
XMLBasedConstruct()
S
60 3 13
reorderColumns()
S
61 3 13
getColumnFilterDefinitions()
S
61 3 11
getDataRowsFormatted()
S
63 3 11
loadWpDataTable()
S
62 3 11
joinWithForeignWpDataTable()
S
62 3 11
getColumnHeaderOffset()
S
66 3 8
hideColumn()
S
67 3 8
showColumn()
S
67 3 8
returnCellValue()
S
65 3 9
setInterfaceLanguage()
S
65 3 9
getHiddenColumnCount()
S
66 3 9
getRow()
S
66 3 8
addColumns()
S
65 3 9
setDefaultSortDirection()
S
62 2 14
customBasedConstruct()
S
62 2 12
getColumnDefinitions()
S
64 2 9
setResponsive()
S
70 2 7
__construct()
S
69 2 7
setVerticalScroll()
S
70 2 7
setDisplayLength()
S
68 2 6
setShowDescription()
S
70 2 7
setScrollable()
S
70 2 7
nestedJsonRenderData()
S
70 2 6
addDataColumn()
S
66 2 8
serializedPHPBasedConstruct()
S
63 2 10
jsonBasedConstruct()
S
63 2 10
getColumnsAggregateFuncsResult()
S
70 2 6
setDefaultSearchValue()
S
73 2 5
nestedJsonBasedConstruct()
S
63 2 10
renderWithJSAndStyles()
S
59 1 14
getAllTables()
S
69 1 6
setPdfPageOrientation()
S
81 1 3
getPdfPageOrientation()
S
82 1 3
setPdfPaperSize()
S
81 1 3
getPdfPaperSize()
S
82 1 3
getAllTablesExceptSimple()
S
69 1 6
setShowRowsPerPage()
S
80 1 3
isShowRowsPerPage()
S
82 1 3
serializedPhpRenderData()
S
71 1 5
setGlobalSearch()
S
80 1 3
setVerticalScrollHeight()
S
80 1 3
getVerticalScrollHeight()
S
82 1 3
setBorderSpacing()
S
80 1 3
getBorderSpacing()
S
82 1 3
setBorderCollapse()
S
81 1 3
getBorderCollapse()
S
82 1 3
setRemoveBorders()
S
80 1 3
isRemoveBorders()
S
82 1 3
setCellPadding()
S
80 1 3
getCellPadding()
S
82 1 3
setStripeTable()
S
80 1 3
isStripeTable()
S
82 1 3
isGlobalSearch()
S
82 1 3
isResponsive()
S
82 1 3
setDataRows()
S
80 1 3
countColumns()
S
80 1 3
renderModal()
S
76 1 4
getConditionalFormattingColumns()
S
82 1 3
addConditionalFormattingColumn()
S
80 1 3
getColumnsByHeaders()
S
82 1 3
getColumns()
S
82 1 3
isSimpleHeader()
S
82 1 3
getUserIdColumn()
S
82 1 3
setUserIdColumn()
S
81 1 3
getOnlyOwnRows()
S
82 1 3
setOnlyOwnRows()
S
80 1 3
getColumnKeys()
S
80 1 3
groupingColumn()
S
82 1 3
getResponsiveAction()
S
82 1 3
groupingColumnIndex()
S
82 1 3
groupingEnabled()
S
82 1 3
disableGrouping()
S
81 1 3
enableGrouping()
S
81 1 3
formatAjaxQueryResultRow()
S
80 1 3
getAutoUpdateCache()
S
82 1 3
jsonRenderData()
S
72 1 5
setAutoUpdateCache()
S
80 1 3
getDataRows()
S
82 1 3
getCacheSourceData()
S
82 1 3
setCacheSourceData()
S
80 1 3
setResponsiveAction()
S
81 1 3
setSimpleHeader()
S
80 1 3
isClearFilters()
S
82 1 3
setSimpleResponsive()
S
80 1 3
addSumFooterColumn()
S
80 1 3
addAvgColumn()
S
80 1 3
setAvgColumns()
S
81 1 3
getAvgColumns()
S
82 1 3
addMinColumn()
S
80 1 3
setMinColumns()
S
81 1 3
getMinColumns()
S
82 1 3
addMaxColumn()
S
80 1 3
setMaxColumns()
S
81 1 3
getMaxColumns()
S
82 1 3
setSumFooterColumns()
S
81 1 3
setSumColumns()
S
81 1 3
getSumFooterColumns()
S
82 1 3
addAvgFooterColumn()
S
80 1 3
setAvgFooterColumns()
S
81 1 3
getAvgFooterColumns()
S
82 1 3
addMinFooterColumn()
S
80 1 3
setMinFooterColumns()
S
81 1 3
getMinFooterColumns()
S
82 1 3
addMaxFooterColumn()
S
80 1 3
setMaxFooterColumns()
S
81 1 3
getSumColumns()
S
82 1 3
addSumColumn()
S
80 1 3
addColumnsDecimalPlaces()
S
80 1 3
getId()
S
82 1 3
setClearFilters()
S
81 1 3
isFixedLayout()
S
82 1 3
setFixedLayout()
S
81 1 3
isWordWrap()
S
82 1 3
setWordWrap()
S
81 1 3
isAjaxReturn()
S
82 1 3
setAjaxReturn()
S
81 1 3
setNoData()
S
81 1 3
getNoData()
S
82 1 3
setId()
S
81 1 3
sortDisable()
S
81 1 3
getTableContent()
S
82 1 3
setTableContent()
S
81 1 3
getFileLocation()
S
82 1 3
setFileLocation()
S
81 1 3
getTableType()
S
82 1 3
setTableType()
S
81 1 3
getDefaultSearchValue()
S
80 1 3
sortEnabled()
S
82 1 3
sortEnable()
S
81 1 3
getMaxFooterColumns()
S
82 1 3
addColumnsThousandsSeparator()
S
80 1 3
isSimpleResponsive()
S
82 1 3
getDisplayLength()
S
82 1 3
setTableToolsIncludeHTML()
S
81 1 3
getTableToolsIncludeTitle()
S
82 1 3
setTableToolsIncludeTitle()
S
81 1 3
hideToolbar()
S
81 1 3
getDefaultSortColumn()
S
82 1 3
getDefaultSortDirection()
S
82 1 3
hideBeforeLoad()
S
76 1 4
showBeforeLoad()
S
81 1 3
doHideBeforeLoad()
S
82 1 3
setIdColumnKey()
S
81 1 3
TTEnabled()
S
82 1 3
getIdColumnKey()
S
82 1 3
isInfoBlock()
S
82 1 3
setInfoBlock()
S
80 1 3
isPagination()
S
82 1 3
setPagination()
S
81 1 3
getPaginationAlign()
S
82 1 3
getWdtColumnTypes()
S
82 1 3
getPaginationLayout()
S
82 1 3
setPaginationLayout()
S
81 1 3
getTableToolsIncludeHTML()
S
82 1 3
disableTT()
S
81 1 3
getColumnsCSS()
S
82 1 3
getName()
S
82 1 3
setColumnsCss()
S
81 1 3
getWpId()
S
82 1 3
setWpId()
S
81 1 3
getCssClassesArr()
S
72 1 5
getCSSClasses()
S
79 1 3
addCSSClass()
S
80 1 3
getCSSStyle()
S
82 1 3
setCSSStyle()
S
81 1 3
setTitle()
S
81 1 3
setDescription()
S
81 1 3
enableTT()
S
81 1 3
getDescription()
S
82 1 3
getShowDescription()
S
82 1 3
isScrollable()
S
82 1 3
isVerticalScroll()
S
82 1 3
getInterfaceLanguage()
S
82 1 3
setAutoRefresh()
S
80 1 3
getRefreshInterval()
S
81 1 3
paginationEnabled()
S
82 1 3
enablePagination()
S
81 1 3
disablePagination()
S
81 1 3
setPaginationAlign()
S
81 1 3