Showing 5,566 of 7,504 total issues
Method wp_fullscreen_html
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function wp_fullscreen_html() {
global $content_width;
$post = get_post();
$width = isset( $content_width ) && 800 > $content_width ? $content_width : 800;
File user-edit.php
has 278 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* Edit user administration panel.
*
* @package WordPress
Consider simplifying this complex logical expression. Open
Open
if ((window.XMLHttpRequest && !window.FormData) || (window.FileAPI && FileAPI.forceLoad)) {
var initializeUploadListener = function(xhr) {
if (!xhr.__listeners) {
if (!xhr.upload) xhr.upload = {};
xhr.__listeners = [];
Consider simplifying this complex logical expression. Open
Open
if ((window.XMLHttpRequest && !window.FormData) || (window.FileAPI && FileAPI.forceLoad)) {
var initializeUploadListener = function(xhr) {
if (!xhr.__listeners) {
if (!xhr.upload) xhr.upload = {};
xhr.__listeners = [];
InPlaceEditor
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
Ajax.InPlaceEditor = Class.create({
initialize: function(element, url, options) {
this.url = url;
this.element = element = $(element);
this.prepareOptions();
WP_Screen
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
final class WP_Screen {
/**
* Any action associated with the screen. 'add' for *-add.php and *-new.php screens. Empty otherwise.
*
* @since 3.3.0
SimplePie_IRI
has 24 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SimplePie_IRI
{
/**
* Scheme
*
Class ContingentController
has 24 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class ContingentController : Controller
{
public ActionResult Index()
{
return View();
File native.php
has 277 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* $Horde: framework/Text_Diff/Diff/Engine/native.php,v 1.10 2008/01/04 10:27:53 jan Exp $
*
* Class used internally by Text_Diff to actually compute the diffs. This
Function _getFormData
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_getFormData: function (options, data, fn){
var
file = data.file
, name = data.name
, filename = file.name
Function ngfFixIE
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FileAPI.ngfFixIE = function(elem, createFileElemFn, bindAttr, changeFn, resetModel) {
if (!hasFlash()) {
throw 'Adode Flash Player need to be installed. To check ahead use "FileAPI.hasFlash"';
}
var makeFlashInput = function(evt) {
Function ngfFixIE
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FileAPI.ngfFixIE = function(elem, createFileElemFn, bindAttr, changeFn, resetModel) {
if (!hasFlash()) {
throw 'Adode Flash Player need to be installed. To check ahead use "FileAPI.hasFlash"';
}
var makeFlashInput = function(evt) {
Method privFileDescrExpand
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function privFileDescrExpand(&$p_filedescr_list, &$p_options)
{
$v_result=1;
// ----- Create a result list
Method prepare_items
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function prepare_items() {
include( ABSPATH . 'wp-admin/includes/plugin-install.php' );
global $tabs, $tab, $paged, $type, $term;
Method wp_insert_link
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_insert_link( $linkdata, $wp_error = false ) {
global $wpdb, $current_user;
$defaults = array( 'link_id' => 0, 'link_name' => '', 'link_url' => '', 'link_rating' => 0 );
Method wp_getPage
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_getPage($args) {
$this->escape($args);
$blog_id = (int) $args[0];
$page_id = (int) $args[1];
Method call_widget_update
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function call_widget_update( $widget_id ) {
global $wp_registered_widget_updates, $wp_registered_widget_controls;
$this->start_capturing_option_updates();
$parsed_id = $this->parse_widget_id( $widget_id );
Method _diag
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _diag ($xoff, $xlim, $yoff, $ylim, $nchunks)
{
$flip = false;
if ($xlim - $xoff > $ylim - $yoff) {
Method render_content
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function render_content() {
switch( $this->type ) {
case 'text':
?>
<label>
Method wp_link_pages
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_link_pages($args = '') {
$defaults = array(
'before' => '<p>' . __('Pages:'), 'after' => '</p>',
'link_before' => '', 'link_after' => '',
'next_or_number' => 'number', 'nextpagelink' => __('Next page'),