Go Code Analysis

Open-source Go projects categorized as Code Analysis

Top 23 Go Code Analysis Projects

Code Analysis
  • golangci-lint

    Fast linters runner for Go

    Project mention: Building a RESTful API with Go Fiber: An Express-Inspired Boilerplate | dev.to | 2024-10-05

    Linting is done using golangci-lint

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • goimports

    [mirror] Go Tools (by golang)

    Project mention: Mastering Golang Debugging in Emacs | dev.to | 2024-11-29

    For Emacs 29+ users, eglot is built-in. Check out configuring eglot for gopls and some more advanced gopls settings. We'll first add dape:

  • revive

    🔥 ~6x faster, stricter, configurable, extensible, and beautiful drop-in replacement for golint

  • errcheck

    errcheck checks that you checked errors.

  • GoPlantUML

    PlantUML Class Diagram Generator for golang projects

  • PHP-Parser

    PHP parser written in Go (by z7zmey)

    Project mention: Generic Freelist Allocator for Go | news.ycombinator.com | 2024-09-14

    I've used this idea to speed up AST parsing: https://github.com/z7zmey/php-parser/issues/21

    By just reducing cost of doing allocations (but still allocating the same number of structs) on some of the hot paths it sped up making of the AST tree by 1.5x

    If you can use this approach for the entire parser I imagine the gains would be much more significant

  • golines

    A golang formatter that fixes long lines

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • go-cleanarch

    Clean architecture validator for go, like a The Dependency Rule and interaction between packages in your Go projects.

  • go-mod-outdated

    Find outdated dependencies of your Go projects. go-mod-outdated provides a table view of the go list -u -m -json all command which lists all dependencies of a Go project and their available minor and patch updates. It also provides a way to filter indirect dependencies and dependencies without updates.

  • goreturns

    A gofmt/goimports-like tool for Go programmers that fills in Go return statements with zero values to match the func return types

  • Chronos

    Chronos - A static race detector for the go language (by amit-davidson)

  • todocheck

    A static code analyser for annotated TODO comments

  • unconvert

    Remove unnecessary type conversions from Go source

  • dupl

    a tool for code clone detection

  • tickgit

    Manage your repository's TODOs, tickets and checklists as config in your codebase.

  • bodyclose

    Analyzer: checks whether HTTP response body is closed and a re-use of TCP connection is not blocked.

  • gostatus

    A command line tool that shows the status of Go repositories.

  • GoCover.io

    GoCover.io offers the code coverage of any golang package as a service.

  • apicompat

    apicompat checks recent changes to a Go project for backwards incompatible changes

  • go-checkstyle

    checkstyle for go (by qiniu)

  • testifylint

    The Golang linter that checks usage of github.com/stretchr/testify.

    Project mention: Open source software maintenance is difficult: examples with Go math/rand/v2 and testify | dev.to | 2024-05-02

    PS: @Antonboom is doing an amazing work with testifylint. That is a major tool that helps Testify users to avoid v1's traps. More than a v2.

  • asty

    Converts golang AST to JSON and JSON to AST

  • lint

    Run linters from Go code - (by surullabs)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Code Analysis discussion

Log in or Post with

Go Code Analysis related posts

  • Generic Freelist Allocator for Go

    1 project | news.ycombinator.com | 14 Sep 2024
  • Go is a platform

    1 project | dev.to | 15 Jun 2024
  • Secure Randomness in Go 1.22

    3 projects | news.ycombinator.com | 7 May 2024
  • Open source software maintenance is difficult: examples with Go math/rand/v2 and testify

    1 project | dev.to | 2 May 2024
  • Gopls/v0.15.0

    1 project | news.ycombinator.com | 26 Feb 2024
  • Experience Continuous Integration with Jenkins | Ansible | Artifactory | SonarQube | PHP

    8 projects | dev.to | 24 Feb 2024
  • makefile para projetos em Go

    1 project | dev.to | 19 Feb 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 10 Dec 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Code Analysis projects in Go? This list will help you:

Project Stars
1 golangci-lint 15,815
2 goimports 7,414
3 revive 4,842
4 errcheck 2,359
5 GoPlantUML 1,878
6 PHP-Parser 943
7 golines 941
8 go-cleanarch 871
9 go-mod-outdated 651
10 goreturns 531
11 Chronos 425
12 todocheck 425
13 unconvert 380
14 dupl 346
15 tickgit 324
16 bodyclose 313
17 gostatus 243
18 GoCover.io 227
19 apicompat 179
20 go-checkstyle 130
21 testifylint 103
22 asty 81
23 lint 67

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you konow that Go is
the 4th most popular programming language
based on number of metions?