Showing 81 of 182 total issues
Avoid deeply nested control flow statements. Open
Open
if (this instanceof item)
classname = item;
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(database, table_name, id_key, separate_ids, table_options) {
Function remove
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
"remove": 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) {
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 restInvoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
restInvoke: function (method, uri, post, get, ctx) {}
Function routeredRestInvoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
routeredRestInvoke: function (member, uriData, post, get, ctx) {
Function sourceUpdate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
sourceUpdate: function (row, data, dummy_ctx, pre_data, transaction_id) {
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 get
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
"get": function (member, uriData, post, get, ctx) {
Function update
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
update: function(groupValue, newItemValue, oldItemValue, itemIndex, itemCount) {
Function cacheUpdate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
cacheUpdate: function (id, data, options, ctx, transaction_id) {
Function toContext
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
toContext: function (member, uriData, post, get, ctx) {
Function _toData
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_toData: 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 _updated
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_updated: function (row, data, ctx, pre_data, transaction_id) {