Work on the Quality model
The editor for the file "qualitymodel.xml" has two pages.
A page with pure xml and a page where you can create the quality model
with gui-support.
For the structure of the xml document see qualitymodel.dtd.
The model hierarchy
The Quality model is structured as graph.
The root is the name of the Quality model.
Below the model you can add quality features or quality metrics.
Below the features you can add features or metrics again.
Below metrics you can't add anything.
For the model, the features and the metrics you can enter the
- Element name: An unique name for the new element (e.g. 'LOC'). This value is necessary.
- Full name: The full name of the element (e.g. 'Lines of Code').
- Description: A description for the element.
The element name of the metrics is the id to find the results, that belong to this metric.
As the model is not just a tree but a graph, nodes or leafs can be added more than once.
So if you delete a node or a leaf that is connected somewhere different,
you will be asked, if you want to delete all occurrences or just the current reference.
If you open the popup-menu at an element, you can open the
Quality Hierarchy with this element as root.
The ratings' domain
In the context of the Quality model, you can define the
minimum and the maximum value for rating features (including the quality itself)
and metrics. Additionally you can define the domain for the estimated effort.
This assessments can be done when you open results into the Results View,
see View measured results.