Apex Code Metrics
Paste Apex code to analyze LOC, complexity, method classifications, and nesting depth.
Apex Code Metrics
Apex Code Metrics is a free, client-side tool designed to help developers with static analysis of apex code — loc, cyclomatic complexity, method classification, nesting depth..
How to Use
- Input your data into the primary editor or upload a file.
- Adjust any necessary configuration options.
- View the output in real-time or click the action button to process.
- Copy or download the results securely.
Privacy First
All processing happens directly in your browser. We never send your sensitive data to our servers.
Frequently asked
Related Tools
Debug Log Analyzer
Analyze Apex debug logs with flame tree, governor limits & SOQL breakdown.
Governor Limits Reference
Searchable reference of all Salesforce governor limits with sync/async values and best practices.
Apex Trigger Scaffolder
Generate Apex trigger + handler class boilerplate with bulkified patterns and test class.
SOQL Query Builder
Build SOQL queries visually with field autocomplete.
SF Object Field Analyzer
Analyze Salesforce object fields from describe API responses.
Permission Set Diff
Compare two Salesforce Permission Set XMLs side by side.