Showing 4,841 of 7,782 total issues
Function CHILD
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
"CHILD": function( type, what, _argument, first, last ) {
Function superMatcher
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
superMatcher = function( seed, context, xml, results, outermost ) {
Function _bc_simp_mul
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
libbcmath._bc_simp_mul = function(a, b, c, d, e) {
Function memcpy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
memcpy: function(a, b, c, d, e) {
Function condense
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
function condense( unmatched, map, filter, context, xml ) {
Function add
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
add: function( elem, types, handler, data, selector ) {
Function setWeekAll
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
function setWeekAll(weekYear, week, weekday, dow, doy) {
Function getSetWeekYearHelper
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
function getSetWeekYearHelper(input, week, weekday, dow, doy) {
Function substituteTimeAgo
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {
Function createLocalOrUTC
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
function createLocalOrUTC(input, format, locale, strict, isUTC) {
Function dayOfYearFromWeeks
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
Function on
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
on(type: string, selector: string | undefined, data, fn: CallableFunction, ...rest: unknown[]): JQuery {
Function off
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
off: function (this: JQuery, type: string, selector: unknown, fn: unknown, ...rest: unknown[]) {
Function zkdt
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export function zkdt(dtid?: string, contextURI?: string, updateURI?: string, resourceURI?: string, reqURI?: string): zk.Desktop {
Function isOverlapped
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
isOverlapped(ofs1: zk.Offset, dim1: zk.Offset, ofs2: zk.Offset, dim2: zk.Offset, tolerant?: number): boolean {
Function easing
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
function easing(x: number, t: number, b: number, c: number, d: number): number {
Function loadScript
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export function loadScript(src: string, name?: string, charset?: string, force?: boolean, callback?: CallableFunction): void { // FIXME: return ZKCoreUtilityStatic;
Method init
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
private void init(String name, byte[] data) throws IOException {
if (data == null)
throw new IllegalArgumentException("null data");
_name = name;
_data = data;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method setDynamicProperty
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
public void setDynamicProperty(String name, Object value) throws WrongValueException {
if (name == null)
throw new WrongValueException("name is required");
if (!hasDynamicProperty(name))
throw new WrongValueException("Attribute not allowed: " + name
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method equals
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
public boolean equals(Object o) {
if (this == o) return true;
if (!(o instanceof StyleSheet))
return false;
final StyleSheet ss = (StyleSheet)o;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"