Showing 5,566 of 7,504 total issues
Method get_posts
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_posts() {
global $wpdb;
set_magic_quotes_runtime(0);
$datalines = file($this->file); // Read the file into an array
Method users2wp
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function users2wp($users='')
{
// General Housekeeping
global $wpdb;
$count = 0;
Method ParseDIVXTAG
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function ParseDIVXTAG($DIVXTAG, $raw=false) {
// structure from "IDivX" source, Form1.frm, by "Greg Frazier of Daemonic Software Group", email: gfrazier@icestorm.net, web: http://dsg.cjb.net/
// source available at http://files.divx-digest.com/download/c663efe7ef8ad2e90bf4af4d3ea6188a/on0SWN2r/edit/IDivX.zip
// 'Byte Layout: '1111111111111111
// '32 for Movie - 1 '1111111111111111
Method tag_open
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tag_open($parser, $tag, $attributes)
{
list($this->namespace[], $this->element[]) = $this->split_ns($tag);
$attribs = array();
Method replace_invalid_with_pct_encoding
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function replace_invalid_with_pct_encoding($string, $valid_chars, $case = SIMPLEPIE_SAME_CASE)
{
// Normalise case
if ($case & SIMPLEPIE_LOWERCASE)
{
Method url_to_postid
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function url_to_postid($url) {
global $wp_rewrite;
$url = apply_filters('url_to_postid', $url);
Function $LogProvider
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
angular.mock.$LogProvider = function() {
var debug = true;
function concat(array1, array2, index) {
return array1.concat(Array.prototype.slice.call(array2, index));
Function query
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
query: function( request ) {
/**
* @static
* @type Array
*/
Function attachTabsPanelListeners
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
attachTabsPanelListeners : function() {
$('#menu-settings-column').bind('click', function(e) {
var selectAreaMatch, panelId, wrapper, items,
target = $(e.target);
Function start
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function(name, attrs, empty) {
switch (name) {
case "video":
case "object":
case "embed":
Function updateStyle
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
updateStyle : function() {
var dom = tinyMCEPopup.dom, st, v, cls, oldcls, rep, f = document.forms[0];
if (tinyMCEPopup.editor.settings.inline_styles) {
st = tinyMCEPopup.dom.parseStyle(this.styleVal);
Function onDrag
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},onDrag:function(e){
var _4f=null;
if(this.dragging||this.resizing){
var _50=this.getCurPos(e);
var _51=this.cloneCoords(this.areaCoords);
Method wp_dashboard_plugins_output
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_dashboard_plugins_output() {
$popular = fetch_feed( 'http://wordpress.org/extend/plugins/rss/browse/popular/' );
$new = fetch_feed( 'http://wordpress.org/extend/plugins/rss/browse/new/' );
$updated = fetch_feed( 'http://wordpress.org/extend/plugins/rss/browse/updated/' );
Method single_row
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function single_row( $theme ) {
global $themes_allowedtags;
if ( empty( $theme ) )
return;
Method wp_ajax_add_menu_item
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_ajax_add_menu_item() {
check_ajax_referer( 'add-menu_item', 'menu-settings-column-nonce' );
if ( ! current_user_can( 'edit_theme_options' ) )
wp_die( -1 );
Method recheck_queue
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function recheck_queue() {
global $wpdb;
Akismet::fix_scheduled_recheck();
Method set_authority
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function set_authority($authority)
{
static $cache;
if (!$cache)
$cache = array();
Method wp_notify_moderator
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_notify_moderator($comment_id) {
global $wpdb;
if( get_option( "moderation_notify" ) == 0 )
return true;
Method get_allowed_mime_types
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_allowed_mime_types() {
static $mimes = false;
if ( !$mimes ) {
// Accepted MIME types are set here as PCRE unless provided.
Method start_el
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function start_el(&$output, $category, $depth, $args) {
extract($args);
$cat_name = esc_attr( $category->name);
$cat_name = apply_filters( 'list_cats', $cat_name, $category );