Showing 7,504 of 7,504 total issues
Function request
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
request: function(url) {
this.url = url;
this.method = this.options.method;
var params = Object.clone(this.options.parameters);
Function start
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function(name, attrs) {
if (!data.source1 && name == "param") {
data.source1 = attrs.map.movie;
}
Function convertParagraphToLi
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function convertParagraphToLi(paragraphNode, listStartTextNode, listName, start) {
var level = paragraphNode._listLevel || lastLevel;
// Handle list nesting
if (level != lastLevel) {
Function editImage
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function editImage( img ) {
var frame, callback, metadata;
if ( typeof wp === 'undefined' || ! wp.media ) {
editor.execCommand( 'mceImage' );
Function initialize
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initialize: function( element, options ) {
var self = this,
synchronizer = api.Element.synchronizer.html,
type, update, refresh;
Function renderColorPicker
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function renderColorPicker() {
var ctrl = this, colors, color, html, last, rows, cols, x, y, i;
colors = mapColors();
Function request
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
request: function(url) {
this.url = url;
this.method = this.options.method;
var params = Object.clone(this.options.parameters);
Function setPlayer
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setPlayer: function(e, node) {
// if the ready event fires on an empty node
if ( ! node ) {
return;
}
Function add
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function(elem, to, from, hide) {
if ( !elem || Galleria.TOUCH ) {
return;
}
if (!idle.bound) {
Function start
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function(options) {
function codeForEvent(options,eventName){
return (
(options[eventName+'Internal'] ? 'this.options.'+eventName+'Internal(this);' : '') +
(options[eventName] ? 'this.options.'+eventName+'(this);' : '')
Function _getSizes
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_getSizes: function() {
var self = this,
norm = {
small: '72c',
Function initialize
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initialize: function() {
media.view.Frame.prototype.initialize.apply( this, arguments );
_.defaults( this.options, {
Function initialize
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
initialize: function() {
this.el.id = _.uniqueId('__attachments-view-');
_.defaults( this.options, {
refreshSensitivity: 200,
Function applyPlacement
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Tooltip.prototype.applyPlacement = function (offset, placement) {
var $tip = this.tip()
var width = $tip[0].offsetWidth
var height = $tip[0].offsetHeight
Method properties
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function properties()
{
// ----- Reset the error handler
$this->privErrorReset();
Method mdel
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mdel($remote, $continious=false) {
$list=$this->rawlist($remote, "-la");
if($list===false) {
$this->PushError("mdel","can't read remote folder list", "Can't read remote folder \"".$remote."\" contents");
return false;
Method set_screen_options
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function set_screen_options() {
if ( isset($_POST['wp_screen_options']) && is_array($_POST['wp_screen_options']) ) {
check_admin_referer( 'screen-options-nonce', 'screenoptionnonce' );
Method get_columns
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_columns() {
$post_type = $this->screen->post_type;
$posts_columns = array();
Method download_comment_bodies
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function download_comment_bodies() {
global $wpdb;
$cookie = $this->get_session();
if ( is_wp_error( $cookie ) )
return $cookie;
Method import_comment
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function import_comment( $entry ) {
global $importing_blog;
// Drop the #fragment and we have the comment's old post permalink.
foreach ( $entry->links as $link ) {