Showing 5,566 of 7,504 total issues
Method wp_read_image_metadata
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_read_image_metadata( $file ) {
if ( !file_exists( $file ) )
return false;
list(,,$sourceImageType) = getimagesize( $file );
Method initialise_blog_option_info
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initialise_blog_option_info( ) {
global $wp_version;
$this->blog_options = array(
// Read only options
Method mw_newMediaObject
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mw_newMediaObject($args) {
global $wpdb;
$blog_ID = (int) $args[0];
$username = $wpdb->escape($args[1]);
Method wp_editTerm
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_editTerm( $args ) {
if ( ! $this->minimum_args( $args, 5 ) )
return $this->error;
$this->escape( $args );
Method readData
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function readData() {
$this->skipBits(8);
$this->skipBits(8);
$profile = $this->getBits(8); // read profile
$this->skipBits(16);
Method get_categories
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_categories()
{
$categories = array();
foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
Method get_categories
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_categories()
{
$categories = array();
foreach ((array) $this->get_source_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
Method wp_version_check
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_version_check() {
if ( defined('WP_INSTALLING') )
return;
global $wp_version, $wpdb, $wp_local_package;
Method wp_update_plugins
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_update_plugins() {
global $wp_version;
if ( defined('WP_INSTALLING') )
return false;
Method wp_widget_rss_form
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_widget_rss_form( $args, $inputs = null ) {
$default_inputs = array( 'url' => true, 'title' => true, 'items' => true, 'show_summary' => true, 'show_author' => true, 'show_date' => true );
$inputs = wp_parse_args( $inputs, $default_inputs );
extract( $args );
Method get_categories
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_categories()
{
$categories = array();
foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
Method get_categories
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_categories()
{
$categories = array();
foreach ((array) $this->get_source_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
Method get_categories
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_categories()
{
$categories = array();
foreach ((array) $this->get_channel_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'category') as $category)
Method Manage
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult Manage(LocalPasswordModel model)
{
bool hasLocalAccount = OAuthWebSecurity.HasLocalAccount(WebSecurity.GetUserId(User.Identity.Name));
Function onreadystatechange
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
xhr.onreadystatechange = function (){
var lkb = parseInt(xhr.getResponseHeader('X-Last-Known-Byte'), 10);
_this.status = xhr.status;
_this.statusText = xhr.statusText;
Function complete
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
complete: function( next ) {
// toggle low quality for IE
if ( 'image' in active ) {
Utils.toggleQuality( active.image, false );
Function Methods
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Event.Methods = (function() {
var isButton;
if (Prototype.Browser.IE) {
var buttonMap = { 0: 1, 1: 4, 2: 2 };
Function ajaxAdd
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
ajaxAdd: function( e, s ) {
e = $(e);
s = s || {};
var list = this, cls = wpList.parseClass(e,'add'), es, valid, formData;
s = wpList.pre.call( list, e, s, 'add' );
Function KeyManager
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var KeyManager = function()/*{{{*/
{
var $keymgr = $('<input type="radio" />')
.css({ position: 'absolute', left: '-30px' })
.keypress(parseKey)
Function Methods
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Event.Methods = (function() {
var isButton;
if (Prototype.Browser.IE) {
var buttonMap = { 0: 1, 1: 4, 2: 2 };