Visit Azul.com Support

Code Inventory

Table of Contents
Need help?
Schedule a consultation with an Azul performance expert.
Contact Us

Code Inventory provides reports with an overall overview of the code that is used in production over time with no performance penalty. It provides you a comprehensive view across your enterprise’s Java workloads, down to the class, package, and method level. This makes it easy to identify unused and dead code for removal and saves developer time and money.

By providing the AppEnv tag to your JVM instances, as described here, you can group the code reports to understand which application is using specific code. This allows you to address code deletion or update requests to the responsible team.

Code Inventory reports are available:

Reported in Code Inventory

By default, Azul Intelligence Cloud collects class level information. This provides great value as it gives you insights in what classes in your code are used. If needed, finer grained reporting is available by enabling extra flags.

Method Level Information

To collect method level information, add notifyFirstCall=true to your comma-separated AZ_CRS_ARGUMENTS environment variable, see CRS Configuration Options.

Unused Methods Information

To collect information about unused methods, add sendClassMethods=true to your comma-separated AZ_CRS_ARGUMENTS environment variable, see CRS Configuration Options

Note
This extra reporting was added in the Intelligence Cloud backoffice in March 2025. Because of this change, a clear of the cache of your instance may be required if you start using this flag after this release. Contact [email protected] if you need help.