Tag: Apex

Enforce code standards with PMD

Developers working on a project usually set coding rules to have a standardized codebase. It is an important piece of the code maintainability, and it can be very easy …
March 2023
Advices

Save some SOQL queries with the Spring ’21 new Custom Metadata Static Methods

EDIT : Despite the exciting title, I stand corrected: Even when Custom Metadata records are retrieved with SOQL Queries, these are not included in the governor limit as documented …
April 2021
Advices

Three levels of apex testing

Salesforce gives some powerful tools to test an org’s apex code. Which comes with a great responsibility: get to at least 75% coverage for all apex classes. This forces …
February 2021
Advices

Day 18: Send Custom Notifications from Apex in Winter 21′ #TexeiAdventCalendar

Hello everyone, hope you’re having a blast with our #TexeiAdventCalendar articles. This article follows the one written by Maher Ajamane a few days ago about custom notifications, to present …
December 2020
Advices