Unused Apex Classes
Detect unused Apex Classes
Lists all async Apex classes (Batch, Queueable, Schedulable) that have not been called for more than 365 days.
The resulting classes can probably be removed from the project, which will improve the performance of your test classes.
The command uses queries on AsyncApexJob and CronTrigger technical tables to build the result.
Sfdx-hardis command: sf hardis:org:diagnose:unused-apex-classes
Key: UNUSED_APEX_CLASSES

