WPDataTable D

Total Complexity 539
Dependencies 13
Dependents 9
Total lines 2,684
Lines of code 1,821
Logical lines of code 950
Comment lines 285
Methods 181
Properties 79

Methods 181

Method Rating Maintainability Complexity Lines of code
fillFromData()
D
17
69 227
getJsonDescription()
D
19
39 260
arrayBasedConstruct()
C
35 30 80
prepareColumnData()
C
36 28 71
createColumnsFromArr()
C
39 28 48
prepareRenderingRules()
B
37 19 70
enqueueJSAndStyles()
B
37 19 69
excelBasedConstruct()
B
38 18 59
calcColumnsAggregateFuncs()
A
41 14 72
calcColumnFunction()
A
50 13 28
generateTable()
A
48 9 33
deleteTable()
A
51 9 24
setColumnsPossibleValues()
A
53 8 23
getDistinctValuesForColumns()
S
50 7 28
wdtDefineColumnsWidth()
S
55 7 20
XMLBasedConstruct()
S
56 6 17
getCell()
S
58 6 16
getColumn()
S
62 5 12
groupByColumn()
S
59 4 15
setDefaultSortColumn()
S
62 4 11
reorderColumns()
S
61 3 13
getDataRowsFormatted()
S
63 3 11
getColumnFilterDefinitions()
S
61 3 11
loadWpDataTable()
S
62 3 11
joinWithForeignWpDataTable()
S
62 3 11
getColumnHeaderOffset()
S
66 3 8
getRow()
S
66 3 8
addColumns()
S
65 3 9
getHiddenColumnCount()
S
66 3 9
returnCellValue()
S
65 3 9
showColumn()
S
67 3 8
hideColumn()
S
67 3 8
setInterfaceLanguage()
S
65 3 9
setDefaultSortDirection()
S
62 2 14
setDefaultSearchValue()
S
73 2 5
setResponsive()
S
70 2 7
setDisplayLength()
S
68 2 6
addDataColumn()
S
66 2 8
setScrollable()
S
70 2 7
getColumnDefinitions()
S
64 2 9
getColumnsAggregateFuncsResult()
S
70 2 6
setVerticalScroll()
S
70 2 7
__construct()
S
69 2 7
renderWithJSAndStyles()
S
59 1 14
setSimpleResponsive()
S
80 1 3
getPdfPageOrientation()
S
82 1 3
setPdfPaperSize()
S
81 1 3
getPdfPaperSize()
S
82 1 3
setShowRowsPerPage()
S
80 1 3
isShowRowsPerPage()
S
82 1 3
setGlobalSearch()
S
80 1 3
setSimpleHeader()
S
80 1 3
isGlobalSearch()
S
82 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
isSimpleHeader()
S
82 1 3
setCellPadding()
S
80 1 3
getCellPadding()
S
82 1 3
setStripeTable()
S
80 1 3
isStripeTable()
S
82 1 3
isRemoveBorders()
S
82 1 3
getColumnKeys()
S
80 1 3
setPdfPageOrientation()
S
81 1 3
getUserIdColumn()
S
82 1 3
getAllTablesExceptSimple()
S
69 1 6
getAllTables()
S
69 1 6
renderModal()
S
76 1 4
jsonBasedConstruct()
S
71 1 5
formatAjaxQueryResultRow()
S
80 1 3
setDataRows()
S
80 1 3
getDataRows()
S
82 1 3
getConditionalFormattingColumns()
S
82 1 3
addConditionalFormattingColumn()
S
80 1 3
getColumnsByHeaders()
S
82 1 3
getColumns()
S
82 1 3
setUserIdColumn()
S
81 1 3
isResponsive()
S
82 1 3
getOnlyOwnRows()
S
82 1 3
setOnlyOwnRows()
S
80 1 3
setPaginationLayout()
S
81 1 3
countColumns()
S
80 1 3
groupingColumn()
S
82 1 3
groupingColumnIndex()
S
82 1 3
groupingEnabled()
S
82 1 3
disableGrouping()
S
81 1 3
enableGrouping()
S
81 1 3
setResponsiveAction()
S
81 1 3
getResponsiveAction()
S
82 1 3
isSimpleResponsive()
S
82 1 3
isClearFilters()
S
82 1 3
getPaginationLayout()
S
82 1 3
setMaxColumns()
S
81 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
getMaxColumns()
S
82 1 3
setSumColumns()
S
81 1 3
addSumFooterColumn()
S
80 1 3
setSumFooterColumns()
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
getSumColumns()
S
82 1 3
addSumColumn()
S
80 1 3
addMaxFooterColumn()
S
80 1 3
getNoData()
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
getId()
S
82 1 3
sortDisable()
S
81 1 3
setId()
S
81 1 3
getTableContent()
S
82 1 3
setTableContent()
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
getMinFooterColumns()
S
82 1 3
setMaxFooterColumns()
S
81 1 3
setPaginationAlign()
S
81 1 3
showBeforeLoad()
S
81 1 3
disableTT()
S
81 1 3
TTEnabled()
S
82 1 3
getTableToolsIncludeHTML()
S
82 1 3
setTableToolsIncludeHTML()
S
81 1 3
hideToolbar()
S
81 1 3
getDefaultSortColumn()
S
82 1 3
getDefaultSortDirection()
S
82 1 3
hideBeforeLoad()
S
76 1 4
doHideBeforeLoad()
S
82 1 3
disablePagination()
S
81 1 3
getDisplayLength()
S
82 1 3
setIdColumnKey()
S
81 1 3
getIdColumnKey()
S
82 1 3
isInfoBlock()
S
82 1 3
setInfoBlock()
S
80 1 3
getWdtColumnTypes()
S
82 1 3
setPagination()
S
81 1 3
getPaginationAlign()
S
82 1 3
enableTT()
S
81 1 3
enablePagination()
S
81 1 3
getMaxFooterColumns()
S
82 1 3
addCSSClass()
S
80 1 3
addColumnsDecimalPlaces()
S
80 1 3
addColumnsThousandsSeparator()
S
80 1 3
getColumnsCSS()
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
getCSSStyle()
S
82 1 3
paginationEnabled()
S
82 1 3
setCSSStyle()
S
81 1 3
setTitle()
S
81 1 3
getName()
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
isPagination()
S
82 1 3