deepsourcestatus / test-repository

Getters and setters with a single statement in their bodies can be simplified

CS-R1095
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
2

Useless template literal found

JS-R1004
Anti-pattern
Minor
8 months ago 8 months old
Seen in 4 files
4

Consider collapsing the null check

CS-R1040
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Consider using the constants from the Math class

CS-R1071
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Found explicit type declarations

JS-0331
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Use shorthand promise methods

JS-C1004
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

Use Guid.Empty to create an empty GUID

CS-R1007
Anti-pattern
Critical
8 months ago 8 months old
Seen in 1 file
1

Consider using the null-coalescing operator to simplify the null check

CS-R1024
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Explicit mention of array type and/or size is redundant when array is initialized

CS-R1045
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Consider rewriting null checks and casts using pattern matching

CS-R1056
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Deprecated way of initializing OpenSSL::Cipher and OpenSSL::Digest

RB-LI1083
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

null is being assigned to an entity that is non-nullable

CS-W1028
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Prefer boolean attributes notation in JSX

JS-0400
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

Prefer function as component's data property

JS-0614
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

Top level return with argument detected

RB-LI1088
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

Empty block of code found

PHP-W1085
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Use string.IsNullOrEmpty or string.IsNullOrWhiteSpace to check for empty strings

CS-R1014
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Consider simplifying the element access

CS-R1019
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Redundant else-clause detected

RB-ST1039
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

null check is redundant when used in combination with is

CS-R1043
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Consider simplifying LINQ query by dropping explicit .Where() call

CS-R1046
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Consider rewriting Nullable<T> as T?

CS-R1047
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Dead code found after return

PHP-W1074
Anti-pattern
Major
8 months ago 8 months old
Seen in 1 file
1

Unused private class property found

PHP-W1075
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
1

Inconsistent font-display for Google Fonts

JS-W1009
Anti-pattern
Minor
8 months ago 8 months old
Seen in 1 file
2