Showing 4,841 of 7,782 total issues
Function humanize
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function humanize(argWithSuffix, argThresholds) {
if (!this.isValid()) {
return this.localeData().invalidDate();
}
Function isDurationValid
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function isDurationValid(m) {
var key,
unitHasDecimal = false,
i,
orderLen = ordering.length;
Function sync
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
sync(): boolean {
var node = this.node, $node = jq(node);
if (!node || !$node.zk.isVisible(true)) {
if (this.opts.stackup && node) {
if (!this.stackup)
Function constructor
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(opts: EffectFullMaskOptions) {
super();
opts = eff._skuOpts(opts);
var mask = this.mask = jq(opts.mask || [], zk)[0];
if (this.mask) {
Function throttle
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static throttle<T, A extends unknown[], R>(func: (this: T, ...args: A) => R, wait: number):
(this: T, ...args: A) => R {
var timeout: number | undefined, context, args, result,
previous = 0,
later = function (): void {
Function ensureSingleTsdoc
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ensureSingleTsdoc(node: PropertyNameNonComputedNode, commentNode: TSESTree.Node | TSESTree.Token): TextRange | undefined {
const comments = sourceCode.getCommentsBefore(commentNode);
const tsdocs = new Array<TextRange>();
const tsdocLocs = new Array<string>();
for (const comment of comments) {
Method parse0
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
parse0(Map map, String src, char pairSeparator, char separator, char quote, boolean asValue,
boolean parenthesis, boolean multiple)
Consider simplifying this complex logical expression. Open
Open
if (!(newVal instanceof Element) && !(newVal instanceof Text)
&& !(newVal instanceof CData) && !(newVal instanceof Comment)
&& !(newVal instanceof EntityReference) && !(newVal instanceof Binary)
&& !(newVal instanceof ProcessingInstruction))
throw new DOMException(HIERARCHY_REQUEST_ERR, "Invalid type", getLocator());
Consider simplifying this complex logical expression. Open
Open
if ((cc < '0' || cc > '9') && (cc < 'a' || cc > 'z') && (cc < 'A' || cc > 'Z') && cc != '_')
return false;
Consider simplifying this complex logical expression. Open
Open
if ((cc < 'a' || cc > 'z') && (cc < 'A' || cc > 'Z') && (cc < '0' || cc > '9') && cc != '_')
throw new UiException("Illegal character, " + cc + ", not allowed in uuid, " + uuid);
Consider simplifying this complex logical expression. Open
Open
if (_recovering || _disabled || page == null || page instanceof VolatilePage || !_exec.isAsyncUpdate(page)
|| _invalidated.contains(comp) || isCUDisabled(comp))
return null; //nothing to do
Method addFormSaveBindings
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void addFormSaveBindings(Component comp, String id, String saveExpr, String[] beforeCmds, String[] afterCmds,
Map<String, Object> bindingArgs, String validatorExpr, Map<String, Object> validatorArgs);
Method addPropertyLoadBindings
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void addPropertyLoadBindings(Component comp, String attr, String loadExpr, String[] beforeCmds,
String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr,
Map<String, Object> converterArgs);
Method newInitPropertyBinding
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected InitPropertyBinding newInitPropertyBinding(Component comp, String attr, String loadAttr,
Class<?> attrType, String initExpr, Map<String, Object> bindingArgs, String converterExpr,
Map<String, Object> converterArgs) {
Method addFormSaveBindings
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void addFormSaveBindings(Component comp, String id, String saveExpr, String[] beforeCmds, String[] afterCmds,
Map<String, Object> bindingArgs, String validatorExpr, Map<String, Object> validatorArgs) {
Method addFormSaveBindings0
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private void addFormSaveBindings0(Component comp, String formId, String saveExpr, String[] beforeCmds,
String[] afterCmds, Map<String, Object> bindingArgs, String validatorExpr,
Map<String, Object> validatorArgs) {
Method addPropertyLoadBindings0
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private void addPropertyLoadBindings0(Component comp, String attr, String loadExpr, String[] beforeCmds,
String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr,
Map<String, Object> converterArgs) {
Method addPropertyLoadBindings
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void addPropertyLoadBindings(Component comp, String attr, String loadExpr, String[] beforeCmds,
String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr,
Map<String, Object> converterArgs) {
Method newSaveFormBinding
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
protected SaveFormBinding newSaveFormBinding(Component comp, String formId, String saveExpr,
ConditionType conditionType, String command, Map<String, Object> bindingArgs, String validatorExpr,
Map<String, Object> validatorArgs) {
Method get
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Media[] get(Map<String, Object> params, String message, String title, String accept, int max,
int maxsize, boolean alwaysNative, EventListener<UploadEvent> listener) {