Documentation
This commit is contained in:
@ -14,9 +14,6 @@ permalink: pmd_devdocs_metrics_howto.html
|
||||
{%include note.html content="Using the metrics framework is for now restricted to Java rules (with plans to support
|
||||
XPath rules later)." %}
|
||||
|
||||
To use the metrics framework in a custom rule, the first thing to do would be to **enable metrics by adding the
|
||||
`metrics="true"` attribute** to your rule's XML element.
|
||||
|
||||
{%include note.html content="The following explains how to use the Java metrics framework. The Apex framework
|
||||
differs only by the name of its classes." %}
|
||||
|
||||
|
Reference in New Issue
Block a user