Showing 893 of 1,587 total issues
File jquery-1.8.0.js
has 6344 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* jQuery JavaScript Library v1.8.0
* http://jquery.com/
*
* Includes Sizzle.js
- Create a ticketCreate a ticket
File prototype.js
has 4915 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Prototype JavaScript framework, version 1.7_rc2
* (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/
- Create a ticketCreate a ticket
Function resourceManagePanel
has 1247 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DcmgrGUI.prototype.resourceManagePanel = function(){
// ボタン名
var create_button_name = $.i18n.prop('create_button');
var close_button_name = $.i18n.prop('close_button');
var update_button_name = $.i18n.prop('update_button');
- Create a ticketCreate a ticket
File bootstrap.js
has 1412 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* ===================================================
* bootstrap-transition.js v2.1.0
* http://twitter.github.com/bootstrap/javascript.html#transitions
* ===================================================
* Copyright 2012 Twitter, Inc.
- Create a ticketCreate a ticket
Function loadBalancerPanel
has 722 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DcmgrGUI.prototype.loadBalancerPanel = function(){
var total = 0;
var maxrow = 10;
var page = 1;
var list_request = {
- Create a ticketCreate a ticket
File resource_manage_panel.js
has 1249 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
DcmgrGUI.prototype.resourceManagePanel = function(){
// ボタン名
var create_button_name = $.i18n.prop('create_button');
var close_button_name = $.i18n.prop('close_button');
var update_button_name = $.i18n.prop('update_button');
- Create a ticketCreate a ticket
Function instancePanel
has 649 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DcmgrGUI.prototype.instancePanel = function(){
var total = 0;
var maxrow = 10;
var page = 1;
var list_request = {
- Create a ticketCreate a ticket
File core.js
has 1225 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
window.DcmgrGUI = function(){};
//Refarence:http://wp.serpere.info/archives/1091
DcmgrGUI.Class = (function() {
function subclass() {}
- Create a ticketCreate a ticket
File jquery-ui-timepicker-addon.js
has 1194 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* jQuery timepicker addon
* By: Trent Richardson [http://trentrichardson.com]
* Version 1.0.1
* Last Modified: 07/01/2012
- Create a ticketCreate a ticket
Function Paginator
has 534 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Backbone.Paginator = (function ( Backbone, _, $ ) {
"use strict";
var Paginator = {};
Paginator.version = "0.15";
- Create a ticketCreate a ticket
File effects.js
has 1014 lines of code (exceeds 250 allowed). Consider refactoring. Open
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/)
- Create a ticketCreate a ticket
File jquery.validate.js
has 944 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* jQuery Validation Plugin 1.9.0
*
* http://bassistance.de/jquery-plugins/jquery-plugin-validation/
* http://docs.jquery.com/Plugins/Validation
- Create a ticketCreate a ticket
Function sprintf
has a Cognitive Complexity of 113 (exceeds 5 allowed). Consider refactoring. Open
Open
var sprintf = (function() {
function get_type(variable) {
return Object.prototype.toString.call(variable).slice(8, -1).toLowerCase();
}
function str_repeat(input, multiplier) {
- Read upRead up
- Create a ticketCreate a ticket
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 volumePanel
has 434 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DcmgrGUI.prototype.volumePanel = function(){
var total = 0;
var maxrow = 10;
var page = 1;
var list_request = {
- Create a ticketCreate a ticket
Function imagePanel
has 433 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DcmgrGUI.prototype.imagePanel = function(){
var total = 0;
var maxrow = 10;
var page = 1;
var list_request = {
- Create a ticketCreate a ticket
File backbone.js
has 856 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// Backbone.js 0.9.2
// (c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
- Create a ticketCreate a ticket
Function Paginator
has a Cognitive Complexity of 99 (exceeds 5 allowed). Consider refactoring. Open
Open
Backbone.Paginator = (function ( Backbone, _, $ ) {
"use strict";
var Paginator = {};
Paginator.version = "0.15";
- Read upRead up
- Create a ticketCreate a ticket
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
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)
- Create a ticketCreate a ticket
File dragdrop.js
has 786 lines of code (exceeds 250 allowed). Consider refactoring. Open
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.
- Create a ticketCreate a ticket
Function timezone
has 371 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
timezoneJS.timezone = new function () {
var _this = this
, regionMap = {'Etc':'etcetera','EST':'northamerica','MST':'northamerica','HST':'northamerica','EST5EDT':'northamerica','CST6CDT':'northamerica','MST7MDT':'northamerica','PST8PDT':'northamerica','America':'northamerica','Pacific':'australasia','Atlantic':'europe','Africa':'africa','Indian':'africa','Antarctica':'antarctica','Asia':'asia','Australia':'australasia','Europe':'europe','WET':'europe','CET':'europe','MET':'europe','EET':'europe'}
, regionExceptions = {'Pacific/Honolulu':'northamerica','Atlantic/Bermuda':'northamerica','Atlantic/Cape_Verde':'africa','Atlantic/St_Helena':'africa','Indian/Kerguelen':'antarctica','Indian/Chagos':'asia','Indian/Maldives':'asia','Indian/Christmas':'australasia','Indian/Cocos':'australasia','America/Danmarkshavn':'europe','America/Scoresbysund':'europe','America/Godthab':'europe','America/Thule':'europe','Asia/Yekaterinburg':'europe','Asia/Omsk':'europe','Asia/Novosibirsk':'europe','Asia/Krasnoyarsk':'europe','Asia/Irkutsk':'europe','Asia/Yakutsk':'europe','Asia/Vladivostok':'europe','Asia/Sakhalin':'europe','Asia/Magadan':'europe','Asia/Kamchatka':'europe','Asia/Anadyr':'europe','Africa/Ceuta':'europe','America/Argentina/Buenos_Aires':'southamerica','America/Argentina/Cordoba':'southamerica','America/Argentina/Tucuman':'southamerica','America/Argentina/La_Rioja':'southamerica','America/Argentina/San_Juan':'southamerica','America/Argentina/Jujuy':'southamerica','America/Argentina/Catamarca':'southamerica','America/Argentina/Mendoza':'southamerica','America/Argentina/Rio_Gallegos':'southamerica','America/Argentina/Ushuaia':'southamerica','America/Aruba':'southamerica','America/La_Paz':'southamerica','America/Noronha':'southamerica','America/Belem':'southamerica','America/Fortaleza':'southamerica','America/Recife':'southamerica','America/Araguaina':'southamerica','America/Maceio':'southamerica','America/Bahia':'southamerica','America/Sao_Paulo':'southamerica','America/Campo_Grande':'southamerica','America/Cuiaba':'southamerica','America/Porto_Velho':'southamerica','America/Boa_Vista':'southamerica','America/Manaus':'southamerica','America/Eirunepe':'southamerica','America/Rio_Branco':'southamerica','America/Santiago':'southamerica','Pacific/Easter':'southamerica','America/Bogota':'southamerica','America/Curacao':'southamerica','America/Guayaquil':'southamerica','Pacific/Galapagos':'southamerica','Atlantic/Stanley':'southamerica','America/Cayenne':'southamerica','America/Guyana':'southamerica','America/Asuncion':'southamerica','America/Lima':'southamerica','Atlantic/South_Georgia':'southamerica','America/Paramaribo':'southamerica','America/Port_of_Spain':'southamerica','America/Montevideo':'southamerica','America/Caracas':'southamerica'};
function invalidTZError(t) { throw new Error('Timezone "' + t + '" is either incorrect, or not loaded in the timezone registry.'); }
- Create a ticketCreate a ticket