WPDataTable D

Total Complexity 515
Dependencies 13
Dependents 8
Total lines 2,607
Lines of code 1,759
Logical lines of code 915
Comment lines 275
Methods 175
Properties 78

Methods 175

Method Rating Maintainability Complexity Lines of code
fillFromData()
D
18
65 216
getJsonDescription()
D
19
39 258
arrayBasedConstruct()
C
36 26 73
prepareColumnData()
C
37 26 67
createColumnsFromArr()
C
40 26 46
excelBasedConstruct()
B
38 18 59
enqueueJSAndStyles()
B
38 17 63
prepareRenderingRules()
B
39 16 62
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
setInterfaceLanguage()
S
65 3 9
addColumns()
S
65 3 9
returnCellValue()
S
65 3 9
showColumn()
S
67 3 8
hideColumn()
S
67 3 8
getHiddenColumnCount()
S
66 3 9
getRow()
S
66 3 8
getColumnHeaderOffset()
S
66 3 8
setDefaultSortDirection()
S
62 2 14
setVerticalScroll()
S
70 2 7
setScrollable()
S
70 2 7
__construct()
S
69 2 7
addDataColumn()
S
66 2 8
setDisplayLength()
S
68 2 6
setDefaultSearchValue()
S
73 2 5
getColumnDefinitions()
S
64 2 9
getColumnsAggregateFuncsResult()
S
70 2 6
renderWithJSAndStyles()
S
59 1 14
isStripeTable()
S
82 1 3
setVerticalScrollHeight()
S
80 1 3
isShowRowsPerPage()
S
82 1 3
setGlobalSearch()
S
80 1 3
setShowRowsPerPage()
S
80 1 3
setPaginationLayout()
S
81 1 3
isSimpleResponsive()
S
82 1 3
setSimpleHeader()
S
80 1 3
isGlobalSearch()
S
82 1 3
isSimpleHeader()
S
82 1 3
getVerticalScrollHeight()
S
82 1 3
setStripeTable()
S
80 1 3
setBorderSpacing()
S
80 1 3
getBorderSpacing()
S
82 1 3
setBorderCollapse()
S
81 1 3
getBorderCollapse()
S
82 1 3
setSimpleResponsive()
S
80 1 3
isRemoveBorders()
S
82 1 3
setCellPadding()
S
80 1 3
getCellPadding()
S
82 1 3
setRemoveBorders()
S
80 1 3
setOnlyOwnRows()
S
80 1 3
getPdfPaperSize()
S
82 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
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
setPdfPaperSize()
S
81 1 3
getOnlyOwnRows()
S
82 1 3
setPaginationAlign()
S
81 1 3
getColumnKeys()
S
80 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
setPdfPageOrientation()
S
81 1 3
getPdfPageOrientation()
S
82 1 3
getPaginationLayout()
S
82 1 3
isClearFilters()
S
82 1 3
getPaginationAlign()
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
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
setPagination()
S
81 1 3
getDefaultSortDirection()
S
82 1 3
enableTT()
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
hideBeforeLoad()
S
76 1 4
enablePagination()
S
81 1 3
showBeforeLoad()
S
81 1 3
doHideBeforeLoad()
S
82 1 3
getDisplayLength()
S
82 1 3
setIdColumnKey()
S
81 1 3
getIdColumnKey()
S
82 1 3
setClearFilters()
S
81 1 3
setInfoBlock()
S
80 1 3
isPagination()
S
82 1 3
disablePagination()
S
81 1 3
paginationEnabled()
S
82 1 3
getMaxFooterColumns()
S
82 1 3
getCSSClasses()
S
79 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
73 1 5
addCSSClass()
S
80 1 3
getRefreshInterval()
S
81 1 3
getCSSStyle()
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
isInfoBlock()
S
82 1 3