Showing 5,566 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 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 _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() {
this.el.id = _.uniqueId('__attachments-view-');
_.defaults( this.options, {
refreshSensitivity: 200,
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 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 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 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 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 list_theme_updates
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function list_theme_updates() {
$themes = get_theme_updates();
if ( empty($themes) )
return;
?>
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 ) {
Method download_post_meta
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function download_post_meta() {
$total = (int) get_option( 'ljapi_total' );
$count = (int) get_option( 'ljapi_count' );
$lastsync = get_option( 'ljapi_lastsync' );
if ( !$lastsync ) {
Method process_conditionals
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function process_conditionals() {
if(empty($this->params)) return;
if($_SERVER['REQUEST_METHOD'] == 'DELETE') return;
Method wp_newCategory
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_newCategory($args) {
$this->escape($args);
$blog_id = (int) $args[0];
$username = $args[1];
Method akismet_auto_check_comment
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function akismet_auto_check_comment( $comment ) {
global $akismet_api_host, $akismet_api_port;
$comment['user_ip'] = preg_replace( '/[^0-9., ]/', '', $_SERVER['REMOTE_ADDR'] );
$comment['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
Method twentyfourteen_the_attached_image
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function twentyfourteen_the_attached_image() {
$post = get_post();
/**
* Filter the default Twenty Fourteen attachment size.
*
Method get_page_of_comment
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_page_of_comment( $comment_ID, $args = array() ) {
global $wpdb;
if ( !$comment = get_comment( $comment_ID ) )
return;