package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Oct 10, 2021
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package with metric which checks general code structure.
type Metric struct {
Config Weights
}
Intermidiate state for code structure metric
Returns final result of metric
Parses ast node and collects result of metric
type Weights struct {
Func float64 `xml:"func"`
Struct float64 `xml:"struct"`
Interface float64 `xml:"interface"`
}
Weights for metric
Source Files
¶
Click to show internal directories.
Click to hide internal directories.