0.1.0 Alpha 2
Pre-release
Pre-release
Alpha release of in-progress Helsing CLI
Additions/Changes from Alpha 1
- Added some missing detection for annotation, interface, and exception-based uses of classes
- Added ability to exclude file-style name patterns for classes via
--exclude
. Classes are still evaluated as potential "users" of other classes, but are ignored as potential dead code
Use
Helsing is currently in initial (alpha) development. It currently provides a single command, dead-class
, which analyzes *.class
files within an application and determines which, if any, are not currently referenced within the available source
To use, get the standalone (capsule) jar and run
java -jar <jar name> dead-classes --directory <project directory>
on a built project (built meaning the project directory contains compiled *.class
files). Additionally, the --trace
argument may be given a full-qualified class name, which will log additional information about the structure discovered for that class (if a use of another class isn't being detected within it), an the discovered uses of that class