Showing 5,566 of 7,504 total issues
Method WrapText
has 63 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function WrapText($message, $length, $qp_mode = false) {
$soft_break = ($qp_mode) ? sprintf(" =%s", $this->LE) : $this->LE;
// If utf-8 encoding is used, we will need to make sure we don't
// split multibyte characters when we wrap
$is_utf8 = (strtolower($this->CharSet) == "utf-8");
File class-wp-ms-themes-list-table.php
has 271 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* MS Themes List Table class.
*
* @package WordPress
Base
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
Autocompleter.Base = Class.create({
baseInitialize: function(element, update, options) {
element = $(element)
this.element = element;
this.update = $(update);
Textpattern_Import
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Textpattern_Import {
function header()
{
echo '<div class="wrap">';
Dotclear_Import
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Dotclear_Import {
function header()
{
echo '<div class="wrap">';
SimplePie_Source
has 23 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class SimplePie_Source
{
var $item;
var $data = array();
protected $registry;
Function add
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function( id, options ) {
var workflow = this.get( id );
// only add once: if exists return existing
if ( workflow ) {
Function showDialog
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function showDialog() {
var gridHtml, x, y, win;
function getParentTd(elm) {
while (elm) {
Function getHtml
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getHtml: function() {
var data = this.shortcode.attrs.named,
model = wp.media.playlist,
options,
attachments,
Method _wp_get_comment_list
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _wp_get_comment_list( $status = '', $s = false, $start, $num, $post = 0, $type = '' ) {
global $wpdb;
$start = abs( (int) $start );
$num = (int) $num;
Method step1
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function step1() {
global $verified;
set_time_limit( 0 );
update_option( 'ljapi_step', 1 );
if ( !$this->ixr ) $this->ixr = new IXR_Client( $this->ixr_url, false, 80, 30 );
Method _prepare_post
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function _prepare_post( $post, $fields ) {
// holds the data for this post. built up based on $fields
$_post = array( 'post_id' => strval( $post['ID'] ) );
// prepare common post fields
Method getHashdata
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getHashdata($algorithm) {
switch ($algorithm) {
case 'md5':
case 'sha1':
break;
Method FreeFormatFrameLength
has 62 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function FreeFormatFrameLength($offset, $deepscan=false) {
$info = &$this->getid3->info;
fseek($this->getid3->fp, $offset, SEEK_SET);
$MPEGaudioData = fread($this->getid3->fp, 32768);
Function $httpBackend
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $httpBackend(method, url, data, callback, headers, timeout, withCredentials) {
var xhr = new MockXhr(),
expectation = expectations[0],
wasExpected = false;
Function Tracker
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Tracker = function()/*{{{*/
{
var onMove = function() { },
onDone = function() { },
trackDoc = options.trackDocument;
Function setAreaCoords
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},setAreaCoords:function(_1d,_1e,_1f,_20,_21){
var _22=typeof _1e!="undefined"?_1e:false;
var _23=typeof _1f!="undefined"?_1f:false;
if(_1e){
var _24=_1d.x2-_1d.x1;
Method upgrade_160
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function upgrade_160() {
global $wpdb, $wp_current_db_version;
populate_roles_160();
Method _data_prepare
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _data_prepare($mode=FTP_ASCII) {
if(!$this->_settype($mode)) return FALSE;
$this->SendMSG("Creating data socket");
$this->_ftp_data_sock = @socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
if ($this->_ftp_data_sock < 0) {
Method get_admin_page_title
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_admin_page_title() {
global $title;
global $menu;
global $submenu;
global $pagenow;