SE Module2
SE Module2
SE Module2
Technology
Software Engineering
Module-2
Software Metrics and Project Planning
1
Software Metrics
A software metric is a measure of software characteristics
which are measurable or countable. Software metrics are
valuable for many reasons, including measuring software
performance, planning work items, measuring productivity,
and many other uses.
Characteristics of software Metrics:
1. Quantitative: Metrics must possess quantitative nature. It means metrics can be expressed
in numerical values.
2. Understandable: Metric computation should be easily understood, and
the method of computing metrics should be clearly defined.
3. Applicability: Metrics should be applicable in the initial phases of the
development of the software.
4. Repeatable: When measured repeatedly, the metric values should be the
same and consistent in nature.
5. Economical: The computation of metrics should be economical.
6. Language Independent: Metrics should not depend on any programming
language.
Classification of software metrics
1.Product Metrics: These are the measures of various characteristics of the
software product. Th e two important software characteristics are:
1. Size and complexity of software.
2. Quality and reliability of software.
3. Project metrics are the metrics used by the project manager to check the
project's progress. Data from the past projects are used to collect various
metrics, like time and cost; these estimates are used as a base of new software.
Note that as the project proceeds, the project manager will check its progress
from time-to-time and will compare the effort, cost, and time with the original
effort, cost and time.
Types of Measurement
Direct Measures:
Easy to collect
eg-cost, effort, Lines of Code(LOC),execution speed,
memory size, defects etc
Indirect Measures
More difficult to access and can be measured indirectly only
Quality, functionality, complexity, reliability,
efficiency,maintainability etc.
For this we need size and complexity of the projects.
But if we normalize the measures,it is possible to
compare the two
For normalization we have two ways:
It is one of the earliest and simpler metrics for calculating the size of the computer program. It is
generally used in calculating and comparing the productivity of programmers. These metrics are
derived by normalizing the quality and productivity measures by considering the size of the
product as a metric.
Simple size oriented metrics can be developed for each project
Function Oriented Metrics
The functional complexities are multiplied with the corresponding weights against each
function, and the values are added up to determine the UFP (Unadjusted Function Point)
of the subsystem.
Here that weighing factor will be simple, average, or complex for a measurement
parameter type.
The Function Point (FP) is thus calculated with the following formula.
∑(fi) is the sum of all 14 questionnaires and show the complexity adjustment value/ factor-CAF
(where i ranges from 1 to 14). Usually, a student is provided with the value of ∑(f i)
Static Multi-variable model:This model is used to estimate the effort, cost and development time
for a software project with depends on multiple internal or external variables I .e.Effort Adjustment
Factor (cost driver factors). The relationship is given by:
Amity School of Engineering &
Technology
Thank you
30