manunited-abc / 2022_SangT5_Nhom8

Methods must not be empty

JAVA-W1004
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
2

Invalid variable usage

JS-0043
Anti-pattern
Critical
a year ago a year old
Seen in 1 file
22

Either all code paths should have explicit returns, or none of them

JS-0045
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Avoid use of == and !=

JS-0050
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
14

Detected the use of alert, confirm and prompt

JS-0052
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Found empty functions

JS-0057
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Assignment operators should not be used in return statements

JS-0086
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Usage of comma operators should be avoided

JS-0090
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
8

Prefer var declarations be placed at the top of their scope

JS-0102
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
32

Initialization in variable declarations against recommended approach

JS-0119
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Consider using let or const instead of var

JS-0239
Anti-pattern
Major
a year ago a year old
Seen in 5 files
81

Use shorthand property syntax for object literals

JS-0240
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
2

Consider using arrow functions for callbacks

JS-0241
Anti-pattern
Minor
a year ago a year old
Seen in 3 files
25

Use const declarations for variables that are never reassigned

JS-0242
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
1

Require template literals instead of string concatenation

JS-0246
Anti-pattern
Minor
a year ago a year old
Seen in 2 files
18

Found single char variable name

JS-C1002
Anti-pattern
Minor
a year ago a year old
Seen in 1 file
10