A DITA Map Metrics Report action is available on
the DITA Maps Manager toolbar and in the DITA
Maps main menu. It generates an overview report that contains useful statistics
for a DITA map.
As an alternate approach, to create a metrics report from a
DITA map using a transformation scenario,
follow these steps:
- Select the
Configure Transformation Scenario(s) action from
the DITA Maps
Manager
toolbar.
- Select the DITA Map Metrics Report scenario
from the DITA Map section.
- Run the transformation.
The generated HTML report contains information such as:
- The number of processed maps and topics.
- The number of
map/bookmap/topic/task/concept/reference types in the
DITA map.
- Content reuse percentage.
- Number of elements and attributes of different types used in the
entire DITA map structure.
- Number of words and characters used in the entire DITA map structure.
- DITA conditional processing attributes used in the DITA
maps.
- Processing instructions.
- External links.
- All
@outputclass attribute values gathered from the
DITA project.
Important: If you have cross references that point to
content outside the scope of the DITA map, that referenced content is not counted. For
example, if you have links to topics that are not included in the DITA map hierarchy, the
content in those topics is ignored when generating the statistics.
The metrics report can also be obtained in XML format, making it possible to construct a
metrics report evolution between multiple versions of
the same DITA project.