Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.33 KB

readme.md

File metadata and controls

31 lines (26 loc) · 1.33 KB

Tattletale analyzes Java classes in archives (JAR, WAR, RAR, EAR) and builds HTML reports that

  • Identify runtime (bytecode) dependencies between archives on a class/package level
  • Find missing classes from the classpath
  • Spot if a class/package is located in multiple archives
  • Spot if the same archive is located in different places
  • List what each archive requires and provides
  • Verify the SerialVersionUID of a class
  • Find similar archives that have different version numbers
  • Find archives without a (valid) version number
  • Find unused archives
  • Identify sealed/signed archives
  • Locate a class in an archive
  • Show the OSGi status of your project
  • Identify blacklisted API usage

Command line invocation

java -jar tattletale.jar [-title=<title>] [-components[=<regex>]] [-exclude=<excludes>] <input>[#<input>] [<output-directory>]
  • -title puts <title> on report index page
  • -components performs analysis of nested archives (ear, war, rar) on a component level; <regex> groups class files in classes directory by matching paths, for instance, com|org/\w+
  • -exclude removes archives with names or paths matching comma-separated list <excludes> from analysis
  • <input> must be an archive or a directory containing Java archives

If <output-directory> is not provided, current directory is used.