SE 4
SE 4
UNIT 4
b. Process Metrics:
Managing People
Act as project leader
Liaison with stakeholders
Managing human resources
Setting up reporting hierarchy etc.
Managing Project
Defining and setting up project scope
Managing project management activities
Monitoring progress and performance
Risk analysis at every phase
Take necessary step to avoid or come out of problems
Act as project spokesperson
Software measurement life cycle
Many other metrics include the following:
Various Size Oriented Measures
In size-oriented metrics:
Halstead metrics :
V=N*log2n
L=V*/V
D= (n1/2) * (N2/n2)
E=V/L=D*V
N=N1+N2
N^ = n1log2n1 + n2log2n2
NB = n1 * log2n2 + n2 * log2n1
NC = n1 * sqrt(n1) + n2 * sqrt(n2)
NS = (n * log2n) / 2
L' = V / D / D
lambda = L * V* = L2 * V
Cost estimation
This might be considered as the most difficult of all because
it depends on more elements than any of the previous ones.
For estimating project cost, it is required to consider -
Size of software
Software quality
Hardware
Additional software or tools, licenses etc.
Skilled personnel with task-specific skills
Travel involved
Communication
Training and support
Code documentation
Project Planning
In size-oriented metrics:
Halstead metrics :
V=N*log2n
L=V*/V
D= (n1/2) * (N2/n2)
E=V/L=D*V
N=N1+N2
N^ = n1log2n1 + n2log2n2
NB = n1 * log2n2 + n2 * log2n1
NC = n1 * sqrt(n1) + n2 * sqrt(n2)
NS = (n * log2n) / 2
L' = V / D / D
lambda = L * V* = L2 * V
4.6 COCOMO
Organic projects: These projects are small in size (not more than 50
KDLOC) and thus easy to develop. In organic projects, small teams with
prior experience work together to accomplish user requirements, which
are less demanding. Most people involved in these projects have
thorough understanding of how the software under development
contributes in achieving the organization objectives. Examples of
organic projects include simple business system, inventory management
system, payroll management system, and library management system.
Types of Models:
Basic COCOMO can be used for quick and slightly rough calculations of
Software Costs. Its accuracy is not very reliable.
Effort=a *(KLOC) a PM
1 2
D=ci (E)di
System structure
Complete structure
L=CkK1/3td4/3
Experienced staff leaving the project and new staff coming in.
Change in organizational management.
Requirement change or misinterpreting requirement.
Under-estimation of required time and resources.
Technological changes, environmental changes, business competition.
Figure: 2 Risk Management Activities
Identification - Make note of all possible risks, which may occur in the
project.
Categorize - Categorize known risks into high, medium and low risk
intensity as per their possible impact on the project.
Manage - Analyse the probability of occurrence of risks at various
phases. Make plan to avoid or face risks. Attempt to minimize their side-
effects.
Monitor - Closely monitor the potential risks and their early symptoms.
Also monitor the effects of steps taken to mitigate or avoid them.