Showing 11 of 21 total issues
Function Split
has 301 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Split = function(ids, options) {
if (options === void 0) options = {};
var dimension;
var clientDimension;
Function AnchorJS
has 202 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function AnchorJS(options) {
this.options = options || {};
this.elements = [];
/**
QueryBuilder
has 43 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class QueryBuilder extends QueryBuilderBase {
// ----------------------------------------------------------------------------
// ! Miscellaneous Methods
// ----------------------------------------------------------------------------
File split.js
has 336 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*! Split.js - v1.3.5 */
// https://github.com/nathancahill/Split.js
// Copyright (c) 2017 Nathan Cahill; Licensed MIT
(function(global, factory) {
Function add
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.add = function(selector) {
var elements,
elsWithIds,
idList,
elementID,
Function parseWhere
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
parseWhere (driver, state) {
const whereMap = state.whereMap;
let whereValues = state.rawWhereValues;
const outputMap = [];
Function _addBaselineStyles
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _addBaselineStyles() {
// We don't want to add global baseline styles if they've been added before.
if (document.head.querySelector('style.anchorjs') !== null) {
return;
}
Function updateBatch
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateBatch (table, data, updateKey) {
let affectedRows = 0;
let insertData = [];
const fieldLines = [];
Function exports
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = (() => {
delete require.cache[require.resolve('../Driver')];
const driver = require('../Driver');
// Sqlite doesn't have a truncate command
Function startDragging
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function startDragging(e) {
// Alias frequently used variables to save space. 200 bytes.
var self = this;
var a = elements[self.a].element;
var b = elements[self.b].element;
Function stopDragging
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function stopDragging() {
var self = this;
var a = elements[self.a].element;
var b = elements[self.b].element;