Proj Mgmt1
Proj Mgmt1
Introduction
Introduction
Goal of software project management:
enable a group of engineers to work efficiently towards successful completion of a software project.
Introduction
A project managers activities are varied.
can be broadly classified into:
project planning, project monitoring and control activities.
Project Planning
Once a project is found to be feasible,
project managers undertake project planning.
Miscellaneous plans:
identification, analysis, and abatement procedures quality assurance plan, configuration management plan, etc.
Project planning
Requires utmost care and attention --commitments to unrealistic time and resource estimates result in:
irritating delays. customer dissatisfaction adverse affect on team morale project failure.
poor quality work
protects managers from making big commitments too early. More information becomes available as project progresses. Facilitates accurate planning
10
SPMP Document
After planning is complete:
Document the plans: in a Software Project Management Plan(SPMP) document.
11
Project Estimates (Historical Data,Estimation Techniques,Effort, Cost, and Project Duration Estimates) Project Resources Plan (People,Hardware and Software,Special Resources) Schedules (Work Breakdown Structure,Task Network, Gantt Chart Representation,PERT Chart Risk Management Plan
Procedures) Representation) (Risk Analysis,Risk Identification,Risk Estimation, Abatement
12
13
Scheduling
14
15
Analytical techniques:
17
Size can vary with coding style. Focuses on coding activity alone. Correlates poorly with quality and efficiency of code. Penalizes higher level programming languages, code reuse, etc.
18
20
Interface:
(CONT.)
the size of a function is considered to be independent of its complexity. Feature Point metric: considers an extra parameter:
22
(CONT.)
Opponents claim:
FP is language independent. Size can be easily derived from problem description it is subjective --- Different people can come up with different estimates for the same problem.
23
Expert judgement
Experts divide a software product into component units:
e.g. GUI, database module, data communication module, billing module, etc.
25
Delphi Estimation:
Team of Experts and a coordinator. Experts carry out estimation independently:
mention the rationale behind their estimation. coordinator notes down any extraordinary rationale:
circulates among experts.
26
Delphi Estimation:
Experts re-estimate. Experts never meet each other
to discuss their viewpoints.
27
Assumes that the parameter to be estimated depends on more than one characteristic. Usually more accurate than single variable models.
COCOMO Model
COCOMO (COnstructive COst MOdel) proposed by Boehm. Divides software product developments into 3 categories:
Organic Semidetached Embedded
29
30
Semidetached: Embedded:
Project team consists of a mixture of experienced and inexperienced staff. The software is strongly coupled to complex hardware, or real-time systems.
31
COCOMO Model
(CONT.)
equations to predict:
COCOMO Model
(CONT.)
33
(CONT.)
KLOC is the estimated kilo lines of source code, a1,a2,b1,b2 are constants for different categories of software products, Tdev is the estimated time to develop the software in months, Effort estimation is obtained in terms of person months (PMs).
34
Semi-detached: Embedded:
Semi-detached: Embedded:
(CONT.)
be Em
e dd
id em S
ed ch a et
Or
ic an g
Size
37
(CONT.)
O
30K
Size
60K
38
(CONT.)
(CONT.)
Development time is roughly the same for all the three categories of products:
For example, a 60 KLOC program can be developed in approximately 18 months
regardless of whether it is of organic, semidetached, or embedded type. than utility programs.
There is more scope for parallel activities for system and application programs,
40
Example
The size of an organic software product has been estimated to be 32,000 lines of source code. Effort = 2.4*(32)1.05 = 91 PM
41
Intermediate COCOMO
Basic COCOMO model assumes
effort and development time depend on product size alone.
42
Intermediate COCOMO
For accurate estimation,
the effect of all relevant parameters must be considered: Intermediate COCOMO model recognizes this fact:
refines the initial estimate obtained by the basic COCOMO by using a set of 15 cost drivers (multipliers).
43
Intermediate COCOMO
(CONT.)
If modern programming practices are used, If there are stringent reliability requirements on the product :
initial estimates are scaled downwards.
Intermediate COCOMO
(CONT.)
Intermediate COCOMO
(CONT.)
Product: Inherent complexity of the product, reliability requirements of the product, etc. Computer: Execution time, storage requirements, etc. Personnel: Experience of personnel, etc. Development Environment: Sophistication of the tools used for software development.
46
47
Complete COCOMO
Cost of each sub-system is estimated separately. Costs of the sub-systems are added to obtain total cost. Reduces the margin of error in the final estimate.
48
50
51
Rayleigh curve represents the number of full-time personnel required at any time.
52
Rayleigh Curve
Rayleigh curve is specified by two parameters: Effort
td the time at which the curve reaches its maximum K the total area under the curve. Rayleigh Curve
Time
td
L=f(K, td)
53
Putnams Work:
In 1976, Putnam studied the problem of staffing of software projects:
observed that the level of effort required in software development efforts has a similar envelope. found that the Rayleigh-Norden curve
relates the number of delivered lines of code to effort and development time.
54
Putnams Work
(CONT.)
Putnam analyzed a large number of army projects, and derived the expression: L=CkK1/3td4/3
K is the effort expended and L is the size in KLOC. td is the time to develop the software. Ck is the state of technology constant
reflects factors that affect programmer productivity.
55
Putnams Work
(CONT.)
Ck=2 for poor development environment Ck=8 for good software development environment Ck=11 for an excellent environment
56
no methodology, poor documentation, and review, etc. software engineering principles used
Rayleigh Curve
Very small number of engineers are needed at the beginning of a project As the project progresses:
carry out planning and specification. more detailed work is required, number of engineers slowly increases and reaches a peak.
57
Rayleigh Curve
Putnam observed that:
the time at which the Rayleigh curve reaches its maximum value After system testing,
corresponds to system testing and product release. the number of project staff falls till product installation and delivery.
58
Rayleigh Curve
From the Rayleigh curve observe that:
approximately 40% of the area under the Rayleigh curve is to the left of td and 60% to the right.
59
Using the Putnam's expression for L, K=L3/Ck3td4 Or, K=C1/td4 For the same product size, C1=L3/Ck3 is a constant. Or, K1/K2 = td14/td24
60
Cost
Observe:
(CONT.)
Also, observe:
benefits can be gained by using fewer people over a somewhat longer time span.
61
Example
If the estimated development time is 1 year, then in order to develop the product in 6 months,
the total effort and hence the cost increases 16 times. In other words,
the relationship between effort and the chronological delivery time is highly nonlinear.
62
Putnam model indicates extreme penalty for schedule compression Putnam estimation model works reasonably well for very large systems,
but seriously overestimates the effort for medium and small systems. and extreme reward for expanding the schedule.
63
Boehm observed:
There is a limit beyond which the schedule of a software project cannot be reduced by buying any more personnel or equipment. This limit occurs roughly at 75% of the nominal time estimate.
64
If a project manager accepts a customer demand to compress the development time by more than 25%
very unlikely to succeed.
every project has only a limited amount of parallel activities sequential activities cannot be speeded up by hiring any number of additional engineers. many engineers have to sit idle.
65
Jensen Model
Jensen model is very similar to Putnam model.
attempts to soften the effect of schedule compression on effort makes it applicable to smaller and medium sized projects.
66
Jensen Model
Jensen proposed the equation:
L=CtetdK1/2 Where,
Cte is the effective technology constant, td is the time to develop the software, and K is the effort needed to develop the software.
67
Organization Structure
Functional Organization:
Engineers are organized into functional groups, e.g. Engineers from functional groups get assigned to different projects
68
Advantages of Functional Organization Specialization Ease of staffing Good documentation is produced Helps identify errors earlier.
69
Project Organization
Engineers get assigned to a project for the entire duration of the project Advantages:
Same set of engineers carry out all the phases Engineers save time on learning details of every project. Leads to job rotation
70
Team Structure
Problems of different complexities and sizes require different team structures:
Chief-programmer team Democratic team Mixed organization
71
Democratic Teams
Suitable for:
small projects requiring less than five or six engineers research-oriented projects at different times different members of the group provide technical leadership.
72
Democratic Teams
Democratic organization provides
higher morale and job satisfaction to the engineers therefore leads to less employee turnover. a group of engineers can invent better solutions than a single individual.
73
partitions the task among the team members. verifies and integrates the products developed by the members.
75
also within the intellectual grasp of a single individual, team morale, personal development, etc.
76
77
democratic organization and chief-programmer team organization. to a small group that is most likely to benefit from it.
78
Team Organization
79
80