Showing 3,141 of 4,341 total issues
Function S2
has 4930 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var S2 =(function () {
// Restore the Select2 AMD loader so it can be used
// Needed mostly in the language files, where the loader is not inserted
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) {
var S2 = jQuery.fn.select2.amd;
Function S2
has 4825 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(function () {
// Restore the Select2 AMD loader so it can be used
// Needed mostly in the language files, where the loader is not inserted
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) {
var S2 = jQuery.fn.select2.amd;
Function S2
has 4420 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var S2 =(function () {
// Restore the Select2 AMD loader so it can be used
// Needed mostly in the language files, where the loader is not inserted
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) {
var S2 = jQuery.fn.select2.amd;
Function S2
has 4315 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(function () {
// Restore the Select2 AMD loader so it can be used
// Needed mostly in the language files, where the loader is not inserted
if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) {
var S2 = jQuery.fn.select2.amd;
File selectWoo.full.js
has 4957 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* SelectWoo 1.0.6
* https://github.com/woocommerce/selectWoo
*
* Released under the MIT license
File select2.full.js
has 4841 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* Select2 4.0.3
* https://select2.github.io
*
* Released under the MIT license
Function PhotoSwipe
has 2598 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var PhotoSwipe = function(template, UiClass, items, options){
/*>>framework-bridge*/
/**
*
File selectWoo.js
has 4447 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* SelectWoo 1.0.6
* https://github.com/woocommerce/selectWoo
*
* Released under the MIT license
File select2.js
has 4331 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
* Select2 4.0.3
* https://select2.github.io
*
* Released under the MIT license
Function Plot
has 1905 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Plot(placeholder, data_, options_, plugins) {
// data is on the form:
// [ series1, series2 ... ]
// where series is either just the data as [ [x1, y1], [x2, y2], ... ]
// or { data: [ [x1, y1], [x2, y2], ... ], label: "some label", ... }
File photoswipe.js
has 2611 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*! PhotoSwipe - v4.1.3 - 2019-01-08
* http://photoswipe.com
* Copyright (c) 2019 Dmitry Semenov; */
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
File wc-template-functions.php
has 2201 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* WooCommerce Template
*
* Functions for the templating system.
File jquery.flot.js
has 2148 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Javascript plotting library for jQuery, version 0.8.1.
Copyright (c) 2007-2013 IOLA and Ole Laursen.
Licensed under the MIT license.
File class-wc-api-products.php
has 2018 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* WooCommerce API Products Class
*
* Handles requests to the /products endpoint
File class-wc-rest-products-v1-controller.php
has 1966 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* REST API Products controller
*
* Handles requests to the /products endpoint.
File class-wc-ajax.php
has 1943 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* WooCommerce WC_AJAX. AJAX Event Handlers.
*
* @class WC_AJAX
File class-wc-rest-products-v2-controller.php
has 1797 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* REST API Products controller
*
* Handles requests to the /products endpoint.
File states.php
has 1796 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* States
*
* Returns an array of country states. This deprecates and replaces the /states/ directory found in older versions.
File class-wc-admin-setup-wizard.php
has 1682 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* Setup Wizard Class
*
* Takes new users through some basic steps to setup their store.
Function flexslider
has 891 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.flexslider = function(el, options) {
var slider = $(el);
// making variables public