Showing 208 of 10,177 total issues
File jquery-3.2.1.js
has 6620 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery JavaScript Library v3.2.1
* https://jquery.com/
*
* Includes Sizzle.js
- Create a ticketCreate a ticket
Function Sizzle
has 1452 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(function( window ) {
var i,
support,
Expr,
- Create a ticketCreate a ticket
File bootstrap.js
has 1596 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under the MIT license
*/
- Create a ticketCreate a ticket
File mithril.js
has 1527 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
;(function() {
"use strict"
function Vnode(tag, key, attrs0, children0, text, dom) {
return {tag: tag, key: key, attrs: attrs0, children: children0, text: text, dom: dom, domSize: undefined, state: undefined, events: undefined, instance: undefined}
}
- Create a ticketCreate a ticket
Function _12
has 742 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _12 = function($window) {
var $doc = $window && $window.document
var currentRedraw
var nameSpace = {
svg: "http://www.w3.org/2000/svg",
- Create a ticketCreate a ticket
Function view
has 305 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
app.view = function(vnode) {
const state = vnode.state;
const matchSearchKey = (project) => {
const keys = state.search_key.split(" ");
- Create a ticketCreate a ticket
Function ajax
has 251 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ajax: function( url, options ) {
// If url is an object, simulate pre-1.5 signature
if ( typeof url === "object" ) {
options = url;
- Create a ticketCreate a ticket
Function setDocument
has 245 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setDocument = Sizzle.setDocument = function( node ) {
var hasCompare, subWindow,
doc = node ? node.ownerDocument || node : preferredDoc;
// Return early if doc is invalid or already selected
- Create a ticketCreate a ticket
Function _25
has 182 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _25 = function($window, mountRedraw00) {
var fireAsync
function setPath(path0, data, options) {
path0 = buildPathname(path0, data)
if (fireAsync != null) {
- Create a ticketCreate a ticket
Function Deferred
has 176 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Deferred: function( func ) {
var tuples = [
// action, add listener, callbacks,
// ... .then handlers, argument index, [final state]
- Create a ticketCreate a ticket
Function view
has 162 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
app.view = function(vnode) {
const state = vnode.state;
const matchSearchKey = (project) => {
const keys = state.search_key.split(" ");
- Create a ticketCreate a ticket
Function _18
has 145 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _18 = function($window, Promise, oncompletion) {
var callbackCount = 0
function PromiseProxy(executor) {
return new Promise(executor)
}
- Create a ticketCreate a ticket
Function notifyProjectEvent
has 138 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
notifyProjectEvent(project_id, project_event){
const target_type = project_event.target_type || "Commit";
let comment_target_type;
if((target_type == "Note" || target_type == "DiffNote" ) && project_event.action_name == "commented on"){
- Create a ticketCreate a ticket
Function view
has 126 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
app.view = function(vnode) {
const state = vnode.state;
const current_time = new Date();
const action_labels = {
- Create a ticketCreate a ticket
Function defaultPrefilter
has 122 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function defaultPrefilter( elem, props, opts ) {
var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,
isBox = "width" in props || "height" in props,
anim = this,
orig = {},
- Create a ticketCreate a ticket
Function Callbacks
has 121 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.Callbacks = function( options ) {
// Convert options from String-formatted to Object-formatted if needed
// (we check in cache first)
options = typeof options === "string" ?
- Create a ticketCreate a ticket
Function updateNodes
has 112 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function updateNodes(parent, old, vnodes, hooks, nextSibling, ns) {
if (old === vnodes || old == null && vnodes == null) return
else if (old == null || old.length === 0) createNodes(parent, vnodes, 0, vnodes.length, hooks, nextSibling, ns)
else if (vnodes == null || vnodes.length === 0) removeNodes(parent, old, 0, old.length)
else {
- Create a ticketCreate a ticket
Function route
has 110 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function route(root, defaultRoute, routes) {
if (root == null) throw new Error("Ensure the DOM element that was passed to `m.route` is not undefined")
// 0 = start0
// 1 = init
// 2 = ready
- Create a ticketCreate a ticket
Config
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Config {
constructor(storage){
this.storage = storage || {};
}
- Create a ticketCreate a ticket
Function then
has 102 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
then: function( onFulfilled, onRejected, onProgress ) {
var maxDepth = 0;
function resolve( depth, deferred, handler, special ) {
return function() {
var that = this,
- Create a ticketCreate a ticket