Showing 5,566 of 7,504 total issues
Function show
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show : function( elem, speed, callback ) {
callback = callback || F;
var $elem = $(elem);
Function processQuickSearchQueryResponse
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
processQuickSearchQueryResponse : function(resp, req, panel) {
var matched, newID,
takenIDs = {},
form = document.getElementById('nav-menu-meta'),
pattern = /menu-item[(\[^]\]*/,
Function stop
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
stop: function(e,ui) {
if ( ui.item.hasClass('ui-draggable') )
ui.item.draggable('destroy');
if ( ui.item.hasClass('deleting') ) {
Function send
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
send: function( action, options ) {
if ( _.isObject( action ) ) {
options = action;
} else {
options = options || {};
Function start
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function( event, ui ) {
this.model.set({ scrubbing: true });
// Track the mouse position to enable smooth dragging,
// overrides default jQuery UI step behavior.
Function highscoresController
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var highscoresController = function ($scope, $http, dataService) {
$scope.model = {
viewGame: 1
};
Function fold
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fold : function(off) {
if (off) {
$('body').removeClass('folded');
$('#adminmenu li.wp-has-submenu').unbind();
} else {
Function processKey
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function processKey(e) {
// handling up/down/escape requires results to be visible
// handling enter/tab requires that AND a result to be selected
if ((/27$|38$|40$/.test(e.keyCode) && $results.is(':visible')) ||
Function updateDrag
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateDrag: function(event, pointer) {
if(!this.dragging) this.startDrag(event);
if(!this.options.quiet){
Position.prepare();
Function show
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show : function( elem, speed, callback ) {
callback = callback || F;
var $elem = $(elem);
Function galleria
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.galleria = function( options ) {
var selector = this.selector;
// try domReady if element not found
Method edit_comment
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function edit_comment() {
$comment_post_ID = (int) $_POST['comment_post_ID'];
if (!current_user_can( 'edit_post', $comment_post_ID ))
Method privAddFileList
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function privAddFileList($p_filedescr_list, &$p_result_list, &$p_options)
{
$v_result=1;
$v_header = array();
Method mput
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mput($local=".", $remote=NULL, $continious=false) {
$local=realpath($local);
if(!@file_exists($local)) {
$this->PushError("mput","can't open local folder", "Cannot stat folder \"".$local."\"");
return FALSE;
Method WP_Filesystem_FTPext
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function WP_Filesystem_FTPext($opt='') {
$this->method = 'ftpext';
$this->errors = new WP_Error();
//Check if possible to use ftp functions.
Method __construct
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function __construct($port_mode=FALSE, $verb=FALSE, $le=FALSE) {
$this->LocalEcho=$le;
$this->Verbose=$verb;
$this->_lastaction=NULL;
$this->_error_array=array();
Method _page_rows
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _page_rows( &$children_pages, &$count, $parent, $level, $pagenum, $per_page ) {
if ( ! isset( $children_pages[$parent] ) )
return;
Method media_handle_sideload
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function media_handle_sideload($file_array, $post_id, $desc = null, $post_data = array()) {
$overrides = array('test_form'=>false);
$file = wp_handle_sideload($file_array, $overrides);
if ( isset($file['error']) )
Method image_size_input_fields
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function image_size_input_fields( $post, $check = '' ) {
// get a list of the actual pixel dimensions of each possible intermediate version of this image
$size_names = array('thumbnail' => __('Thumbnail'), 'medium' => __('Medium'), 'large' => __('Large'), 'full' => __('Full size'));
Method get_inline_data
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_inline_data($post) {
if ( ! current_user_can('edit_' . $post->post_type, $post->ID) )
return;