Paul Krill
Editor at Large

Azul cloud service spots dead code in Java apps

news
Oct 7, 20232 mins

A new feature of the Azul Vulnerability Protection service identifies unused code in production Java applications, aiming to ease maintenance for developers.

A scene from 'Day of the Dead'
Credit: Shout! Factory

Java software and services provider Azul has added a code inventory capability to identify “dead” code via its Azul Vulnerability Protection agentless cloud service forJava applications.

Introduced October 4 and available now at no additional cost to Azul Vulnerability Detection users, the Code Inventory feature offers developers and devops teams a catalog of source code being used in production Java applications. This enables accurate identification of dead and unused code for removal. Azul described dead code as source code residing in an applications codebase but not used by the application.

Code Inventory catalogs which code has run in production so teams can make informed decisions about what code should be removed. With Code Inventory, Azul aims to reduce the time needed to maintain and test code, thus improving developer productivity and saving money. Information is collected during production, with no performance penalty, and no changes are required to Java applications, Azul said.

Detailed code information is collected at the class/package level from inside the JVM to create a comprehensive view across Java workloads of what code runs in production over time. This data offers accurate and strong signals to confidently prioritize dead code for removal, Azul said. Code Inventory is part of Azul Vulnerability Detection, a cloud service for Azul JVMs that continuously detects security vulnerabilities in applications and infrastructure in production.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author