To Do Checklist Before Code Commit In Production

To Do Checklist Before Code Commit In Production

TO DO CHECKLIST BEFORE CODE COMMIT IN PRODUCTION

  1. Proper commenting in code (Test Class, Apex Class, Trigger, Vf page), if you modified or create new component
  2. Comparison of code with production, if multiple user are working on same functionality then deployment should not hamper other functionality in production
  3. We can use version tool like Git/Bitbucket
  4. Test Class coverage above 75%. If below this, we should have justification about this.
    • Common class for creating object instance.
    • Bulkification.
    • See all data = false
    • Assert Statement.
    • Run with specific user.
  5. Code Optimization
    • Null Checks.
    • Bulkification.
    • Save point, if required.
    • Indentation.
    • Try, Catch on DML Operation.
    • Remove all the unnecessary system.debug statements and commenting code.
    • Should not contain hardcode values.
    • Following Image stated the follow of Development to End to End delivery of code.

 

Capture

Popular Salesforce Blogs

Steps to Connect Pardot to Salesforce

Steps to Connect Pardot to Salesforce

Blog in

Steps to Integrate Salesforce and Pardot: There are some steps to install Pardot in salesforce 1- Click on this link https://login.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t1W000000U7P8(production) https://test.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t1W000000U7P8 (sandbox) 2- After…

Skip to toolbar