QuestionQ62

Governance

Universal Containers (UC) has several teams working on separate projects. Multiple projects will be deployed to numerous production orgs. During code reviews, the architect observes inconsistent variable naming and missing best practices.

What should an architect recommend to improve consistency?

  • A Execute regression testing before code can be committed
  • B Require pull requests to be reviewed by two developers before merging
  • C Use static code analysis to enforce coding standards
  • D Create a Center of Excellence for release management
Explanation

Static code analysis automatically evaluates source code against defined rules, including coding conventions and best-practice standards. Configurable rules enable consistent enforcement of naming and quality requirements across teams and projects. Salesforce Code Analyzer supports static analysis and rules for coding conventions and organizational coding standards.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!