Showing 6,062 of 6,062 total issues
Function insertNode
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
NodeList.prototype.insertNode = function(role, id, alias, admin, platform, platform_version, cluster, remotes, initial) {
- Create a ticketCreate a ticket
Function fix
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fix: function( event ) {
if ( event[ jQuery.expando ] ) {
return event;
}
- Create a ticketCreate a ticket
Function onKeyDown
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function onKeyDown(e) {
if (!focused) onFocus();
var code = e.e.keyCode;
// IE does strange things with escape.
- Create a ticketCreate a ticket
Function finish
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
finish: function( type ) {
if ( type !== false ) {
type = type || "fx";
}
return this.each(function() {
- Create a ticketCreate a ticket
Function _initSource
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_initSource: function() {
var array, url,
that = this;
if ( $.isArray(this.options.source) ) {
array = this.options.source;
- Create a ticketCreate a ticket
Function _create
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var selectees,
that = this;
this.element.addClass("ui-selectable");
- Create a ticketCreate a ticket
Function _create
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
this.originalCss = {
display: this.element[0].style.display,
width: this.element[0].style.width,
minHeight: this.element[0].style.minHeight,
- Create a ticketCreate a ticket
Function _createWidget
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createWidget: function( options, element ) {
element = $( element || this.defaultElement || this )[ 0 ];
this.element = $( element );
this.uuid = uuid++;
this.eventNamespace = "." + this.widgetName + this.uuid;
- Create a ticketCreate a ticket
Function highlight
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.highlight = function( o, done ) {
var elem = $( this ),
props = [ "backgroundImage", "backgroundColor", "opacity" ],
mode = $.effects.setMode( elem, o.mode || "show" ),
animation = {
- Create a ticketCreate a ticket
Function transfer
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.transfer = function( o, done ) {
var elem = $( this ),
target = $( o.to ),
targetFixed = target.css( "position" ) === "fixed",
body = $("body"),
- Create a ticketCreate a ticket
Function values
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
values: function( index, newValue ) {
var vals,
newValues,
i;
- Create a ticketCreate a ticket
Function puff
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.effects.effect.puff = function( o, done ) {
var elem = $( this ),
mode = $.effects.setMode( elem, o.mode || "hide" ),
hide = mode === "hide",
percent = parseInt( o.percent, 10 ) || 150,
- Create a ticketCreate a ticket
Function invalidEntry
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
DynamicTable.prototype.invalidEntry = function() {
var optionals = this.options.optional.toString().split(',');
var isInvalid = false;
var invalidInput = false
- Create a ticketCreate a ticket
Function previewDefault
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
previewDefault: function (file, previewId, isDisabled) {
if (!this.showPreview) {
return;
}
var self = this, frameClass = '', fname = file ? file.name : '',
- Create a ticketCreate a ticket
Function renderFileActions
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
renderFileActions: function (showUpload, showDelete, disabled, url, key) {
if (!showUpload && !showDelete) {
return '';
}
var self = this,
- Create a ticketCreate a ticket
Function replaceStack
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
replaceStack: function(callback) {
var prefix = '',
inline = this.isInline(),
stack;
- Create a ticketCreate a ticket
Function checkPosition
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Affix.prototype.checkPosition = function () {
if (!this.$element.is(':visible')) return
var height = this.$element.height()
var offset = this.options.offset
- Create a ticketCreate a ticket
Method upgrade_controller_clusters
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def upgrade_controller_clusters
::Crowbar::UpgradeStatus.new.save_substep(:controller_nodes, :running)
return upgrade_controllers_disruptive if upgrade_mode == :normal
- Create a ticketCreate a ticket
Method meta_tags
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def meta_tags
[].tap do |output|
output.push tag(
:meta,
charset: "utf-8"
- Create a ticketCreate a ticket
Method set_state
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def set_state(state)
# use the real transition function for this
cb = CrowbarService.new
result = cb.transition "default", @node.name, state
- Create a ticketCreate a ticket