Showing 100 of 130 total issues
Function __row_selector
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var __row_selector = function ( settings, selector, opts )
{
var rows;
var run = function ( sel ) {
var selInt = _intVal( sel );
Function _fnFeatureHtmlFilter
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnFeatureHtmlFilter ( settings )
{
var classes = settings.oClasses;
var tableId = settings.sTableId;
var language = settings.oLanguage;
Function run
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var run = function ( s ) {
var selInt = _intVal( s );
// Selector - all
if ( s === '' ) {
Function __cell_selector
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var __cell_selector = function ( settings, selector, opts )
{
var data = settings.aoData;
var rows = _selector_row_indexes( settings, opts );
var cells = _removeEmpty( _pluck_order( data, rows, 'anCells' ) );
Function run
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var run = function ( sel ) {
var selInt = _intVal( sel );
var i, ien;
var aoData = settings.aoData;
Function _fnPageChange
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnPageChange ( settings, action, redraw )
{
var
start = settings._iDisplayStart,
len = settings._iDisplayLength,
Function iterator
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
iterator: function ( flatten, type, fn, alwaysNew ) {
var
a = [], ret,
i, ien, j, jen,
context = this.context,
Function _fnSortListener
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnSortListener ( settings, colIdx, append, callback )
{
var col = settings.aoColumns[ colIdx ];
var sorting = settings.aaSorting;
var asSorting = col.asSorting;
Function _selector_row_indexes
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _selector_row_indexes = function ( settings, opts )
{
var
i, ien, tmp, a=[],
displayFiltered = settings.aiDisplay,
Function loaded
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var loaded = function ( s ) {
if ( ! s || ! s.time ) {
callback();
return;
}
Function _fnCreateTr
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnCreateTr ( oSettings, iRow, nTrIn, anTds )
{
var
row = oSettings.aoData[iRow],
rowData = row._aData,
Function _fnSortFlatten
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnSortFlatten ( settings )
{
var
i, iLen, k, kLen,
aSort = [],
Function _fnApplyColumnDefs
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnApplyColumnDefs( oSettings, aoColDefs, aoCols, fn )
{
var i, iLen, j, jLen, k, kLen, def;
var columns = oSettings.aoColumns;
Function setData
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var setData = function (data, val, src) {
var a = _fnSplitObjNotation( src ), b;
var aLast = a[a.length-1];
var arrayNotation, funcNotation, o, innerSrc;
Function run
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var run = function ( s ) {
var fnSelector = typeof s === 'function';
if ( s === null || s === undefined || fnSelector ) {
// All cells and function selectors
Function _fnBuildHead
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnBuildHead( oSettings )
{
var i, ien, cell, row, column;
var thead = oSettings.nTHead;
var tfoot = oSettings.nTFoot;
Function _fnDetectHeader
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnDetectHeader ( aLayout, nThead )
{
var nTrs = $(nThead).children('tr');
var nTr, nCell;
var i, k, l, iLen, jLen, iColShifted, iColumn, iColspan, iRowspan;
Function _fnFilterData
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnFilterData ( settings )
{
var columns = settings.aoColumns;
var column;
var i, j, ien, jen, filterData, cellData, row;
Function _fnInitialise
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnInitialise ( settings )
{
var i, iLen, iAjaxStart=settings.iInitDisplayStart;
var columns = settings.aoColumns, column;
var features = settings.oFeatures;
Function __details_events
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var __details_events = function ( settings )
{
var api = new _Api( settings );
var namespace = '.dt.DT_details';
var drawEvent = 'draw'+namespace;