Field: Name
Regex: ^([A-Z][A-Za-z0-9_]*(Controller|CallIn|CallOut|Test|Helper|Mapping|Mock|TriggerHandler|Wrapper|Batchable|Queuable|Schedulable|EntityManager|ServiceManager|DataManager))|(TestDataFactory|Constant)$
- ActivityTimelineController
- ActivityTimelineControllerTest
- RetrieveInteractionsMapper
- RetrieveInteractionsMock
Field: Body
- No DML in loop
- Optimize SOQL with related lists
- No Hardcoded values
Field: Body.description
/**
* BoatDataService exposes utilities to manipulate data related to boat
* @author "John Doe"
* @date 25/04/2023
**/
public with sharing class BoatDataService {
public static final String LENGTH_TYPE = 'Length';
@AuraEnabled(cacheable=true)
public static List<Boat__c> getBoats(String boatTypeId) {
}
}Field: Body.author
/**
* BoatDataService exposes utilities to manipulate data related to boat
* @author "John Doe"
* @date 25/04/2023
**/
public with sharing class BoatDataService {
public static final String LENGTH_TYPE = 'Length';
@AuraEnabled(cacheable=true)
public static List<Boat__c> getBoats(String boatTypeId) {
}
}Field: SymbolTable.variables
Regex: ^[a-z][A-Za-z0-9]*$
Field: SymbolTable.methods
Regex: ^[a-z][A-Za-z0-9]*$