From 267450e7418b1653d34c61b690007738a8ae1c94 Mon Sep 17 00:00:00 2001 From: Isaev Denis Date: Mon, 9 Sep 2019 16:52:32 +0300 Subject: [PATCH] Add funlen --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 9bb39eb..bc9fab1 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ Sponsored by [GolangCI](https://golangci.com): SaaS service for running linters ### Code Complexity * [abcgo](https://github.com/droptheplot/abcgo) - ABC metrics for Go source code. * [depth](https://github.com/360EntSecGroup-Skylar/goreporter/tree/feature-3.0/linters/depth) - Count the maxdepth of go functions. It's helpful to see if a function needs to be splitted into several smaller functions, for readability purpose. +* [funlen](https://github.com/ultraware/funlen) - linter that checks for long functions. It can check both the number of lines and the number of statements. * [gocyclo](https://github.com/alecthomas/gocyclo) - Computes and checks the cyclomatic complexity of functions. * [nakedret](https://github.com/alexkohler/nakedret) - nakedret is a Go static analysis tool to find naked returns in functions greater than a specified function length. * [splint](https://github.com/stathat/splint) - It finds any functions that are too long or have too many parameters or results.