Download - Chapter11 Project Management
-
8/6/2019 Chapter11 Project Management
1/40
1
Software ProjectSoftware ProjectManagementManagement
Introduction to Project PlanningSoftware Cost Estimation
Cost Estimation Models Software Size Metrics
Empirical Estimation Heuristic Estimation COCOMO
Organization structure
Team Structure
-
8/6/2019 Chapter11 Project Management
2/40
2
IntroductionIntroduction Many software projects fail due to faulty project management
:practices It is important to learn
different aspects of software.project management Goal of software project
:management
enable a group of engineers to work efficiently towards
successful completion of a.software project
-
8/6/2019 Chapter11 Project Management
3/40
3
Responsibility of projectResponsibility of projectmanagersmanagers
,Project proposal writing,Project cost estimation
,Scheduling
,Project staffing ,Project monitoring and control,Software configuration management
,Risk management
Managerial report writing and, .presentations etc
-
8/6/2019 Chapter11 Project Management
4/40 4
IntroductionIntroductionA project manager s activities are varied and can be broadly
:classified into ,project planning project monitoring and control
.activities,is found to be feasible project managers underta
-
8/6/2019 Chapter11 Project Management
5/405
Project Planning ActivitiesProject Planning Activities
:Estimation , , ,Effort cost resource and project
duration
:Project scheduling
:Staff organization staffing plans
:Risk handling Identification and analysis of risks
:Miscellaneous plans ,quality assurance plan configuration
, .management plan etc
-
8/6/2019 Chapter11 Project Management
6/406
Project planningProject planning
Requires utmost care and attention Commitments to unrealistic time
:and resource estimates result in
.irritating delays customer dissatisfaction adverse affect on team morale poor quality work .project failure
-
8/6/2019 Chapter11 Project Management
7/407
Sliding Window PlanningSliding Window Planning
Involves project planning over:several stages Helps protects managers from
making big commitments too.early More information becomes
available as project.progresses
Facilitates accurate planning
-
8/6/2019 Chapter11 Project Management
8/408
SPMP DocumentSPMP Document
:After planning is complete Document the plans in a
Software Project Management
( ) .Plan SPMP document
-
8/6/2019 Chapter11 Project Management
9/40
9
Organization of SPMP DocumentOrganization of SPMP Document
Introduction ( , ,Objectives Major Functions Performance, )Issues Management and Technical Constraints 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 Representation
Risk Management Plan ( ,Risk Analysis Risk, , )Identification Risk Estimation etc
Project Tracking and Control Plan Miscellaneous Plans ( ,Process Tailoring Quality)Assurance
-
8/6/2019 Chapter11 Project Management
10/40
10
Software Cost EstimationSoftware Cost Estimation
Determine size .of the product,From the size estimate
determine the effort .needed
,From the effort estimate determine ,project duration and
cost .
-
8/6/2019 Chapter11 Project Management
11/40
11
izeEstimation
ffortEstimatio
n
ostEstimat
ion
urationEstimatio
n
taffingEstimatio
n
Scheduling
Software Cost Estimation
-
8/6/2019 Chapter11 Project Management
12/40
12
Software Cost EstimationSoftware Cost Estimation Techniques Techniques
:Empirical techniques an educated guess based on past
.experience
:Heuristic techniques assume that the characteristics to be estimated can be expressed in
terms of some mathematical expression
:Analytical techniques derive the required results starting from certain simple
.assumptions
-
8/6/2019 Chapter11 Project Management
13/40
13
Software Size MetricsSoftware Size Metrics
( ):LOC Lines of Code( ):LOC Lines of Code Simplest and most widely
.used metric Comments and blank lines .should not be counted
-
8/6/2019 Chapter11 Project Management
14/40
14
Disadvantages of UsingDisadvantages of UsingLOCLOC
.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
Does not address the issues of structural or logical.complexity
Difficult to estimate LOC from.problem description
-
8/6/2019 Chapter11 Project Management
15/40
15
Function Point MetricFunction Point Metric
Overcomes some of the shortcomings of the LOC metric:Input
A set of related inputs is counted as one
.input
:Output A set of related outputs is counted as one
.output:Inquiries
.Each user query type is counted:Files
Files are logically related data and thus can.be data structures or physical files
:Interface
.Data transfer to other systems
-
8/6/2019 Chapter11 Project Management
16/40
16
Function Point MetricFunction Point Metric
:Suffers from a major drawback the size of a function is
considered to be independent
.of its complexity
:Extend function point metric :Feature Point metric :considers an extra parameter
.Algorithm Complexity
-
8/6/2019 Chapter11 Project Management
17/40
17
Empirical Size EstimationEmpirical Size Estimation Techniques Techniques
:Expert Judgement .A guess made by an expert Experts divide a software product into:component units . . , ,e g GUI database module data
, ,communication module billing module
.etc Add up the guesses for each of the
.components .Suffers from individual bias
:Delphi Estimation overcomes some of the problems of expert.judgement
-
8/6/2019 Chapter11 Project Management
18/40
18
Delphi Estimation: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 and
circulates among experts .
- .Experts re estimate Experts never meet each other to.discuss their viewpoints
d l
-
8/6/2019 Chapter11 Project Management
19/40
19
COCOMO ModelCOCOMO Model(Heuristic)(Heuristic)
( )COCOMO COnstructive COst MOdel.proposed by Boehm Divides software product developments
:into 3 categories
Organic Semidetached Embedded
-
8/6/2019 Chapter11 Project Management
20/40
20
COCOMO Product classesCOCOMO Product classes
:Roughly correspond to ,application utility and system
.programs respectively
Data processing and scientific
programs are considered to be.application programs
, , , .,Compilers linkers editors etc are .utility programs
-Operating systems and real time, .system programs etc are system
programs .
El b i f P dEl b i f P d
-
8/6/2019 Chapter11 Project Management
21/40
21
Elaboration of ProductElaboration of Productclassesclasses
:Organic Relatively small groups
-working to develop well understood.applications
:Semidetached Project team consists of a mixture of
.experienced and inexperienced staff:Embedded
The software is strongly coupled to, -complex hardware or real time.systems
-
8/6/2019 Chapter11 Project Management
22/40
22
COCOMO ModelCOCOMO Model (CONT.)(CONT.)
For each of the three product:categories ( ),From size estimation in KLOC Boehm
:provides equations to predict project duration in months-effort in programmer months
:Boehm obtained these equations examined historical data collected
from a large number of actual.projects
-
8/6/2019 Chapter11 Project Management
23/40
23
COCOMO ModelCOCOMO Model (CONT.)(CONT.)
Software cost estimation is :done through three stages ,Basic COCOMO ,Intermediate COCOMO .Complete COCOMO
-
8/6/2019 Chapter11 Project Management
24/40
24
Basic COCOMO ModelBasic COCOMO Model (CONT.)(CONT.)
Gives only an approximate:estimation =Effort a1 ( )( )KLOC expa2
=Tdev b1 ( )( )Effort exp b2 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
D l EffD l Eff
-
8/6/2019 Chapter11 Project Management
25/40
25
Development EffortDevelopment EffortEstimationEstimation
:Organic = . ( )( ) .Effort 2 4 KLOC exp 1 05
PM
- :Semi detached = . ( )( ) .Effort 3 0 KLOC exp 1 12
PM:Embedded
= . ( )Effort 3 6 KLOC( ) .exp 1 20PM
D l TiD l t Ti
-
8/6/2019 Chapter11 Project Management
26/40
26
Development TimeDevelopment TimeEstimationEstimation
:Organic = . ( )( ) .Tdev 2 5 Effort exp 0 38
Months
- :Semi detached = . ( )( ) .Tdev 2 5 Effort exp 0 35
Months:Embedded
= . ( )( ) .Tdev 2 5 Effort exp 0 32Months
-
8/6/2019 Chapter11 Project Management
27/40
27
Basic COCOMO ModelBasic COCOMO Model (CONT.)(CONT.)
Effort
Size
E m b e
d d e dS e m
i d e t
a c h e
d
O r g a n
i c
-
8/6/2019 Chapter11 Project Management
28/40
28
Basic COCOMO ModelBasic COCOMO Model (CONT.)(CONT.)
, When product size increases two times .development time does not double
:Time taken almost same for all the three product
.categories
Size
Dev.Time
E m b e d
d e d
S e m i d e t
a c h e d
O r g a n i c
60K
18 Months
14 Months
30K
-
8/6/2019 Chapter11 Project Management
29/40
29
ExampleExample
The size of an organic softwareproduct has been estimated to be32,000 lines of source code.
Effort = 2.4*(32)(exp) 1.05 = 91 PMNominal development time = 2.5*(91)
(exp) 0.38 = 14 months
-
8/6/2019 Chapter11 Project Management
30/40
30
Halstead's Software Science Halstead's Software Science:An analytical technique to estimate
,size ,development effort .development time
-
8/6/2019 Chapter11 Project Management
31/40
31
Halstead's Software ScienceHalstead's Software Science
Halstead used a few primitive program parameters
number of operators and operands:Derived expressions for
,over all program length potential minimum volume ,actual volume ,language level ,effort and .development time
-
8/6/2019 Chapter11 Project Management
32/40
32
Organization StructureOrganization Structure
:Functional Organization Engineers are organized into
, . .functional groups e g, , ,specification design coding
, , .testing maintenance etc Engineers from functional
groups get assigned to
different projects
Ad f F i lAd t f F ti l
-
8/6/2019 Chapter11 Project Management
33/40
33
Advantages of FunctionalAdvantages of FunctionalOrganizationOrganization
Specialization Ease of staffing
Good documentation is produced different phases are carried
out by different teams of.engineers
.Helps identify errors earlier
-
8/6/2019 Chapter11 Project Management
34/40
34
Project OrganizationProject Organization
Engineers get assigned to a project for the entire duration of the project
Same set of engineers carry out all the phases:Advantages
Engineers save time on learning.details of every project
Leads to job rotation
-
8/6/2019 Chapter11 Project Management
35/40
35
Team StructureTeam Structure
Problems of different complexities and sizes require different team
:structures -Chief programmer team Democratic team
Mixed organization
-
8/6/2019 Chapter11 Project Management
36/40
36
Democratic TeamsDemocratic Teams:Suitable for
small projects requiring less than five or six engineers
-research oriented projects
A manager provides administrative
:leadership at different times different members of
.the group provide technical leadership
Democratic organization provides
higher morale and job satisfaction to theengineers
.therefore leads to less employee turnover
Suitable for less understood problems
h f
-
8/6/2019 Chapter11 Project Management
37/40
37
Chief Programmer TeamChief Programmer Team
Works well when the task is well understood and also
within the intellectual grasp of a.single individual
Chief programmer team is subject to single point failure : too much responsibility and authority
is assigned to the chief programmer
Mixed Control TeamMixed Control Team
-
8/6/2019 Chapter11 Project Management
38/40
38
Mixed Control TeamMixed Control TeamOrganizationOrganization
:Draws upon ideas from both democratic organization and - .chief programmer team organization
Communication is limited to a small group that is most likely t
.benefit from it
.Suitable for large organizations
O i iT O i i
-
8/6/2019 Chapter11 Project Management
39/40
39
Team OrganizationTeam Organization
Chief Programmer teamDemocratic Team
Mi d i iMi d i i
-
8/6/2019 Chapter11 Project Management
40/40
40
Mixed team organizationMixed team organization