Apex_cleaner.zip May 2026

CleanerTest.cls : Unit tests ensuring 75%+ code coverage for deployment.

: Automatically deletes ApexLog records to prevent storage bloat.

: Identifies and removes Attachment or ContentDocument records that are no longer linked to active parent records. Apex_Cleaner.zip

The package is designed for Salesforce environments to automate the removal of obsolete data, temporary logs, and orphaned records. This utility helps maintain storage limits and improves system performance by leveraging Apex Compression for efficient metadata and log handling. Package Structure & Components The .zip file contains the following directory structure: classes/

JSZip.resource : Used if the cleaner requires client-side zip handling in Lightning Components. CleanerTest

CleanerScheduler.cls : A Schedulable class to automate cleaning on a daily or weekly basis.

The manifest file listing all components for deployment via Workbench or SFDX. The package is designed for Salesforce environments to

CleanerBatch.cls : A Batchable class for processing large volumes of data without hitting governor limits.