Giter VIP home page Giter VIP logo

helsing's Introduction

Helsing

Provides utilities for finding unused code within a self-complete application code base

Contributing

Information for how to contribute can be found in the contribution guidelines

Use

Helsing is currently in initial (alpha) development. In current provides a single command, dead-class-candidates, which analyzes *.class and *.java files within an application and determines which, if any, are not currently referenced within the available source

To use, get the standalone jar from the latest alpha tag, and run

java -jar <jar name> dead-class-candidates --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

Two other arguments are supported: --external and --exclude. These take one or more class/package patterns (org.company.Class, org.company.*). The external argument still evaluates matching class's use of other classes, but does not consider those classes as "dead" if they are not referenced. The exclude argument ignores matching classes during analysis entirely.

Legal

This project is distributed under the MIT License. There are no requirements for using it in your own project (a line in a NOTICES file is appreciated but not necessary for use)

The requirement for a copy of the license being included in distributions is fulfilled by a copy of the LICENSE file being included in constructed JAR archives

Reporting Vulnerabilities

If you discover a security vulnerability, contact the development team by e-mail at [email protected]

Projects

TODO Describe any sub-projects

helsing's People

Contributors

romeara avatar yevster avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.