Analysis tools logo
No results for 'undefined'
Search powered by Algolia

Best 66 Go static analysis tools

47

go vet

Examines Go source code and reports suspicious.

34

GolangCI-Lint

Alternative to `Go Meta Linter`: GolangCI-Lint is a linters aggregator.

34

SonarQube

SonarQube is an open platform to manage code quality.

27

staticcheck

Go static analysis that specialises in finding bugs, simplifying code and improving performance.

21

Semgrep

Free, open-source lightweight static analysis for many languages. Find and block bug variants with patterns that look like source code.

16

gofmt -s

Checks if the code is properly formatted and could not be further simplified.

11

Better Code Hub

Better Code Hub checks your GitHub codebase against 10 engineering guidelines devised by the authority in software quality, Software Improvement Group.

9

DeepSource

In-depth static analysis to find issues in verticals of bug risks, security, anti-patterns, performance, documentation and style. Native integrations with GitHub, GitLab and Bitbucket. Less than 5% false positives.

9

goimports

Checks missing or unreferenced package imports.

9

golint

Prints out coding style mistakes in Go source code.

7

errcheck

Check that error return values are used.

5

CodeScene

CodeScene is a quality visualization tool for software. Prioritize technical debt, detect delivery risks, and measure organizational aspects. Fully automated.

4

deadcode

Finds unused code.

3

go tool vet --shadow

Reports variables that may have been unintentionally shadowed.

3

go/ast

Package ast declares the types used to represent syntax trees for Go packages.

3

ineffassign

Detect ineffectual assignments in Go code.

3

misspell

Finds commonly misspelled English words.

2

aligncheck

Find inefficiently packed structs.

2

bodyclose

Checks whether HTTP response body is closed.

2

dupl

Reports potentially duplicated code.

2

gosec (gas)

Inspects source code for security problems by scanning the Go AST.

2

ShiftLeft Scan

Scan is a free open-source DevSecOps platform for detecting security issues in source code and dependencies. It supports a broad range of languages and CI/CD pipelines.

2

Snyk

Vulnerability scanner for dependencies of node.js apps (free for Open Source Projects).

2

structcheck

Find unused struct fields.

2

unconvert

Detect redundant type conversions.

1

go-critic

Go source code linter that maintains checks which are currently not implemented in other linters.

1

goconst

Finds repeated strings that could be replaced by a constant.

1

gotype

Syntactic and semantic analysis similar to the Go compiler.

1

Hound CI

Comments on style violations in GitHub pull requests. Supports Coffeescript, Go, HAML, JavaScript, Ruby, SCSS and Swift.

1

lll

Report long lines.

1

maligned

Detect structs that would take less memory if their fields were sorted.

1

nargs

Finds unused arguments in function declarations.

1

SonarCloud

Multi-language cloud-based static code analysis. History, trends, security hot-spots, pull request analysis and more. Free for open source.

1

unparam

Find unused function parameters.

0

ApplicationInspector

Creates reports of over 400 rule patterns for feature detection (e.g. the use of cryptography or version control in apps).

0

Code Inspector

Code quality and technical debt management platform that supports 10+ languages.

0

Codeac

Automated code review tool integrates with GitHub, Bitbucket and GitLab (even self-hosted). Available for JavaScript, TypeScript, Python, Ruby, Go, PHP, Java, Docker, and more. (open-source free)

0

dingo-hunter

Static analyser for finding deadlocks in Go.

0

dogsled

Finds assignments/declarations with too many blank identifiers.

0

flen

Get info on length of functions in a Go package.

0

go-consistent

Analyzer that helps you to make your Go programs more consistent.

0

gocyclo

Calculate cyclomatic complexities of functions in Go source code.

0

goreporter

Concurrently runs many linters and normalises their output to a report.

0

goroutine-inspect

An interactive tool to analyze Golang goroutine dump.

0

LGTM.com

Deep code analysis for GitHub and Bitbucket to find security vulnerabilities and critical code quality issues (using Semmle QL). Automatic code review for pull requests; free for public repositories.

0

nakedret

Finds naked returns.

0

prealloc

Finds slice declarations that could potentially be preallocated.

0

Reviewdog

A tool for posting review comments from any linter in any code hosting service.

0

revive

Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint.

0

safesql

Static analysis tool for Golang that protects against SQL injections.

0

Scrutinizer

A proprietary code quality checker that can be integrated with GitHub.

0

Sider

An automated code reviewing tool. Improving developers' productivity.

0

SmartDec Scanner

SAST tool which is capable of identifying vulnerabilities and undocumented features. The analyzer scans the source code and executables without debug info (i.e. binaries). Supports: Java/Scala/Kotlin, PHP, C#, JavaScript, TypeScript, VBScript, HTML5, Python, Perl, C/C++, Objective-C/Swift, PL/SQL, T-SQL, ABAP, 1C, Apex, Go, Ruby, Groovy, Delphi, VBA, Visual Basic 6, Solidity, Vyper, COBOL.

0

test

Show location of test failures from the stdlib testing module.

0

Unibeautify

Universal code beautifier with a GitHub app. Supports HTML, CSS, JavaScript, TypeScript, JSX, Vue, C++, Go, Objective-C, Java, Python, PHP, GraphQL, Markdown, and more.

0

varcheck

Find unused global variables and constants.

0

wsl

Enforces empty lines at the right places.

-1

gochecknoglobals

Checks that no globals are present.

-2

Embold

Intelligent software analytics platform that identifies design issues, code issues, duplication and metrics. Supports Java, C, C++, C#, JavaScript, TypeScript, Python, Go, Kotlin and more.

-2

Kiuwan

Identify and remediate cyber threats in a blazingly fast, collaborative environment, with seamless integration in your SDLC. Python, C\C++, Java, C#, PHP and more.

Deprecated/unmaintained tools

0

Go Meta Linter

Concurrently run Go lint tools and normalise their output. Use `golangci-lint` for new projects.

0

interfacer

Suggest narrower interfaces that can be used.

❤️ Sponsor this project

We are currently looking for partners who want to sponsor hosting and development of the project.

Check out our Github Sponsors page here

Missing an entry? Please let us know.

Beautiful icons provided by icons8 · Hero vector illustration created by pch.vector - www.freepik.com