Showing 81 of 182 total issues
Avoid deeply nested control flow statements. Open
Open
if (Math.sign((index.comparator())(currentKey, lastKey)) === Math.sign(primarySortDirection))
return null;
Function update
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
update: function(groupValue, newItemValue, oldItemValue, itemIndex, itemCount, item) {
Consider simplifying this complex logical expression. Open
Open
if (this.option("auto_update") && (!this.isNew() || (!this.__disableSaveOnChange && this.__saveOnChange && (!this.__saveOnChangeWeak || !!value))))
this.save();
Function constructor
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
constructor: function(model, foreign_table, foreign_key, foreign_type_key, options) {
Function routeredRestInvoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
routeredRestInvoke: function (member, uriData, post, get, ctx) {
Function compileIndexedQuery
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
compileIndexedQuery: function(constrainedQuery, constrainedQueryCapabilities, constrainedQueryFunction, constrainedQueryContext, indices) {
Function _remoteUpdate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_remoteUpdate: function (row, data, ctx, pre_data, transaction_id) {
Function _toData
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_toData: function (member, uriData, post, get, ctx) {
Function _toContext
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_toContext: function (member, uriData, post, get, ctx) {
Function insert
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
"insert": function (member, uriData, post, get, ctx) {
Function get
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
"get": function (member, uriData, post, get, ctx) {
Function toContext
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
toContext: function (member, uriData, post, get, ctx) {
Function restInvoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
restInvoke: function (method, uri, post, get, ctx) {}
Function _updated
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_updated: function (row, data, ctx, pre_data, transaction_id) {
Function remove
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
"remove": function (member, uriData, post, get, ctx) {
Function query
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
"query": function (member, uriData, post, get, ctx) {
Function restInvoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
restInvoke: function (method, uri, post, get, ctx) {
Function _undecodedUpdated
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_undecodedUpdated: function (id, updatedData, ctx, row, transaction_id) {
Function routeredRestInvoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
routeredRestInvoke: function (member, uriData, post, get, ctx) {}
Function _updated
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_updated: function (row, data, ctx, pre_data, transaction_id) {