Documentation
¶
Index ¶
- func GetJsonClassRepr(c *symbols.Class) (string, error)
- func GetJsonClassReprWithFlag(c *symbols.Class) (string, error)
- func GetJsonFileRepr(f *symbols.File) (string, error)
- func GetJsonFileReprWithFlag(f *symbols.File) (string, error)
- func GetJsonFunctionRepr(f *symbols.Function) (string, error)
- func GetJsonFunctionReprWithFlag(f *symbols.Function) (string, error)
- func GetJsonNamespaceRepr(f *symbols.Namespace) (string, error)
- func GetJsonNamespaceReprWithFlag(f *symbols.Namespace) (string, error)
- func GetPrettifyJsonClassesRepr(c []*symbols.Class) (string, error)
- func GetPrettifyJsonFilesRepr(f []*symbols.File) (string, error)
- func GetPrettifyJsonFunctionsRepr(f []*symbols.Function) (string, error)
- func GetPrettifyJsonNamespacesRepr(n []*symbols.Namespace) (string, error)
- func GetShortClassRepr(c *symbols.Class) string
- func GetShortStringFileRepr(f *symbols.File) string
- func GetShortStringFunctionRepr(f *symbols.Function) string
- func GetShortStringNamespaceRepr(f *symbols.Namespace) string
- func GetStringClassRepr(c *symbols.Class) string
- func GetStringFileRepr(f *symbols.File) string
- func GetStringFunctionRepr(f *symbols.Function) string
- func GetStringNamespaceRepr(n *symbols.Namespace) string
- type ClassData
- type FileData
- type FunctionData
- type NamespaceData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetShortClassRepr ¶
func GetShortStringFileRepr ¶
func GetStringClassRepr ¶
func GetStringFileRepr ¶
func GetStringFunctionRepr ¶
func GetStringNamespaceRepr ¶
Types ¶
type ClassData ¶
type ClassData struct { Name string `json:"name"` File string `json:"file"` Type string `json:"type"` Afferent float64 `json:"aff"` Efferent float64 `json:"eff"` Instability float64 `json:"instab"` Lcom float64 `json:"lcom"` Lcom4 int64 `json:"lcom4"` CountDeps int64 `json:"countDeps"` CountDepsBy int64 `json:"countDepsBy"` // contains filtered or unexported fields }
type FunctionData ¶
type FunctionData struct { Name string `json:"name"` Type string `json:"type"` Class string `json:"className"` UsesCount int64 `json:"usesCount"` CountCalled int64 `json:"countCalled"` CountCalledBy int64 `json:"countCalledBy"` CountDeps int64 `json:"countDeps"` CountDepsBy int64 `json:"countDepsBy"` CyclomaticComplexity int64 `json:"cc"` CountMagicNumbers int64 `json:"cmn"` }
Click to show internal directories.
Click to hide internal directories.