Metrics Descriptions

From HaFrWiki
Jump to: navigation, search

ISO-9126

Nederlands English
De ISO-9126 standaard geeft kenmerken aan van goede kwaliteit software. Een onderdeel van de ISO-9126 standaard richt zich op de onderhoudbaarheid van de software.


Aspecten van onderhoudbaarheid die in ISO-9126 worden onderkend zijn:

  • Functionality
  • Reliability
  • Usability
  • Efficiency
  • Maintainability
  • Portability
"The ISO 9126 standard specifies characteristics of good quality software. A part of the ISO 9126 standard focuses on the maintainability of the software.


Aspects of maintainability in ISO 9126 are identified and discussed with other sources. The quality model classifies:

  • Functionality
  • Reliability
  • Usability
  • Efficiency
  • Maintainability
  • Portability

Toxity

Nederlands English
De toxicity van een item geeft aan op hoeveel signalen uit de Corporate Risk Policy dit item faalt. Een toxicity van 3 geeft dus aan, dat het item niet voldoet aan 3 van de signalen die zijn vastgelegd in de Corporate Risk Policy. The toxicity of an item indicates how many signals from the Corporate Risk Policy this item fails. The toxicity of 3 therefore indicates that this item does not meet 3 of the signals recorded in the Corporate Risk Policy.

The following table shows the metrics that make up the toxicity score and the corresponding base threshold on which the multipliers are based.

Metric Level Threshold
File Length file 500
Class Fan-Out Complexity class 30
Class Data Abstraction Coupling class 10
Anon Inner Length inner class 35
Method Length method 30
Parameter Number method 6
Cyclomatic Complexity method 10
Nested If Depth statement 3
Nested Try Depth statement 2
Boolean Expression Complexity statement 3
Missing Switch Default statement 1

Clone size

Nederlands English
De clone size geeft aan hoeveel characters van een item ergens anders in het systeem zijn gekopieerd.

Clones hebben een negatieve invloed op de ISO-9126 Maintainability kenmerken Analyzability and Changeability.

The clone size indicates how many characters of an entry somewhere else in the system are copied.

Clones have a negative impact on the ISO 9126 Maintainability characteristics Analyzability Ability and Changeability.


Cyclomatic Complexity

Nederlands English
Cyclomatic Complexity (CC) is een metriek die de complexiteit van een stuk software meet. De waarde geeft het aantal individuele eindpunten/paden aan die het stuk software in zich heeft.


Hoe wordt Cyclomatic Complexity geïnterpreteerd?
Hoe hoger de waarde, hoe meer er risico gelopen wordt.

Cyclomatic Complexity (CC) is a metric that measures the complexity of a piece of software. The value indicates the number of individual end points / paths that the piece of software in it.


How can the Cyclo Matic Complexity be interpreted?

  • 0 - 11 Simple software, easy testable
  • 11 - 20 Moderate complex, testing will need more attention.
  • 21 - 50 Complex software not easy to test. The corporate risk on such sofware is high
  • > 50 Very high risk, untestable software."


Logical Lines of Code

Nederlands English
Logical Lines of Code meet het aantal statements in de code en is een goede indicatie van de omvang van programmatuur.

De Functiepunten die hier worden genoemd, zijn gebaseerd op de Logical Lines of Code. Functiepunten die op deze manier worden berekend staan bekend onder de naam Backfire Function Points. Voorzichtigheid is geboden bij op deze manier berekende FPs.

Logical Lines of Code measures the number of statements in the code and is a good indication of the size of software.

The Function points mentioned here are based on the Logical Lines of Code, also known as Backfiring Function Points. The results of such calculations has to be handled with great care, because the variation in the results may very heavily.

Maintainability Index (MI)

Nederlands English
De Maintainability Index (MI) is een bekende software metriek die wordt bepaald aan de hand van een aantal andere traditionele software metrieken. Het resultaat is een getal die de onderhoudbaarheid of relatieve onderhoudbaarheid van een software systeem The Maintainability Index (MI) is a known software metrics determined on the basis of a number of other traditional software metrics. The result is a number that the relative maintainability or maintainability of a software system.

There are 2 expressions MI3 and MI4:

MI3 MI4 Description
>= 50 >= 85 High. The system is easy to maintain.
  65 - 85 Moderate. It is relative easy to maintain the system. There is room for improvement.
<= 50 <= 65 Low. The system lacks support to be maintained. Improvement needed.
Change management (Program Code Changes) may cause immediate problems.

Fan-In Fan-out

Nederlands English
Fan-in geeft aan hoeveel inkomende relaties een object heeft.

Deze metriek is met name interessant in Object Georienteerde systemen (Java, C#, e.d.)
Een hoge Fan-in is niet automatisch slecht. Het is een indicatie voor hergebruik van software componenten.

  • Fan in = aantal functies/methodes die deze functie/Methode aanroepen.
  • Fan out= aantal functies/methodes die door deze functie/Methode worden aangeroepen.
Fan-in indicates how many incoming links an object.

This metric is particularly interesting in Object Oriented Systems (Java, C #, etc.)
High Fan-in is not automatically bad. It is an indication for the reuse of software components

  • Fan-In = number of procedures that call this procedure
  • Fan-Out= number of procedures this procedure calls

Number of parameters

Nederlands English
Het aantal parameters dat een programma-onderdeel ontvangt/teruggeeft is een indicatie van de stabiliteit. Hoe meer parameters worden doorgegeven, hoe groter het risico is dat een voorgestelde wijziging op een onderdeel invloed heeft op andere onderdelen. The number of parameters that a program component receives / returns is an indication of stability. The more parameters are passed, the greater the risk that a proposed change to a part affects other parts.

Volume

Nederlands English
Volume geeft de reconstructie waarde manmaanden op basis van de grootte van het systeem. Een volume met 5-sterren in de ISO-9126-array, een klein systeem. Een volume van 1-ster voor een groot systeem. " Volume indicates the reconstruction value in man months, on the basis of the size of the system. A volume with 5-stars in the ISO-9126 array, a small system. A volume of 1-ster is for a very large system.


Template

Nederlands English
   


See also

top

References

top