metrics.pptx
metrics.pptx
• Module A:
n1=10(unique operators)
n2=15 (unique operands)
N2=100(total operands)
V=300 (program volume)
Module B:
n1=5
n2=10
N2=80
V=250
• Metrics for Software Maintenance
• For the maintenance activities, metrics have been designed
explicitly. IEEE have proposed Software Maturity Index (SMI),
which provides indications relating to the stability of software
product. For calculating SMI, following parameters are considered.
• Number of modules in current release (MT)
• Number of modules that have been changed in the current release
(Fe)
• Number of modules that have been added in the current release
(Fa)
• Number of modules that have been deleted from the current
release (Fd)
• Once all the parameters are known, SMI can be calculated by using
the following equation.
• SMI = [MT– (Fa+ Fe + Fd)]/MT.
• Note that a product begins to stabilize as SMI reaches 1.0. SMI can
also be used as a metric for planning software maintenance
activities by developing empirical models in order to know the
effort required for maintenance.