Last analyzed c533e5c 7 days ago
Default analysis branch is
Currently analyzing run

The boolean expression can be simplified

CRT-D0018
Bug risk
2 years ago 2 years old
Found in atc/db/versions_db.go
1

Unused parameter in function

RVV-B0012
Bug risk
22 days ago a year old
Found in atc/../api_suite_test.go, atc/../check_build_read_access_handler_test.go and 47 other files
88

Unused method receiver

RVV-B0013
Bug risk
7 days ago a year old
Found in atc/../command.go, atc/../manager_factory.go and 46 other files
141

Found variable declaration and assignment separately

SCC-S1021
Anti-pattern
2 years ago 2 years old
Found in fly/rc/target.go
1

Found time.Now().Sub(t) instead of time.Since(t)

SCC-S1012
Anti-pattern
2 years ago 2 years old
Found in tsa/cmd/tsa/register_test.go
1

Simplify error construction with fmt.Errorf

SCC-S1028
Anti-pattern
8 months ago 2 years old
Found in fly/../clear_versions.go and fly/../helpers.go
3

Function call can be replaced with helper function

CRT-A0010
Anti-pattern
a year ago 2 years old
Found in atc/../build_step_delegate.go, atc/../dogstatsd.go and 7 other files
12

Found redundant control flow

SCC-S1023
Anti-pattern
2 years ago 2 years old
Found in worker/runtime/integration/integration_test.go
1

Empty string test can be improved

CRT-A0004
Anti-pattern
a year ago 2 years old
Found in atc/../save.go, atc/../list.go and 5 other files
8

Multiple append can be combined into a single call

CRT-P0001
Performance
a year ago 2 years old
Found in atc/../secrets.go, fly/../get_team.go and 6 other files
10

Using a deprecated function, variable, constant or field

SCC-SA1019
Bug risk
6 months ago 2 years old
Found in atc/db/job_test.go, atc/../resource_type_test.go and 13 other files
15

Value assigned to a variable is never read before being overwritten

SCC-SA4006
Bug risk
22 days ago 2 years old
Found in atc/../check_lifecycle_test.go, atc/../resource_cache_factory_test.go and 14 other files
19

Channels used with signal.Notify should be buffered

SCC-SA1017
Bug risk
2 years ago 2 years old
Found in worker/runtime/integration/sample/main.go
1

Exported function returning value of unexported type

RVV-B0011
Anti-pattern
2 months ago 2 years old
Found in atc/../accessor.go, atc/../claims_cacher.go and 51 other files
54

Using a deprecated function, variable, constant or field

GO-W1009
Anti-pattern
7 days ago 4 months old
Found in atc/../checker.go, atc/../checker_test.go and 10 other files
12