model

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AbstractnessDetails

type AbstractnessDetails struct {
	MethodsCount    int `json:"methods,omitempty"`
	FunctionsCount  int `json:"functions,omitempty"`
	InterfacesCount int `json:"interfaces,omitempty"`
	StructsCount    int `json:"structs,omitempty"`
}

type DependenciesInfo

type DependenciesInfo struct {
	Standard       []string `json:"standard,omitempty"`
	Internals      []string `json:"internals,omitempty"`
	Externals      []string `json:"externals,omitempty"`
	StandardCount  int      `json:"standard_count,omitempty"`
	InternalsCount int      `json:"internals_count,omitempty"`
	ExternalsCount int      `json:"externals_count,omitempty"`
	TotalCount     int      `json:"count,omitempty"`
}

type PackageInfo

type PackageInfo struct {
	PackageData          *build.Package       `json:"-"`
	Name                 string               `json:"name"`
	Path                 string               `json:"path"`
	Files                []string             `json:"files,omitempty"`
	FilesCount           int                  `json:"files_count,omitempty"`
	Dependencies         *DependenciesInfo    `json:"dependencies,omitempty"`
	Dependants           []string             `json:"dependants,omitempty"`
	AfferentCoupling     int                  `json:"afferent_coupling"`
	EfferentCoupling     int                  `json:"efferent_coupling"`
	Instability          float64              `json:"instability"`
	AbstractnessDetails  *AbstractnessDetails `json:"abstractness_details"`
	AbstractionsCount    int                  `json:"abstractions_count"`
	ImplementationsCount int                  `json:"implementations_count"`
	Abstractness         float64              `json:"abstractness"`
	Distance             float64              `json:"distance"`
}

type PackagesSummary

type PackagesSummary struct {
	Packages []*PackageInfo `json:"packages"`
}

Jump to

Keyboard shortcuts

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