superfly / flyctl

Redundant statements can be removed

RVV-A0010
Anti-pattern
Major
19 days ago 3 years old
Seen in 6 files
9

Redundant else-blocks can be eliminated

RVV-A0009
Anti-pattern
Major
22 days ago 2 years old
Seen in 1 file
1

Empty slice literal used to declare a variable

GO-W1027
Anti-pattern
Minor
12 days ago a year old
Seen in 8 files
13

Use %q to quote a string in fmt.Sprintf format specifiers

GO-R4002
Anti-pattern
Minor
a month ago a year old
Seen in 7 files
11

Use http.NoBody instead of nil in http.NewRequest calls

GO-R4001
Anti-pattern
Major
a month ago a year old
Seen in 1 file
1

Simplify slice expression to sliced value itself

CRT-A0016
Anti-pattern
Major
a month ago 4 years old
Seen in 1 file
1

Function call can be replaced with helper function

CRT-A0010
Anti-pattern
Major
12 days ago 4 years old
Seen in 2 files
4

Empty string test can be improved

CRT-A0004
Anti-pattern
Major
12 days ago 4 years old
Seen in 2 files
2

Function with cyclomatic complexity higher than threshold

GO-R1005
Anti-pattern
Minor
3 days ago 8 months old
Seen in 40 files
48

Exit inside non-main function

RVV-A0003
Anti-pattern
Major
22 days ago 3 years old
Seen in 4 files
4

Exported function returning value of unexported type

RVV-B0011
Anti-pattern
Critical
2 months ago 2 years old
Seen in 1 file
1

Using a deprecated function, variable, constant or field

GO-W1009
Anti-pattern
Major
a month ago 2 years old
Seen in 4 files
6

Functions prefixed with Get should return a value

RVV-A0006
Anti-pattern
Major
22 days ago 2 years old
Seen in 1 file
1

switch with single case can be rewritten as if or if-else

CRT-A0014
Anti-pattern
Minor
21 days ago 4 years old
Seen in 3 files
3