SonarOpenCommunity / sonar-cxx

Unused private field detected

JAVA-W1025
Anti-pattern
Major
6 months ago a year old
Seen in 11 files
12

Consider removing the commented out code block

PY-W0069
Anti-pattern
Major
6 months ago 2 years old
Seen in 1 file
1

Method can be declared static

JAVA-W1057
Anti-pattern
Major
6 months ago a year old
Seen in 2 files
3

Static fields of the parent class should not be accessed through child class instances

JAVA-W1030
Anti-pattern
Major
6 months ago 2 years old
Seen in 1 file
2

JUnit5 test classes and methods should be package-private

JAVA-W1058
Anti-pattern
Minor
6 months ago a year old
Seen in 1 file
18

if statements can be merged

PTC-W0048
Anti-pattern
Major
6 months ago a year old
Seen in 1 file
1

Unnecessary None provided as default

PTC-W0039
Anti-pattern
Minor
6 months ago 3 years old
Seen in 2 files
2

Concrete collection type used in method declaration

JAVA-W1065
Anti-pattern
Major
6 months ago a year old
Seen in 1 file
1

Anonymous classes should not contain unused non-overridden methods

JAVA-W1039
Anti-pattern
Major
6 months ago a year old
Seen in 2 files
2

Test files should contain tests

JAVA-W1088
Anti-pattern
Minor
6 months ago a year old
Seen in 2 files
2

@VisibleForTesting/@TestOnly annotated methods/constructors should not be used in non-test code

JAVA-A1067
Anti-pattern
Major
6 months ago 6 months old
Seen in 2 files
2

Function with cyclomatic complexity higher than threshold found

JAVA-R1000
Anti-pattern
Minor
6 months ago 6 months old
Seen in 8 files
8

Re-defined variable from outer scope

PYL-W0621
Anti-pattern
Major
6 months ago 3 years old
Seen in 2 files
7

For loop can be converted into a foreach loop

JAVA-W1089
Anti-pattern
Minor
6 months ago 6 months old
Seen in 5 files
5

Re-definition found for builtin function

PYL-W0622
Anti-pattern
Major
6 months ago 3 years old
Seen in 2 files
2

Unused variable found

PYL-W0612
Anti-pattern
Major
6 months ago 3 years old
Seen in 2 files
2

Function contains unused argument

PYL-W0613
Anti-pattern
Major
6 months ago 3 years old
Seen in 2 files
3

File opened without the with statement

PTC-W0010
Anti-pattern
Critical
6 months ago 3 years old
Seen in 2 files
5

Exception classes must be named appropriately

JAVA-W1000
Anti-pattern
Minor
6 months ago 2 years old
Seen in 1 file
1

Collection and array length checks must be sensible

JAVA-W1005
Anti-pattern
Major
6 months ago 2 years old
Seen in 2 files
2