Showing 460 of 700 total issues
Function TapReporter
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var TapReporter = /*#__PURE__*/function () {
function TapReporter(runner) {
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
_classCallCheck(this, TapReporter);
Function algorithm
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
algorithm: function algorithm(searchLowerCodes, prepared, searchLowerCode) {
var targetLowerCodes = prepared._targetLowerCodes;
var searchLen = searchLowerCodes.length;
var targetLen = targetLowerCodes.length;
var searchI = 0; // where we at
Function contextMenu
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
contextMenu: function(o, callback) {
// Defaults
if( o.menu == undefined ) return false;
if( o.inSpeed == undefined ) o.inSpeed = 150;
if( o.outSpeed == undefined ) o.outSpeed = 75;
Function nodeSetStatus
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
nodeSetStatus: function (ctx, status, message, details) {
var node = ctx.node,
tree = ctx.tree;
function _clearStatusNode() {
Function onDragEvent
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onDragEvent(event) {
var json,
tree = this,
dndOpts = tree.options.dnd5,
node = FT.getNode(event),
Function Animation
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Animation( elem, properties, options ) {
var result,
stopped,
index = 0,
length = Animation.prefilters.length,
Function go
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
go: function go(search, targets, options) {
if (search == 'farzher') return [{
target: "farzher was here (^-^*)/",
score: 0,
indexes: [0, 1, 2, 3, 4, 5, 6],
Function finish
has 96 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
finish: function finish() {
config.current = this; // Release the test callback to ensure that anything referenced has been
// released to be garbage collected.
this.callback = undefined;
Function nodeRender
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
nodeRender: function (ctx, force, deep, collapsed, _recursive) {
var children,
firstTr,
i,
l,
Function nodeRenderStatus
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
nodeRenderStatus: function (ctx) {
// Set classes for current status
var $ariaElem,
node = ctx.node,
tree = ctx.tree,
Function trigger
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
trigger: function( event, data, elem, onlyHandlers ) {
var i, cur, tmp, bubbleType, ontype, handle, special, lastElement,
eventPath = [ elem || document ],
type = hasOwn.call( event, "type" ) ? event.type : event,
Function planize
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.fn.planize = function(config) {
var self = jQuery(this);
var processed = false;
var toc = '';
Function TestReport
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var TestReport = /*#__PURE__*/function () {
function TestReport(name, suite, options) {
_classCallCheck(this, TestReport);
this.name = name;
Function treeLoad
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
treeLoad: function (ctx, source) {
var metaData,
type,
$ul,
tree = ctx.tree,
Function nodeKeydown
has 88 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
nodeKeydown: function (ctx) {
// TODO: return promise?
var matchNode,
stamp,
_res,
Function _loadKeyPathImpl
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_loadKeyPathImpl: function (dfd, opts, parent, pathSegList) {
var deferredList,
i,
key,
node,
Function diffCleanupMerge
has 87 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DiffMatchPatch.prototype.diffCleanupMerge = function (diffs) {
var pointer, countDelete, countInsert, textInsert, textDelete, commonlength, changes, diffPointer, position;
diffs.push([DIFF_EQUAL, '']); // Add a dummy entry at the end.
pointer = 0;
Function parseHtml
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
parseHtml: function ($ul) {
var classes,
className,
extraClasses,
i,
Function treeInit
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
treeInit: function (ctx) {
var i,
n,
$row,
$tbody,
Function _initDragAndDrop
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _initDragAndDrop(tree) {
var dnd = tree.options.dnd || null,
glyph = tree.options.glyph || null;
// Register 'connectToFancytree' option with ui.draggable