Skip to content
Search

Scavenger

lastmod 2023-03-06created 2023-03-061 edits

Open-source runtime dead code analysis tool

Features

  • Open source released by Naver. Used in about 80 services within Naver
  • Dead code: code that is never executed / code that, even when executed, does not affect application behavior
  • Problems with dead code
    • Makes the system harder to understand/maintain
    • Hurts performance/security
    • Slows down compilation/testing, reducing overall development speed
  • Scavenger
    • Can check method calls without debugging or adding logs
    • Collects method call records and visualizes them for the user
    • Easy to use as a Java agent
  • Supports only JVM-based languages (Java, Kotlin)
    • Python is currently in beta; support for various other languages is planned

See also

Favorite site

author Zer0 sitemap