20.7. Element: QuickRev / Metrics

The element Metrics provides some statistical data of the review.

Name Values Description
Element Metrics Effort, Comments, Files, NumberOfLines, Severity+, State+, user defined countable components* Contains some metrics of the review.
Element Effort hh:mm The sum of all TimeField elements with name Effort from the Conclusion elements.
Element Comments EMPTY Statically information about the comments.
Attributes count number The overall number of comments made in this review.
Element Files EMPTY Statically information about the files to be reviewed.
Attributes count number The overall number of files to be reviewed.
Element NumberOfLines EMPTY Statically information about the line numbers.
Only files with contentType text are taken into account.
Attributes total number The overall number of lines of all files to be reviewed.
nonEmpty number The overall number of non-empty lines of all files to be reviewed.
Element Severity EMPTY Statically information about the selected severities.
For every Severity one element will be written.
Attributes name string The name of the severity.
count number The number of comments where the severity with the assigned name is selected.
Element State EMPTY Statically information about the selected state.
For every State one element will be written.
Attributes name string The name of the state.
count number The number of comments where the state with the assigned name is selected.
Element user defined countable components string If additional components are configured for the Conclusion tabs, for every component which is countable (e.g. TimeField) an element with the name of the component name will be stored here. The content of the element is the sum of all values of the elements with the same name.
(The Effort element is one example for a countable element.)
[See] Configuration of own components
<?xml version="1.0" encoding="UTF-8"?>
<QuickRev version="1.8.0">

    <Metrics>
        <Effort>01:25</Effort>
        <Comments count="2"/>
        <Files count="3"/>
        <NumberOfLines total="1455" nonEmpty="1251"/>
        <Severity count="0" name="Major"/>
        <Severity count="1" name="Minor"/>
        <Severity count="1" name="Spelling"/>
        <State count="2" name="Accepted"/>
        <State count="0" name="Rejected"/>

        <!-- ... plus user defined countable components (e.g. from TimeFields) ... -->

    </Metrics>

</QuickRev>

Get QuickRev at SourceForge.net. Fast, secure and Free Open Source software downloadsCopyright 2008 - 2016 Tom SeidelLast Update: 2016-11-5