Showing 428 of 1,426 total issues
Function send
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
send: function( headers, complete ) {
var i,
xhr = options.xhr();
xhr.open(
Function _fnSetObjectDataFn
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnSetObjectDataFn( mSource )
{
if ( $.isPlainObject( mSource ) )
{
/* Unlike get, only the underscore (global) option is used for for
Function initTable
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
BootstrapTable.prototype.initTable = function () {
var that = this,
columns = [],
data = [];
Function Alert
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function () {
function Alert(element) {
this._element = element;
} // Getters
Consider simplifying this complex logical expression. Open
Open
if (column.checkbox || column.radio) {
type = column.checkbox ? 'checkbox' : type;
type = column.radio ? 'radio' : type;
text = [sprintf(that.options.cardView ?
Function show
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_proto.show = function show() {
var _this = this;
if ($$$1(this.element).css('display') === 'none') {
throw new Error('Please use show on visible elements');
Method execute
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function execute(InputInterface $input, OutputInterface $output): void
{
$firstId = $input->getOption('first-id');
if (null !== $firstId) {
$firstId = (int) $firstId;
Function _fnGetRowElements
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnGetRowElements( settings, row, colIdx, d )
{
var
tds = [],
td = row.firstChild,
Function matcherFromGroupMatchers
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
var bySet = setMatchers.length > 0,
byElement = elementMatchers.length > 0,
superMatcher = function( seed, context, xml, results, outermost ) {
var elem, j, matcher,
Function add
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function( elem, types, handler, data, selector ) {
var handleObjIn, eventHandle, tmp,
events, t, handleObj,
special, handlers, type, namespaces, origType,
Function _fnAjaxParameters
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnAjaxParameters( settings )
{
var
columns = settings.aoColumns,
columnCount = columns.length,
File QuestionFormType.php
has 286 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php declare(strict_types=1);
namespace VSV\GVQ_API\Question\Forms;
use Ramsey\Uuid\UuidFactoryInterface;
Function _fnSort
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _fnSort ( oSettings )
{
var
i, ien, iLen, j, jLen, k, kLen,
sDataType, nTh,
Function attach
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var attach = function( container, buttons ) {
var i, ien, node, button;
var clickHandler = function ( e ) {
e.preventDefault();
if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
AccountViewController
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class AccountViewController extends AbstractController
{
/**
* @var RegistrationFormType
*/
Function resolve
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function resolve( depth, deferred, handler, special ) {
return function() {
var that = this,
args = arguments,
mightThrow = function() {
Function initSort
has 69 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
BootstrapTable.prototype.initSort = function () {
var that = this,
name = this.options.sortName,
order = this.options.sortOrder === 'desc' ? -1 : 1,
index = $.inArray(this.options.sortName, this.header.fields),
Function done
has 67 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function done( status, nativeStatusText, responses, headers ) {
var isSuccess, success, error, response, modified,
statusText = nativeStatusText;
// Ignore repeat invocations
Consider simplifying this complex logical expression. Open
Open
if ( forward && useCache ) {
// Seek `elem` from a previously-cached index
// ...in a gzip-friendly way
Function setMatcher
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
if ( postFilter && !postFilter[ expando ] ) {
postFilter = setMatcher( postFilter );
}
if ( postFinder && !postFinder[ expando ] ) {