Difference between revisions of "Metrics Maintenance"
(Created page with "{{TOCright}} The Maintenance metrics as described by Omnext. == Omnext MI == === MI3 === {| class="wikitableharm" |- ! width="100" | Name/Item ! width="750" | Description |...") |
m |
||
Line 1: | Line 1: | ||
{{TOCright}} | {{TOCright}} | ||
− | The Maintenance metrics as | + | The Maintenance metrics description as been used in the Omnext Source2Value tooling <ref name="omnext">[http://www.omnext.com Omnext], Home page</ref>. |
== Omnext MI == | == Omnext MI == | ||
Line 74: | Line 74: | ||
<references/> | <references/> | ||
− | |||
[[Category:Metrics]] | [[Category:Metrics]] | ||
[[Category:Index]] | [[Category:Index]] |
Latest revision as of 19:21, 11 November 2012
Contents |
The Maintenance metrics description as been used in the Omnext Source2Value tooling [1].
Omnext MI
MI3
Name/Item | Description |
---|---|
Requirement: | Source2VALUE shall measure the relative maintainability of the code by calculating the Maintainability Index (MI3). |
Formula: | MI3 = 171 - 5,2ln(aveV) - 0,23*aveV(g') - 16,2ln(aveLOC) Where:
|
Rationale: | The Maintainability Index is a known metric that's being used for calculating the maintainability of the software. It thereby helps reducing or reversing the system's tendency towards 'code entropy' or degraded integrity and to determine whether it's cheaper and/or less risky to rewrite the code than it is to change. The metric uses the lines of code measure, the McCabe CC measure and a Halstead measure which make it a important indicator of the complexity and size of the system. |
Fit criterion: | The MI3 value of the system component in the Source2VALUE Portal must be the same as the MI3 value that is calculated manually. |
Testcase: |
|
MI4
Name/Item | Description |
---|---|
Requirement: | Source2VALUE shall measure the relative maintainability of the code by calculating the Maintainability Index (MI4). |
Formula: | MI4 = 171 - 5,2ln(aveV) - 0,23*aveV(g') - 16,2ln(aveLOC) + 50.0sins(√(2.46perCM)) Where:
|
Rationale: | The Maintainability Index is a known metric that's being used for calculating the maintainability of the software. It thereby helps reducing or reversing the system's tendency towards 'code entropy' or degraded integrity and to determine whether it's cheaper and/or less risky to rewrite the code than it is to change. The metric uses the lines of code measure, the McCabe CC measure, a Halstead measure and the comment lines measure, which make it a important indicator of the complexity and size of the system. |
Fit criterion: | The MI4 value of the system component in the Source2VALUE Portal must be the same as the MI4 value that is calculated manually. |
Testcase: |
|