Showing 3,486 of 3,486 total issues
Method xml_build_behavior
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def xml_build_behavior builder, options={}
options={ :Delivery => {:Providers => {} } } if options.blank?
builder.Behavior do |behavior|
if options[:override]
options[:override].call(behavior)
Method get_version_list
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def get_version_list(params)
# set some defaults
params[:start] = 0 unless params[:start]
params[:limit] = 30 unless params[:limit]
params[:sort] = 'id' unless params[:sort]
Method play_music
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def play_music
body = ""
xml = ::Builder::XmlMarkup.new :target => body, :indent => 2
xml.instruct!
xml.ucsxml :version=>"1.1", :xmlns=>"http://ucs.tfcci.com" do |ucsxml|
Function offset
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
jQuery.fn.offset = function() {
if ( !this[0] ) return { top: 0, left: 0 };
if ( this[0] === this[0].ownerDocument.body ) return jQuery.offset.bodyOffset( this[0] );
jQuery.offset.initialized || jQuery.offset.initialize();
Function initComponent
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initComponent: function(){
this.items = [
{xtype: 'dataview', itemId: 'dataview', region: 'center', margins: '5', store: new Ext.data.JsonStore({
restful: true,
url: '/reports.json',
Function _createUserSearchCombo
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createUserSearchCombo: function(){
return { xtype: 'combo',
border: false,
queryParam: 'tag',
mode: 'remote',
Function _createStore
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createStore: function(config){
this.store = this.store || new Ext.ux.maximgb.tg.NestedSetStore({
leaf_field_name: 'leaf',
right_field_name: 'right',
left_field_name: 'left',
Function createResponse
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var createResponse = function(cb, xhr){
var headerObj = {},
headerStr,
t,
s;
Function request
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
request : function(method, uri, cb, data, options){
var o = {
method: method,
parameters: data || '',
timeout: cb.timeout,
Function createResponse
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var createResponse = function(cb, xhr){
var headerObj = {},
headerStr,
t,
s;
Function getBox
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getBox : function(contentBox, local) {
var me = this,
xy,
left,
top,
Function initButtonEl
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initButtonEl : function(btn, btnEl){
this.el = btn;
this.setIcon(this.icon);
this.setText(this.text);
this.setIconClass(this.iconCls);
Function nodup
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function nodup(cs){
if(!cs){
return [];
}
var len = cs.length, c, i, r = cs, cj, ri = -1;
Function _tryPreloadAttach
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _tryPreloadAttach() {
var ret = false,
notAvail = [],
element, i, v, override,
tryAgain = !loadComplete || (retryCount > 0);
Function createResponse
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var createResponse = function(cb, xhr){
var headerObj = {},
headerStr,
t,
s;
Function updateAllColumnWidths
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateAllColumnWidths : function()
{
var tw = this.getTotalWidth(),
clen = this.cm.getColumnCount(),
ws = [],
Function createResponse
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var createResponse = function(cb, xhr){
var headerObj = {},
headerStr,
t,
s;
Function updateAllColumnWidths
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateAllColumnWidths : function()
{
var tw = this.getTotalWidth(),
clen = this.cm.getColumnCount(),
ws = [],
Function _tryPreloadAttach
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _tryPreloadAttach() {
var ret = false,
notAvail = [],
element, i, v, override,
tryAgain = !loadComplete || (retryCount > 0);
Function request
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
request : function(method, uri, cb, data, options){
var o = {
method: method,
parameters: data || '',
timeout: cb.timeout,