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
- 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
- Python is currently in beta; support for various other languages is planned
See also
Favorite site
- [https://deview.kr/data/deview/session/attach/%5B225%5D%EB%9F%B0%ED%83%80%EC%9E%84+%EB%8D%B0%EB%93%9C%EC%BD%94%EB%93%9C+%EB%B6%84%EC%84%9D+Scavenger+-+%EB%8B%B9%EC%8B%A0%EC%9D%98+%EC%BD%94%EB%93%9C%EB%8A%94+%EC%83%9D%EA%B0%81%EB%B3%B4%EB%8B%A4+%EB%A7%8E%EC%9D%B4+%EC%A3%BD%EC%96%B4%EC%9E%88%EB%8B%A4..pdf [225]Runtime+dead+code+analysis+Scavenger+-+Your+code+is+more+dead+than+you+think..pdf]
- Github - naver/scavenger: a runtime dead code analysis tool