Back to rankings

qax-os/goreporter

Go

A Golang tool that does static analysis, unit testing, code review and generate code quality report.

codereviewreportergolanggolang-toolsteststaticchecklinterunit-testingstatic-analysisunit-testexaminationquality-report
Star Growth
Stars
3.1k
Forks
261
Weekly Growth
Issues
29
1k2k3k
Jan 2023Mar 2024May 2025Jul 2026
ArtifactsGo Modulesgo get github.com/qax-os/goreporter
README

goreporter

goreporter Version Status

Current Release Build Status GoDoc License

A Golang tool that does static analysis, unit testing, code review and generate code quality report. This is a tool that concurrently runs a whole bunch of those linters and normalizes their output to a report:

Supported linters

  • gofmt - Checks if the code is properly formatted and could not be further simplified.
  • govet - Reports variables that may have been unintentionally shadowed.
  • golint - Golint is a linter for Go source code.
  • unittest - Golang unit test status.
  • deadcode - Finds unused code.
  • gocyclo - Computes the cyclomatic complexity of functions.
  • varcheck - Find unused global variables and constants.
  • structcheck - Find unused struct fields.
  • aligncheck - Warn about un-optimally aligned structures.
  • errcheck - Check that error return values are used.
  • copycode(dupl) - Reports potentially duplicated code.
  • gosimple - Report simplifications in code.
  • staticcheck - Statically detect bugs, both obvious and subtle ones.
  • godepgraph - Godepgraph is a program for generating a dependency graph of Go packages.
  • misspell - Correct commonly misspelled English words... quickly.
  • countcode - Count lines and files of project.
  • interfacer - Suggest narrower interfaces that can be used.
  • depth - Count the maxdepth of go functions.
  • flen - Flen provides stats on functions/methods lengths in a Golang package.

Template

  • html template file which can be loaded via -t <file>.

Todo List

  • This version will re-design the template.
  • Add interfacer and safesql and gofmt(-s),govet linter.

Installing

Requirements

Quickstart

Install goreporter (see above).

go get -u github.com/360EntSecGroup-Skylar/goreporter

Run it:

NOTE

You have to confirm that your project is operational. In particular, the problem with vendor, when the package is not found in the default path, goreporter will look again from the possible vendor path.

goreporter -p [projectRelativePath] -r [reportPath] -e [exceptPackagesName] -f [json/html/text]  {-t templatePathIfHtml}
  • -version Version of GoReporter.
  • -p Must be a valid Golang project path.
  • -r Save the path to the report.
  • -e Exceptional packages (multiple separated by commas, for example: "linters/aligncheck,linters/cyclo" ).
  • -f report format json, html OR text.
  • -t Template path,if not specified, the default template will be used.

By default, the default template is used to generate reports in html format.

Example

goreporter-display

you can see result detail:online-example-report

Credits

Logo is designed by Ri Xu

Related repositories
ast-grep/ast-grep

⚡A CLI tool for code structural search, lint and rewriting. Written in Rust

Rustcrates.ioMIT Licensecodemodlinter
ast-grep.github.io
15.1k417
The-PR-Agent/pr-agent

🚀 PR Agent: The Original Open-Source PR Reviewer. This project It is not the Qodo free tier.

PythonPyPIMIT Licensegpt-4openai
pr-agent.ai
12.2k1.6k
reviewdog/reviewdog

🐶 Automated code review tool integrated with any code analysis tools regardless of programming language

GoGo ModulesMIT Licenselintergo
medium.com/@haya14busa/reviewdog-a-code-review-dog-who-keeps-your-codebase-healthy-d957c471938b
9.5k489
qodo-ai/pr-agent

🚀 PR-Agent (Qodo Merge open-source): An AI-Powered 🤖 Tool for Automated Pull Request Analysis, Feedback, Suggestions and More! 💻🔍

PythonPyPIApache License 2.0gpt-4openai
qodo.ai
7.1k731
Codium-ai/pr-agent

🚀 PR-Agent (Qodo Merge open-source): An AI-Powered 🤖 Tool for Automated Pull Request Analysis, Feedback, Suggestions and More! 💻🔍

PythonPyPIgpt-4openai
6.4k637
anc95/ChatGPT-CodeReview

🐥 A code review bot powered by ChatGPT

JavaScriptnpmISC Licensechatgptcodereview
github.com/apps/cr-gpt
4.5k458
sunmh207/AI-Codereview-Gitlab

基于大模型(DeepSeek,OpenAI等)的 GitLab 自动代码审查工具;支持钉钉/企业微信/飞书推送消息和生成日报;支持Docker部署;可视化 Dashboard。

PythonPyPIApache License 2.0aicodereview
1.8k392
reviewboard/reviewboard

An extensible and friendly code review tool for projects and companies of all sizes.

PythonPyPIMIT Licensecode-reviewcodereview
reviewboard.org
1.7k433
patched-codes/patchwork

Agentic AI framework for enterprise workflow automation.

PythonPyPIGNU Affero General Public License v3.0codereviewdevops
patched.codes
1.6k104
vercel-labs/openreview

An open-source, self-hosted AI code review bot powered by Vercel.

TypeScriptnpmaisdkcodereview
openreview.labs.vercel.dev
1.5k99
GerritCodeReview/gerrit

Gerrit Code Review - (mirror of https://gerrit.googlesource.com/gerrit)

JavaMavenApache License 2.0codereviewgerrit
1.2k274