Showing 5,566 of 7,504 total issues
Function compile
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
compile: function (tElement, tAttrs, $transclude) {
return function (scope, $element, attrs) {
var previousEl, currentEl, currentScope, latestLocals,
onloadExp = attrs.onload || '',
autoScrollExp = attrs.autoscroll,
Function _transform
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _transform(err, img){
// img -- info object
var
images = {}
, queue = api.queue(function (err){
Function ContextTagKeys
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ContextTagKeys() {
this.applicationVersion = "ai.application.ver";
this.applicationBuild = "ai.application.build";
this.applicationTypeId = "ai.application.typeId";
this.deviceId = "ai.device.id";
Function Finger
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Finger = function(elem, options) {
// default options
this.config = {
start: 0,
Function edInsertTag
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
t.edInsertTag = function(i) {
//IE support
if ( document.selection ) {
t.Canvas.focus();
sel = document.selection.createRange();
Function Finger
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Finger = function(elem, options) {
// default options
this.config = {
start: 0,
Method upgrade_130
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function upgrade_130() {
global $wpdb;
// Remove extraneous backslashes.
$posts = $wpdb->get_results("SELECT ID, post_title, post_content, post_excerpt, guid, post_date, post_name, post_status, post_author FROM $wpdb->posts");
Method iis7_add_rewrite_rule
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function iis7_add_rewrite_rule($filename, $rewrite_rule) {
if ( ! class_exists('DOMDocument') )
return false;
// If configuration file does not exist then we create one.
Method step_2
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function step_2() {
check_admin_referer('custom-header');
$overrides = array('test_form' => false);
$file = wp_handle_upload($_FILES['import'], $overrides);
Method wp_admin_bar_edit_menu
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_admin_bar_edit_menu( $wp_admin_bar ) {
global $tag, $wp_the_query;
if ( is_admin() ) {
$current_screen = get_current_screen();
Method get_contributors
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_contributors()
{
$contributors = array();
foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'contributor') as $contributor)
{
Method get_contributors
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function get_contributors()
{
$contributors = array();
foreach ((array) $this->get_source_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'contributor') as $contributor)
{
Method get_the_category_list
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_the_category_list( $separator = '', $parents='', $post_id = false ) {
global $wp_rewrite;
$categories = get_the_category( $post_id );
if ( empty( $categories ) )
return apply_filters( 'the_category', __( 'Uncategorized' ), $separator, $parents );
Method wp_list_categories
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function wp_list_categories( $args = '' ) {
$defaults = array(
'show_option_all' => '', 'orderby' => 'name',
'order' => 'ASC', 'show_last_update' => 0,
'style' => 'list', 'show_count' => 0,
Method setup_widget_addition_previews
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function setup_widget_addition_previews() {
$is_customize_preview = false;
if ( ! empty( $this->manager ) && ! is_admin() && 'on' === $this->get_post_value( 'wp_customize' ) ) {
$is_customize_preview = check_ajax_referer( 'preview-customize_' . $this->manager->get_stylesheet(), 'nonce', false );
Method get_contributors
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_contributors()
{
$contributors = array();
foreach ((array) $this->get_channel_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'contributor') as $contributor)
{
Method get_contributors
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_contributors()
{
$contributors = array();
foreach ((array) $this->get_source_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'contributor') as $contributor)
{
Method get_type
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_type()
{
if (isset($this->file->headers['content-type']))
{
if (!isset($this->file->headers['content-encoding'])
Method get_contributors
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function get_contributors()
{
$contributors = array();
foreach ((array) $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'contributor') as $contributor)
{
Method call
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function call($methodname, $args) {
// Make sure it's in an array
if ($args && !is_array($args)) {
$args = array($args);
}