Prev - Next - Down | SDMetrics - the UML design measurement tool |
The SDMetricsML definitions are read by the "metrics engine", a subsystem of SDMetrics that interprets the metric definitions and calculates the metrics for a UML model accordingly. Likewise, the "rule engine" checks the design rules defined through SDMetricsML for a UML model.
Occasionally, the capabilities of the SDMetricsML/metrics/rule engine may be insufficient or inefficient for your measurement needs. For these situations, the metrics engine and rule engine provide a plugin mechanism to extend their calculation capabilities and the SDMetricsML. The plugins add new metric, set, or rule checking procedures that implement new or special purpose algorithms. Users can then write SDMetricsML definitions as usual, using the new metric procedures.
This section describes how to develop such plugins for the metrics and rule engine. The plugins are implemented in the Java programming language. Writing a plugin thus requires Java skills and a Java compiler.
Prev | Up | Next |
Section 8.6 "Writing Descriptions" | Contents | Section 9.1 "Metric Procedures" |