Yagni is a static code analyzer that helps you find unused code in your applications and libraries.
Yagni works by identifying all of the interned vars and declared Java classes in the namespaces findable within your :source-paths, and then walking the forms of those vars and declarations.
As it walks the forms, it builds a graph of references to other vars and declarations. It then searches the graph from a set of entrypoints (by default your project’s :main method), and emits warnings for anything that it couldn’t find in the graph’s search.
This is free and open source software.
Website: github.com/venantius/yagni
Support:
Developer: W. David Jarvis
License: Eclipse Public License
Yagni is written in Clojure. Learn Clojure with our recommended free books and free tutorials.
Related Software
| Clojure Linter Tools | |
|---|---|
| kibit | Static code analyzer for Clojure, ClojureScript, cljx and other Clojure variants |
| Joker | Small Clojure interpreter, linter and formatter |
| eastwood | Inspects namespaces and reports possible problems |
| clj-kondo | Static analyzer and linter for Clojure |
| Splint | Focuses on style and code shape |
| Yagni | Leiningen plugin for finding dead code |
| lein-bikeshed | Leiningen plugin |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

