DeepSource
Dashboard Resources Pricing Discover Directory Log in

Run your first analysis.

Find thousands of code security and quality issues in your codebase, before they end up in production.

Start now

go-graphite / go-carbon
Active

Last analyzed 76eb567 3 days ago
Default analysis branch is
Currently analyzing run
All issues
64
Recommended
22
Bug risk
34
Anti-pattern
16
Security
11
Performance
2
Type check
0
Coverage
0
Style
1
Documentation
0

Unused method receiver

RVV-B0013
Bug risk
3 days ago — a year old
Found in carbon/grace.go, carbonserver/trace.go and 3 other files
5

Unused parameter in function

RVV-B0012
Bug risk
3 days ago — 7 months old
Found in carbonserver/trie.go, carbonserver/trie_test.go and 2 other files
5
25%

Found empty body in an if or else branch

SCC-SA9003
Anti-pattern
3 years ago — 3 years old
Found in api/api.go
1

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

SCC-S1012
Anti-pattern
6 months ago — 3 years old
Found in persister/whisper_stop_test.go
1

Empty string test can be improved

CRT-A0004
Anti-pattern
3 years ago — 3 years old
Found in receiver/../protobuf.go and tags/normalize.go
4

Multiple append can be combined into a single call

CRT-P0001
Performance
3 days ago — 3 years old
Found in carbonserver/carbonserver.go and carbonserver/trie.go
2
from 0

Value assigned to a variable is never read before being overwritten

SCC-SA4006
Bug risk
3 years ago — 3 years old
Found in carbonserver/carbonserver_test.go and helper/../carbonzipper.pb.go
2

Using a deprecated function, variable, constant or field

GO-W1009
Anti-pattern
a month ago — 7 months old
Found in go-carbon.go
2