Documentation

This commit is contained in:
Clément Fournier
2017-09-07 17:11:25 +02:00
parent 9bf8a50a30
commit cb76a82e77

View File

@ -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." %}