Go source file checker
Go
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
.gitignore moved files from private to public Dec 18, 2011
LICENSE added license file Dec 18, 2011
README.md fixed links Mar 23, 2015
splint.go Add check for long if bodies Mar 24, 2016

README.md

splint

splint is a little Go application to analyze Go source files. It finds any functions that are too long or have too many parameters or results.

These are typical signs that a function is doing too much. We find splint to be a helpful tool for detecting potential problem areas in our code, areas that should be refactored. We tolerate long functions and functions with long parameter/result lists when they are needed, but generally try to keep them short.

Installation

Use go install:

go install stathat.com/c/splint

Usage

Examples available at www.stathat.com/c/splint.

Contact us

We'd love to hear from you if you are using splint! We're on twitter: @stat_hat or contact us here.

About

Written by Patrick Crosby at StatHat. Twitter: @stathat