Calculates cognitive complexities of functions (and methods) in Go source code. (Golang cognitive complexity)
☆505Oct 6, 2026Updated last month
Alternatives and similar repositories for gocognit
Users that are interested in gocognit are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Calculate cyclomatic complexities of functions in Go source code.☆1,619Dec 27, 2025Updated 10 months ago
- Moved to https://codeberg.org/polyfloyd/go-errorlint☆314Nov 1, 2025Updated last year
- Magic number detector for Go.☆210Dec 21, 2023Updated 2 years ago
- Go linter to detect erroneous multiplication of duration values☆47Oct 24, 2025Updated last year
- ☆56Oct 16, 2024Updated 2 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Go linter for forbidding identifiers☆187Apr 12, 2026Updated 7 months ago
- A Go linter to check that errors from external packages are wrapped☆374Oct 15, 2026Updated last month
- ☆46Dec 16, 2024Updated last year
- Accept Interfaces, Return Concrete Types☆86Sep 2, 2026Updated 2 months ago
- 🚔 Enforce field tags in (un)marshaled structs☆40Jan 19, 2026Updated 10 months ago
- Check that no globals are present in Go code.☆136Feb 15, 2026Updated 9 months ago
- detects nested contexts in loops or function literals☆83Nov 1, 2026Updated 2 weeks ago
- Go linter that checks if package imports are in a list of acceptable packages.☆210Nov 2, 2026Updated 2 weeks ago
- ␊ whitespace linter - Forces you to use empty lines!☆367Updated this week
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- noctx finds function calls without context.Context.☆232Mar 11, 2026Updated 8 months ago
- nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length.☆132Feb 1, 2026Updated 9 months ago
- Find unused parameters in Go☆579Nov 2, 2026Updated 2 weeks ago
- A linter to ensure that slices are not initialized with non-zero length☆78Apr 12, 2026Updated 7 months ago
- Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.☆326Nov 7, 2026Updated last week
- Analyzer: fourcetypeassert finds type assertions which did forcely☆49Feb 13, 2025Updated last year
- Golang linter to check the errors handling expressions☆78Jul 20, 2026Updated 4 months ago
- GCI, a tool that control golang package import order and make it always deterministic.☆582Mar 16, 2026Updated 8 months ago
- ☆118Apr 11, 2026Updated 7 months ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- A linter that handles struct tags.☆60Nov 1, 2026Updated 2 weeks ago
- The most opinionated Go source code linter for code audit.☆2,082Oct 18, 2026Updated last month
- Check that expression switches and type switches in Go source code are exhaustive.☆351Oct 31, 2026Updated 2 weeks ago
- Linter to detects the overuse or misuse of interfaces in Go code AKA "Interface Pollution"☆25Oct 1, 2026Updated last month
- The Golang linter that checks that there is no simultaneous return of `nil` error and an invalid value.☆89Oct 1, 2026Updated last month
- tparallel finds inappropriate usage of `t.Parallel()` method in your Go test codes☆28Jun 26, 2024Updated 2 years ago
- Golang linter to use strconv☆46Sep 29, 2026Updated last month
- 🪵 Ensure consistent code style when using log/slog☆274Updated this week
- Go Linter: finds wasted assignment statements 🗑☆38Feb 23, 2026Updated 8 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Go Dependency Analysis toolkit☆1,749Nov 9, 2026Updated last week
- Linter that checks that comments end in a period☆50Mar 27, 2026Updated 7 months ago
- Linter that confirms DB rows and statements are closed properly.☆92Mar 18, 2026Updated 8 months ago
- a tool for code clone detection☆372Mar 5, 2026Updated 8 months ago
- Detect deeply nested if statements in Go source code☆45Feb 26, 2026Updated 8 months ago
- Goroutine leak detector☆5,314Sep 15, 2026Updated 2 months ago
- Golang linter checks for receiver type consistency☆16Nov 9, 2026Updated last week
Are these results useful?