callgraph

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder constructs call graphs from application code and dependencies

func NewBuilder

func NewBuilder(projectPath string) *Builder

NewBuilder creates a new call graph builder

func (*Builder) BuildCallGraph

func (b *Builder) BuildCallGraph(dependencies []*models.Dependency) (*models.CallGraph, error)

BuildCallGraph builds a complete call graph from application and dependencies

func (*Builder) FindReachableMethods

func (b *Builder) FindReachableMethods(cg *models.CallGraph, entryPoints []string) map[string]bool

FindReachableMethods performs a reachability analysis from entry points

func (*Builder) SetApplicationPackages

func (b *Builder) SetApplicationPackages(packages []string)

SetApplicationPackages sets the package prefixes for application code

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL