The compliant (or non-compliant) code example seems irrelevant, why is that?

  • Updated

The code examples exist to provide a glimpse into the nature of the issue (and how to fix it), but the rest of the Best Practice entry - such as the description and recommended changes - is equally important in understanding what the problem is and how to resolve it. In most instances, the code examples provided in AMP will be relevant to the Best Practice and violations generated in the reports. In cases where the code example does not seem directly relevant, it is likely that it should be viewed in context with the rest of the Best Practice information to understand the violation more fully.


Was this article helpful?

1 out of 1 found this helpful