Skip to content

Latest commit

History

80 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Analyzers

mutility-analyzers is a collection of the best analyzers in the mutility project.

Use

Run from source with go run github.com/mutility/analyzers/cmd/mutility-analyzers@latest or install with go install github.com/mutility/analyzers/cmd/mutility-analyzers@latest and run mutility-analyzers from GOPATH/bin.

Most of the included analyzers offer some level of configuration through flags.

Available analyzers and commands

  • Unused Results: report results that appear to always be ignored
  • Variable Format: report non-const, non-literal strings passed to printf-like functions
  • Parameter Swap: report arguments that appear to be swapped
  • Undeferred: report named returns that appear to be misused

Backwards Compatibility

Previously mutility-analyzers included varfmt directly, so for now it still includes stubs. Please update your references to use variable-format as the stubs will be removed from here in the future.

About

Source analyzers for go

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages