qax-os / goreporter

A Golang tool that does static analysis, unit testing, code review and generate code quality report.
Apache License 2.0
3.13k stars 273 forks source link

stuck while generate report #72

Closed FelixSeptem closed 6 years ago

FelixSeptem commented 6 years ago

In my repo dir:

>> goreporter -r . -p . -f html
2018/11/06 17:59:04 The template path is not specified,and will use the default template
2018/11/06 17:59:04 There are no packages that are excepted, review all items of the package
2018/11/06 17:59:05 Linter:CountCode over,time consuming 1.567595063s
2018/11/06 17:59:05 Linter:Cyclo over,time consuming 1.64384756s
2018/11/06 17:59:05 Linter:Deadcode over,time consuming 1.644238291s
  GOREPORTER  10/100

stuck here forever.

for my env:

GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/XXX/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/XXX/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.11/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.11/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/90/hr1_x8993q9fyw7gf7g_85v80000gp/T/go-build392347019=/tmp/go-build -gno-record-gcc-switches -fno-common"
wgliang commented 6 years ago

Is the progress bar GOREPORTER 10/100 changing?

FelixSeptem commented 6 years ago

Is the progress bar GOREPORTER 10/100 changing?

no,just stuck in there

wgliang commented 6 years ago

you can just run command like: goreporter -r ./ -p ./ -f html

wgliang commented 6 years ago

If it is still stuck, I will debug it.

FelixSeptem commented 6 years ago

resolved my problem,thanks a lot. @wgliang