All Projects → 360EntSecGroup-Skylar → Goreporter

360EntSecGroup-Skylar / Goreporter

Licence: apache-2.0
A Golang tool that does static analysis, unit testing, code review and generate code quality report.

Programming Languages

go
31211 projects - #10 most used programming language
HTML
75241 projects
Makefile
30231 projects
emacs lisp
2029 projects
Dockerfile
14818 projects
Vim Script
2826 projects

Projects that are alternatives of or similar to Goreporter

goreporter
A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Stars: ✭ 3,019 (+2.58%)
Mutual labels:  unit-testing, test, linter, static-analysis, reporter, codereview, golang-tools, examination, unit-test, staticcheck, quality-report
Reviewdog
🐶 Automated code review tool integrated with any code analysis tools regardless of programming language
Stars: ✭ 4,541 (+54.3%)
Mutual labels:  static-analysis, linter, codereview
golintui
A simple terminal UI for Go linters
Stars: ✭ 73 (-97.52%)
Mutual labels:  linter, static-analysis, golang-tools
Go Tools
Staticcheck - The advanced Go linter
Stars: ✭ 4,317 (+46.69%)
Mutual labels:  static-analysis, linter, staticcheck
nestif
Detect deeply nested if statements in Go source code
Stars: ✭ 30 (-98.98%)
Mutual labels:  linter, static-analysis, golang-tools
staticcheck-action
Staticcheck's official GitHub Action
Stars: ✭ 47 (-98.4%)
Mutual labels:  linter, static-analysis, staticcheck
constyble
CSS complexity linter
Stars: ✭ 92 (-96.87%)
Mutual labels:  test, linter, static-analysis
unittest expander
A library that provides flexible and easy-to-use tools to parameterize Python unit tests, especially those based on unittest.TestCase.
Stars: ✭ 12 (-99.59%)
Mutual labels:  unit-testing, test, unit-test
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (-99.32%)
Mutual labels:  unit-testing, test
teuton
Infrastructure test, mainly useful for sysadmin teachers and making contests
Stars: ✭ 22 (-99.25%)
Mutual labels:  unit-testing, test
codeclimate-eslint
Code Climate Engine for ESLint
Stars: ✭ 86 (-97.08%)
Mutual labels:  linter, static-analysis
SqlInMemory
SqlInMemory is a library for creating SqlServer database on Memory instead of hard disk, at last Drops and Disposes database when you're done with it. This is useful for Integration Testing.
Stars: ✭ 24 (-99.18%)
Mutual labels:  unit-testing, unit-test
qiniutest
Qiniu httptest tool: qiniutest
Stars: ✭ 36 (-98.78%)
Mutual labels:  test, unit-test
sonar-gherkin-plugin
SonarQube Cucumber Gherkin Analyzer
Stars: ✭ 33 (-98.88%)
Mutual labels:  linter, static-analysis
static-code-analysis-plugin
A plugin to simplify Static Code Analysis on Gradle. Not restricted to, but specially useful, in Android projects, by making sure all analysis can access the SDK classes.
Stars: ✭ 36 (-98.78%)
Mutual labels:  linter, static-analysis
pahout
A pair programming partner for writing better PHP. Pahout means PHP mahout 🐘
Stars: ✭ 43 (-98.54%)
Mutual labels:  linter, static-analysis
TcUnit-Runner
Program that makes it possible to automate runs of TcUnit unit tests
Stars: ✭ 23 (-99.22%)
Mutual labels:  unit-testing, unit-test
ionic-workflow-guide
Create a full and powerful worflow with Ionic (Unit Testing, Environment variables, Automatic documentation, Production App Server, Automatic deployment)
Stars: ✭ 46 (-98.44%)
Mutual labels:  unit-testing, unit-test
automutate
Applies waves of mutations provided by other tools, such as linters or codemods.
Stars: ✭ 13 (-99.56%)
Mutual labels:  linter, static-analysis
addlint
An example linter written with go/analysis for tutorial purposes
Stars: ✭ 49 (-98.34%)
Mutual labels:  linter, static-analysis

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].