Showing 5,566 of 7,504 total issues
Method strip_tag
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function strip_tag($tag, $document, $type)
{
$xpath = new DOMXPath($document);
$elements = $xpath->query('body//' . $tag);
if ($this->encode_instead_of_strip)
Method QuicktimeIODSvideoProfileName
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function QuicktimeIODSvideoProfileName($video_profile_id) {
static $QuicktimeIODSvideoProfileNameLookup = array();
if (empty($QuicktimeIODSvideoProfileNameLookup)) {
$QuicktimeIODSvideoProfileNameLookup = array(
0x00 => 'Reserved (0x00) Profile',
Method get_links
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_links($rel = 'alternate')
{
if (!isset($this->data['links']))
{
$this->data['links'] = array();
Method get_links
has 68 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_links($rel = 'alternate')
{
if (!isset($this->data['links']))
{
$this->data['links'] = array();
File ScheduleBuilder.cs
has 279 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using Edument.CQRS;
using MBACNationals.ReadModels;
using MBACNationals.Scores.Commands;
using System;
using System.Collections.Generic;
File revision.php
has 279 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* Post revision functions.
*
* @package WordPress
File ContingentTravelPlanQueries.cs
has 279 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using Edument.CQRS;
using Events.Contingent;
using Events.Tournament;
using System;
using System.Collections.Generic;
Function _parseData
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_parseData : function( callback ) {
var self = this,
current,
ready = false,
Function extractImageData
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function extractImageData( imageNode ) {
var classes, extraClasses, metadata, captionBlock, caption, link, width, height,
dom = editor.dom,
isIntRegExp = /^\d+$/;
Function _parseData
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_parseData : function( callback ) {
var self = this,
current,
ready = false,
Method wp_dashboard_setup
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_dashboard_setup() {
global $wp_registered_widgets, $wp_registered_widget_controls, $wp_dashboard_control_callbacks;
$wp_dashboard_control_callbacks = array();
$update = false;
Method dispatch
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function dispatch()
{
if (empty ($_GET['step']))
$step = 0;
Method wp_mime_type_icon
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_mime_type_icon( $mime = 0 ) {
if ( !is_numeric($mime) )
$icon = wp_cache_get("mime_type_icon_$mime");
if ( empty($icon) ) {
$post_id = 0;
Method get_links
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_links($rel = 'alternate')
{
if (!isset($this->data['links']))
{
$this->data['links'] = array();
Method feed_or_html
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function feed_or_html()
{
$len = strlen($this->file->body);
$pos = strspn($this->file->body, "\x09\x0A\x0D\x20");
Method get_links
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_links($rel = 'alternate')
{
if (!isset($this->data['links']))
{
$this->data['links'] = array();
Method feed_or_html
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function feed_or_html()
{
$len = strlen($this->file->body);
$pos = strspn($this->file->body, "\x09\x0A\x0D\x20");
Method get_links
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_links($rel = 'alternate')
{
if (!isset($this->data['links']))
{
$this->data['links'] = array();
Method absolutize
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function absolutize($base, $relative)
{
$relative = (string) $relative;
if ($relative !== '')
{
Method force_balance_tags
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function force_balance_tags( $text ) {
$tagstack = array(); $stacksize = 0; $tagqueue = ''; $newtext = '';
$single_tags = array('br', 'hr', 'img', 'input'); //Known single-entity/self-closing tags
$nestable_tags = array('blockquote', 'div', 'span'); //Tags that can be immediately nested within themselves