cyclomaticindex

package
v0.0.0-...-c0e470d Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package gocyclo calculates the cyclomatic complexities of functions and methods in Go source code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calculate

func Calculate(fn ast.Node) int

Calculate calculates the cyclomatic complexity of a function. The 'fn' node is either a *ast.FuncDecl or a *ast.FuncLit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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