Versions in this module Expand all Collapse all v0 v0.1.0 Dec 13, 2024 Changes in this version + var ComplexityOpts = ComplexityOptions + func PrintTabular(results FilesStat, out io.Writer) + func ReadLizardXML(r io.Reader) (*lizardXML, error) + type ChurnChunk struct + Added uint + Churn uint + Commits uint + File string + Removed uint + func ReadChurn(r io.Reader) ([]*ChurnChunk, error) + type ComplexityOptions struct + Extensions string + Threads int + type Engine = string + var Lizard Engine = "lizard" + type FileStat struct + Functions FunctionsStat + Path string + type FilesStat = []*FileStat + func ParseLizard(lizard *lizardXML) (FilesStat, error) + func RunLizardCmd(repoPath string, opts ComplexityOptions) (FilesStat, error) + type FunctionStat struct + Compexity uint + File string + Length uint + Line uint + Name string + Package []string + type FunctionsStat = []FunctionStat