|
|
If you have doubts about the measures computed by Squore and their meaning, they can usually be solved by looking at the Measures tab of the Explorer. The content of the measures tab is also always refreshed to reflect the data for the current artefact, and is organised in a table displaying the measure's mnemonic, full name, description and value for the current selection, as shown in the picture below.
Measures can be sorted by mnemonic, name, description or value, and the sorting value is remembered when selecting another artefact in the tree so you can easily compare values.
The table also tells you which Data Provider reported the metric (new in 17.0) and its status in the latest analysis, so you can determine if a metric was computed or has its default value from the analysis model. The possible status values are:
Default Value: This measure has the default value defined in the analysis model
Ok: A value was computed successfully for this measure
User-defined: The value was set by the user (either via a tag on the command line or in the Forms tab of the web UI)
Definition error: The value could be computed because of an error in the analysis model. Check the Model Validator to learn more.
Incomplete: The value could not be computed because of an error (maybe a division by zero?). The analysis model should probably be updated to avoid this in the future. This error is also available in the project's build.log.
Warning: The value could not be computed, but there is nothing wrong with the measure definition in the analysis model. Maybe you are trying to do a COUNT on descendants but there are no descendants? In such cases, the error is not serious, but you can improve your analysis model to handle the warning if needed.
-: This measure was not found in the project. It did not exist at the time of the analysis.
Unknown: An unexpected error happened computing the measure's status
In all error statuses above, the metric is assigned the default value defined in the analysis model.