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 |
| clojure-lsp | Language server providing Clojure and ClojureScript tooling |
| Splint | Focuses on style and code shape |
| Carve | Find and remove unused functions and namespaces in Clojure |
| clj-depend | Analyse and enforce namespace dependencies in Clojure projects |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.