Salesforce Certified Development Lifecycle and Deployment Architect — Question 38
Universal Containers has 80% code coverage. Despite the creation of a test plan for each sprint, the number of defects is large.
What two items should the architect recommend to reduce defects? (Choose two.)
Answer options
- A. The test script should be used to define the test classes.
- B. The code coverage should be increased to 95%.
- C. The test analyst who creates the test plan must also create the test classes.
- D. The acceptance criteria should have more details.
Correct answer: B, D
Explanation
Increasing code coverage to 95% (option B) is essential because higher coverage typically correlates with fewer defects. Additionally, making the acceptance criteria more detailed (option D) helps ensure that all necessary conditions are met during testing, which can lead to fewer missed requirements and defects. The other options do not directly address the root causes of defects as effectively.