go-callvis

go-callvis is an improved development tool for visualizing the call graph of Go programs. It sets up the call graph by running the program's pointer analysis and produces output in the dot format, which can be processed with Graphviz tools. It offers a visual overview to understand code complexity, especially in large projects, or to study different code bases.

GO

ondrajz · Code Quality & Review

STARS6.5K
FORKS429
COMMITS0
CONTRIBUTORS0
VERSIONv0.7.1
UPDATED7 mo ago
GoVisualizationCode AnalysisGraphvizMIT

Common commercial products in this category: SonarCloud, Codacy, DeepSource

What can it do?
  • By focusing on a specific package, you can browse the interactive view through the web server.
  • You can group functions by packets and methods by recipient types.
  • You can filter packet paths by excluding standard library calls.
User reviews
  • • NeutralGitHub Issue

    [Question] can't generate the call graph for hashicorp/raft

    “I use the below command" ``` go-callvis -focus github.com/hashicorp/raft github.com/hashicorp/raft -limit github.com/hashicorp/raft -nostd ``` but there are many errors: ``` /Users/yuepan/go/src/github.com/hashicorp/raft/util.go:58:15: undeclared name: crand…”

  • • NeutralGitHub Issue

    panic: in crypto/sha256.Sum224: cannot convert slice t0[:] ([]byte) to *[28]byte

    “panic: in crypto/sha256.Sum224: cannot convert slice t0[:] ([]byte) to *[28]byte”

My note

Alternative pages

More in: Code Quality & Review