Showing 5,566 of 7,504 total issues
Function Param
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.Param = function Param(id, type, config, location) {
var self = this;
config = unwrapShorthand(config);
type = getType(config, type, location);
var arrayMode = getArrayMode();
Function setOptions
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setOptions(newOptions) {
if (newOptions.parent)
($parent = $(newOptions.parent)).append($box.add($outer));
options = $.extend(options, newOptions);
Function moveMenuItem
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
moveMenuItem : function( $this, dir ) {
var items, newItemPosition, newDepth,
menuItems = $( '#menu-to-edit li' ),
menuItemsCount = menuItems.length,
Function createMenuButtons
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createMenuButtons() {
var name, menuButtons = [];
function createMenuItem(name) {
var menuItem;
Method posts2wp
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function posts2wp($posts='')
{
// General Housekeeping
global $wpdb;
$count = 0;
Method print_plugins_table
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function print_plugins_table($plugins, $context = '') {
global $page;
?>
<table class="widefat" cellspacing="0" id="<?php echo $context ?>-plugins-table">
<thead>
Method get_authors
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_authors()
{
$authors = array();
foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'author') as $author)
{
Method diff
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function diff($from_lines, $to_lines)
{
array_walk($from_lines, array('Text_Diff', 'trimNewlines'));
array_walk($to_lines, array('Text_Diff', 'trimNewlines'));
Method wp_generate_tag_cloud
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_generate_tag_cloud( $tags, $args = '' ) {
global $wp_rewrite;
$defaults = array(
'smallest' => 8, 'largest' => 22, 'unit' => 'pt', 'number' => 0,
'format' => 'flat', 'separator' => "\n", 'orderby' => 'name', 'order' => 'ASC',
Method get_authors
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_authors()
{
$authors = array();
foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'author') as $author)
{
File Parser.php
has 294 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* SimplePie
*
* A PHP-Based RSS and Atom Feed Framework.
Function _send
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_send: function (options, formData){
if(
formData.nodeName
|| formData.append && api.support.html5
|| api.isArray(formData) && (typeof formData[0] === 'string')
Function $get
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $get( $location, $rootScope, $injector, $browser) {
var baseHref = $browser.baseHref(), location = $location.url(), lastPushedUrl;
function appendBasePath(url, isHtml5, absolute) {
Function show
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show : function( index, rewind, _history ) {
var swipe = this._options.swipe;
// do nothing queue is long || index is false || queue is false and transition is in progress
Function scheduleController
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var scheduleController = function ($scope, $http, $filter, dataService) {
$scope.model = {};
$scope.schedule = {};
$scope.loadLaneDraw = loadLaneDraw;
Function show
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show : function( index, rewind, _history ) {
var swipe = this._options.swipe;
// do nothing queue is long || index is false || queue is false and transition is in progress
Method single_row
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function single_row( $user_object, $style = '', $role = '', $numposts = 0 ) {
global $wp_roles;
if ( !( is_object( $user_object ) && is_a( $user_object, 'WP_User' ) ) )
$user_object = get_userdata( (int) $user_object );
Method get_column_headers
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_column_headers($page) {
global $_wp_column_headers;
if ( !isset($_wp_column_headers) )
$_wp_column_headers = array();
Method favorite_actions
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function favorite_actions( $screen = null ) {
switch ( $screen ) {
case 'post-new.php':
$default_action = array('edit.php' => array(__('Edit Posts'), 'edit_posts'));
break;
Method link_cat_row
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function link_cat_row( $category, $name_override = false ) {
static $row_class = '';
if ( !$category = get_term( $category, 'link_category', OBJECT, 'display' ) )
return false;