Showing 1,184 of 2,086 total issues
File jquery.js
has 6506 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*!
* jQuery JavaScript Library v1.8.2
* http://jquery.com/
*
* Includes Sizzle.js
File prototype.js
has 5999 lines of code (exceeds 250 allowed). Consider refactoring. Open
/* Prototype JavaScript framework, version 1.7.3
* (c) 2005-2010 Sam Stephenson
*
* Prototype is freely distributable under the terms of an MIT-style license.
* For details, see the Prototype web site: http://www.prototypejs.org/
File light_box.js
has 3467 lines of code (exceeds 250 allowed). Consider refactoring. Open
/* Prototype-UI, version trunk
*
* Prototype-UI is freely distributable under the terms of an MIT-style license.
* For details, see the PrototypeUI web site: http://www.prototype-ui.com/
*
File prototype-ui.js
has 3465 lines of code (exceeds 250 allowed). Consider refactoring. Open
/* Prototype-UI, version trunk
*
* Prototype-UI is freely distributable under the terms of an MIT-style license.
* For details, see the PrototypeUI web site: http://www.prototype-ui.com/
*
File PIE_uncompressed.js
has 3169 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*
PIE: CSS3 rendering for IE
Version 1.0.0
http://css3pie.com
Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2.
File flotr_out.js
has 2424 lines of code (exceeds 250 allowed). Consider refactoring. Open
/* $Id$ */
/**
* @projectDescription Flotr is a javascript plotting library based on the Prototype Javascript Framework.
* @author Bas Wenneker
File flotr.js
has 2424 lines of code (exceeds 250 allowed). Consider refactoring. Open
/* $Id$ */
/**
* @projectDescription Flotr is a javascript plotting library based on the Prototype Javascript Framework.
* @author Bas Wenneker
* @license MIT License <http://www.opensource.org/licenses/mit-license.php>
File window.js
has 1543 lines of code (exceeds 250 allowed). Consider refactoring. Open
/* Prototype-UI, version trunk
*
* Prototype-UI is freely distributable under the terms of an MIT-style license.
* For details, see the PrototypeUI web site: http://www.prototype-ui.com/
*
File schema.rb
has 1491 lines of code (exceeds 250 allowed). Consider refactoring. Open
ActiveRecord::Schema.define(version: 2024_04_03_132757) do
create_table "access_grants", id: :integer, charset: "utf8", force: :cascade do |t|
t.string "code"
t.string "access_token"
Function Chosen
has 672 lines of code (exceeds 25 allowed). Consider refactoring. Open
this.Chosen = (function(_super) {
__extends(Chosen, _super);
function Chosen() {
_ref = Chosen.__super__.constructor.apply(this, arguments);
Method up
has 672 lines of code (exceeds 25 allowed). Consider refactoring. Open
def self.up
create_table :portal_nces06_districts do |t|
t.string :LEAID, :limit => 7 # NCES Local Education Agency ID. The first two positions of this field are also the Federal Information Profesing Standards (FIPS) state code.
t.string :FIPST, :limit => 2 # Federal Information Processing Standards (FIPS) state code.
t.string :STID, :limit => 14 # Stateís own ID for the education agency.
File chosen.proto.js
has 1195 lines of code (exceeds 250 allowed). Consider refactoring. Open
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com
Version 1.5.1
File PortalNces06Schools.ts
has 1177 lines of code (exceeds 250 allowed). Consider refactoring. Open
import { Column, Entity, Index, PrimaryGeneratedColumn } from "typeorm";
@Index("index_portal_nces06_schools_on_NCESSCH", ["ncessch"], {})
@Index("index_portal_nces06_schools_on_SCHNAM", ["schnam"], {})
@Index("index_portal_nces06_schools_on_SEASCH", ["seasch"], {})
Consider simplifying this complex logical expression. Open
if( !PIE ) {
PIE = window.PIE = {
CSS_PREFIX: '-pie-',
STYLE_PREFIX: 'Pie',
CLASS_PREFIX: 'pie_',
File effects.js
has 1014 lines of code (exceeds 250 allowed). Consider refactoring. Open
// script.aculo.us effects.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
// Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// Contributors:
// Justin Palmer (http://encytemedia.com/)
Method materials_data
has a Cognitive Complexity of 103 (exceeds 5 allowed). Consider refactoring. Open
def materials_data( materials,
assigned_to_class = nil,
include_related = 0,
skip_lightbox_reloads = false )
data = []
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File controls.js
has 804 lines of code (exceeds 250 allowed). Consider refactoring. Open
// script.aculo.us controls.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
// Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// (c) 2005-2009 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
// (c) 2005-2009 Jon Tirsen (http://www.tirsen.com)
File dragdrop.js
has 786 lines of code (exceeds 250 allowed). Consider refactoring. Open
// script.aculo.us dragdrop.js v1.8.3, Thu Oct 08 11:23:33 +0200 2009
// Copyright (c) 2005-2009 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
Function drawLabels
has a Cognitive Complexity of 91 (exceeds 5 allowed). Consider refactoring. Open
drawLabels: function(){
// Construct fixed width label boxes, which can be styled easily.
var noLabels = 0, axis,
xBoxWidth, i, html, tick,
options = this.options,
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function drawLabels
has a Cognitive Complexity of 91 (exceeds 5 allowed). Consider refactoring. Open
drawLabels: function(){
// Construct fixed width label boxes, which can be styled easily.
var noLabels = 0, axis,
xBoxWidth, i, html, tick,
options = this.options,
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"