SlideShare a Scribd company logo
1 of 65
1
Part 4
Managing Sof t ware
Proj ect
Software Engineering: A Practitioner’s Approach, 6th edition
by Roger S. Pressman
2
Chapt er 21
Proj ect Management
Concept s
Software Engineering: A Practitioner’s Approach, 6th edition
by Roger S. Pressman
3
The 4 P’s
ī‚§ People — the most important element
of a successful project
ī‚§ Product — the software to be built
ī‚§ Process — the set of framework
activities and software engineering
tasks to get the job done
ī‚§ Project — all work required to make
the product a reality
4
St akeholders
ī‚§ Senior managers who define the business issues that often
have significant influence on the project.
ī‚§ Project (technical) managers who must plan, motivate, organize,
and control the practitioners who do software work.
ī‚§ Practitioners who deliver the technical skills that are necessary
to engineer a product or application.
ī‚§ Customers who specify the requirements for the software to be
engineered and other stakeholders who have a peripheral
interest in the outcome.
ī‚§ End-users who interact with the software once it is released for
production use.
5
Sof t ware Teams
How to lead?
How to organize?
How to motivate?
How to collaborate?
How to create good ideas?
6
Team Leader
ī‚§ The MOI Model:
ī‚Ÿ Motivation. The ability to encourage (by “push or pull”)
technical people to produce to their best ability.
ī‚Ÿ Organization. The ability to mold existing processes (or
invent new ones) that will enable the initial concept to be
translated into a final product.
ī‚Ÿ Ideas or innovation. The ability to encourage people to
create and feel creative even when they must work within
bounds established for a particular software product or
application.
7
Sof t ware Teams
ī‚§ The difficulty of the problem to be solved
ī‚§ The size of the resultant program(s) in lines of code or function
points
ī‚§ The time that the team will stay together (team lifetime)
ī‚§ The degree to which the problem can be modularized
ī‚§ The required quality and reliability of the system to be built
ī‚§ The rigidity of the delivery date
ī‚§ The degree of sociability (communication) required for the
project
The following factors must be considered when selectingThe following factors must be considered when selecting
a software project team structure ...a software project team structure ...
8
Organizat ional Paradigms
ī‚§ Closed paradigm—structures a team along a traditional
hierarchy of authority
ī‚§ Random paradigm—structures a team loosely and depends on
individual initiative of the team members
ī‚§ Open paradigm—attempts to structure a team in a manner that
achieves some of the controls associated with the closed
paradigm but also much of the innovation that occurs when
using the random paradigm
ī‚§ Synchronous paradigm—relies on the natural
compartmentalization of a problem and organizes team
members to work on pieces of the problem with little active
communication among themselves
suggested by Constantine [CON93]
9
Avoid Team “Toxicit y”
ī‚§ A frenzied work atmosphere in which team members waste
energy and lose focus on the objectives of the work to be
performed.
ī‚§ High frustration caused by personal, business, or technological
factors that cause friction among team members.
ī‚§ “Fragmented or poorly coordinated procedures” or a poorly
defined or improperly chosen process model that becomes a
roadblock to accomplishment.
ī‚§ Unclear definition of roles resulting in a lack of accountability
and resultant finger-pointing.
ī‚§ “Continuous and repeated exposure to failure” that leads to a
loss of confidence and a lowering of morale.
10
Agile Teams
ī‚§ Team members must have trust in one another.
ī‚§ The distribution of skills must be appropriate to the problem.
ī‚§ Mavericks may have to be excluded from the team, if team
cohesiveness is to be maintained.
ī‚§ Team is “self-organizing”
ī‚Ÿ An adaptive team structure
ī‚Ÿ Uses elements of Constantine’s random, open, and
synchronous paradigms
ī‚Ÿ Significant autonomy
11
Team Coordinat ion &
Communicat ion
ī‚§ Formal, impersonal approaches include software engineering
documents and work products (including source code), technical
memos, project milestones, schedules, and project control tools
(Chapter 23), change requests and related documentation, error
tracking reports, and repository data (see Chapter 26).
ī‚§ Formal, interpersonal procedures focus on quality assurance activities
(Chapter 25) applied to software engineering work products. These
include status review meetings and design and code inspections.
ī‚§ Informal, interpersonal procedures include group meetings for
information dissemination and problem solving and “collocation of
requirements and development staff.”
ī‚§ Electronic communication encompasses electronic mail, electronic
bulletin boards, and by extension, video-based conferencing systems.
ī‚§ Interpersonal networking includes informal discussions with team
members and those outside the project who may have experience or
insight that can assist team members.
12
The Product Scope
ī‚§ Scope:
ī‚§ Context. How does the software to be built fit into a larger
system, product, or business context and what
constraints are imposed as a result of the context?
ī‚§ Information objectives. What customer-visible data
objects (Chapter 8) are produced as output from the
software? What data objects are required for input?
ī‚§ Function and performance. What function does the
software perform to transform input data into output? Are
any special performance characteristics to be
addressed?
ī‚§ Software project scope must be unambiguous and
understandable at the management and technical levels.
13
Problem Decomposit ion
ī‚§ Sometimes called partitioning or problem elaboration
ī‚§ Once scope is defined â€Ļ
ī‚Ÿ It is decomposed into constituent functions
ī‚Ÿ It is decomposed into user-visible data objects
ī‚Ÿ or
ī‚Ÿ It is decomposed into a set of problem classes
ī‚§ Decomposition process continues until all functions or
problem classes have been defined
14
The Process
ī‚§ Once a process framework has been established
ī‚Ÿ Consider project characteristics
ī‚Ÿ Determine the degree of rigor required
ī‚Ÿ Define a task set for each software engineering
activity
ī‚§ Task set =
ī‚Ÿ Software engineering tasks
ī‚Ÿ Work products
ī‚Ÿ Quality assurance points
ī‚Ÿ Milestones
15
Melding t he Problem
and t he Process
16
The Proj ect
ī‚§ Projects get into trouble when â€Ļ
ī‚Ÿ Software people don’t understand their customer’s needs.
ī‚Ÿ The product scope is poorly defined.
ī‚Ÿ Changes are managed poorly.
ī‚Ÿ The chosen technology changes.
ī‚Ÿ Business needs change [or are ill-defined].
ī‚Ÿ Deadlines are unrealistic.
ī‚Ÿ Users are resistant.
ī‚Ÿ Sponsorship is lost [or was never properly obtained].
ī‚Ÿ The project team lacks people with appropriate skills.
ī‚Ÿ Managers [and practitioners] avoid best practices and lessons
learned.
17
Common-Sense Approach
t o Proj ect s
ī‚§ Start on the right foot. This is accomplished by working hard (very
hard) to understand the problem that is to be solved and then setting
realistic objectives and expectations.
ī‚§ Maintain momentum. The project manager must provide incentives to
keep turnover of personnel to an absolute minimum, the team should
emphasize quality in every task it performs, and senior management
should do everything possible to stay out of the team’s way.
ī‚§ Track progress. For a software project, progress is tracked as work
products (e.g., models, source code, sets of test cases) are produced
and approved (using formal technical reviews) as part of a quality
assurance activity.
ī‚§ Make smart decisions. In essence, the decisions of the project
manager and the software team should be to “keep it simple.”
ī‚§ Conduct a postmortem analysis. Establish a consistent mechanism for
extracting lessons learned for each project.
18
To Get t o t he Essence
of a Proj ect
ī‚§ Why is the system being developed?
ī‚§ What will be done?
ī‚§ When will it be accomplished?
ī‚§ Who is responsible?
ī‚§ Where are they organizationally located?
ī‚§ How will the job be done technically and
managerially?
ī‚§ How much of each resource (e.g., people, software,
tools, database) will be needed? Barry Boehm
19
Crit ical Pract ices
ī‚§ Formal risk management
ī‚§ Empirical cost and schedule estimation
ī‚§ Metrics-based project management
ī‚§ Earned value tracking
ī‚§ Defect tracking against quality targets
ī‚§ People aware project management
20
Chapt er 22
Process and Project
Metrics
Software Engineering: A Practitioner’s Approach, 6th edition
by Roger S. Pressman
21
A Good Manager
Measures
measurementmeasurement
What do weWhat do we
use as ause as a
basis?basis?
â€ĸâ€ĸ size?size?
â€ĸâ€ĸ function?function?
project metricsproject metrics
process metricsprocess metrics
processprocess
productproduct
product metricsproduct metrics
22
Why Do We Measure?
ī‚§ assess the status of an ongoing project
ī‚§ track potential risks
ī‚§ uncover problem areas before they go
“critical,”
ī‚§ adjust work flow or tasks,
ī‚§ evaluate the project team’s ability to
control quality of software work
products.
23
Process Measurement
ī‚§ We measure the efficacy of a software process indirectly.
ī‚Ÿ That is, we derive a set of metrics based on the outcomes that can
be derived from the process.
ī‚Ÿ Outcomes include
ī‚§ measures of errors uncovered before release of the software
ī‚§ defects delivered to and reported by end-users
ī‚§ work products delivered (productivity)
ī‚§ human effort expended
ī‚§ calendar time expended
ī‚§ schedule conformance
ī‚§ other measures.
ī‚§ We also derive process metrics by measuring the characteristics
of specific software engineering tasks.
24
Process Met rics Guidelines
ī‚§ Use common sense and organizational sensitivity when
interpreting metrics data.
ī‚§ Provide regular feedback to the individuals and teams who
collect measures and metrics.
ī‚§ Don’t use metrics to appraise individuals.
ī‚§ Work with practitioners and teams to set clear goals and metrics
that will be used to achieve them.
ī‚§ Never use metrics to threaten individuals or teams.
ī‚§ Metrics data that indicate a problem area should not be
considered “negative.” These data are merely an indicator for
process improvement.
ī‚§ Don’t obsess on a single metric to the exclusion of other
important metrics.
25
Sof t ware Process
I mprovement
SPI
Process model
Improvement goals
Process metrics
Process improvement
recommendations
26
Process Met rics
ī‚§ Quality-related
ī‚Ÿ focus on quality of work products and deliverables
ī‚§ Productivity-related
ī‚Ÿ Production of work-products related to effort expended
ī‚§ Statistical SQA data
ī‚Ÿ error categorization & analysis
ī‚§ Defect removal efficiency
ī‚Ÿ propagation of errors from process activity to activity
ī‚§ Reuse data
ī‚Ÿ The number of components produced and their degree of
reusability
27
Proj ect Met rics
ī‚§ used to minimize the development schedule by making the
adjustments necessary to avoid delays and mitigate potential
problems and risks
ī‚§ used to assess product quality on an ongoing basis and, when
necessary, modify the technical approach to improve quality.
ī‚§ every project should measure:
ī‚Ÿ inputs—measures of the resources (e.g., people, tools) required to
do the work.
ī‚Ÿ outputs—measures of the deliverables or work products created
during the software engineering process.
ī‚Ÿ results—measures that indicate the effectiveness of the
deliverables.
28
Typical Proj ect Met rics
ī‚§ Effort/time per software engineering
task
ī‚§ Errors uncovered per review hour
ī‚§ Scheduled vs. actual milestone dates
ī‚§ Changes (number) and their
characteristics
ī‚§ Distribution of effort on software
engineering tasks
29
Met rics Guidelines
ī‚§ Use common sense and organizational sensitivity when
interpreting metrics data.
ī‚§ Provide regular feedback to the individuals and teams who have
worked to collect measures and metrics.
ī‚§ Don’t use metrics to appraise individuals.
ī‚§ Work with practitioners and teams to set clear goals and metrics
that will be used to achieve them.
ī‚§ Never use metrics to threaten individuals or teams.
ī‚§ Metrics data that indicate a problem area should not be
considered “negative.” These data are merely an indicator for
process improvement.
ī‚§ Don’t obsess on a single metric to the exclusion of other
important metrics.
30
Typical Size-Orient ed
Met rics
ī‚§ errors per KLOC (thousand lines of code)
ī‚§ defects per KLOC
ī‚§ $ per LOC
ī‚§ pages of documentation per KLOC
ī‚§ errors per person-month
ī‚§ Errors per review hour
ī‚§ LOC per person-month
ī‚§ $ per page of documentation
31
Typical Funct ion-Orient ed
Met rics
ī‚§ errors per FP (thousand lines of code)
ī‚§ defects per FP
ī‚§ $ per FP
ī‚§ pages of documentation per FP
ī‚§ FP per person-month
32
Comparing LOC and FP
Programming LOC per Function point
Language avg. median low high
Ada 154 - 104 205
Assembler 337 315 91 694
C 162 109 33 704
C++ 66 53 29 178
COBOL 77 77 14 400
Java 63 53 77 -
JavaScript 58 63 42 75
Perl 60 - - -
PL/1 78 67 22 263
Powerbuilder 32 31 11 105
SAS 40 41 33 49
Smalltalk 26 19 10 55
SQL 40 37 7 110
Visual Basic 47 42 16 158
Representative values developed by QSM
33
Why Opt f or FP?
ī‚§ Programming language independent
ī‚§ Used readily countable characteristics that are
determined early in the software process
ī‚§ Does not “penalize” inventive (short)
implementations that use fewer LOC that other
more clumsy versions
ī‚§ Makes it easier to measure the impact of reusable
components
34
Obj ect -Orient ed Met rics
ī‚§ Number of scenario scripts (use-cases)
ī‚§ Number of support classes (required to
implement the system but are not immediately
related to the problem domain)
ī‚§ Average number of support classes per key
class (analysis class)
ī‚§ Number of subsystems (an aggregation of
classes that support a function that is visible
to the end-user of a system)
35
WebE Proj ect Met rics
ī‚§ Number of static Web pages (the end-user has no control over
the content displayed on the page)
ī‚§ Number of dynamic Web pages (end-user actions result in
customized content displayed on the page)
ī‚§ Number of internal page links (internal page links are pointers
that provide a hyperlink to some other Web page within the
WebApp)
ī‚§ Number of persistent data objects
ī‚§ Number of external systems interfaced
ī‚§ Number of static content objects
ī‚§ Number of dynamic content objects
ī‚§ Number of executable functions
36
Measuring Qualit y
ī‚§ Correctness — the degree to which a
program operates according to specification
ī‚§ Maintainability—the degree to which a
program is amenable to change
ī‚§ Integrity—the degree to which a program is
impervious to outside attack
ī‚§ Usability—the degree to which a program is
easy to use
37
Def ect Removal
Ef f iciency
DRE = E /(E + D)
E is the number of errors found before delivery of
the software to the end-user
D is the number of defects found after delivery.
38
Met rics f or Small
Organizat ions
ī‚§ time (hours or days) elapsed from the time a request is made
until evaluation is complete, tqueue.
ī‚§ effort (person-hours) to perform the evaluation, Weval.
ī‚§ time (hours or days) elapsed from completion of evaluation to
assignment of change order to personnel, teval.
ī‚§ effort (person-hours) required to make the change, Wchange.
ī‚§ time required (hours or days) to make the change, tchange.
ī‚§ errors uncovered during work to make change, Echange.
ī‚§ defects uncovered after change is released to the customer
base, Dchange.
39
Est ablishing a Met rics
Program
ī‚§ Identify your business goals.
ī‚§ Identify what you want to know or learn.
ī‚§ Identify your subgoals.
ī‚§ Identify the entities and attributes related to your subgoals.
ī‚§ Formalize your measurement goals.
ī‚§ Identify quantifiable questions and the related indicators that you will
use to help you achieve your measurement goals.
ī‚§ Identify the data elements that you will collect to construct the indicators
that help answer your questions.
ī‚§ Define the measures to be used, and make these definitions
operational.
ī‚§ Identify the actions that you will take to implement the measures.
ī‚§ Prepare a plan for implementing the measures.
40
Chapt er 23
Est imat ion f or Sof t ware
Proj ect s
Software Engineering: A Practitioner’s Approach, 6th edition
by Roger S. Pressman
41
Sof t ware Proj ect
Planning
The overall goal of project planning is toThe overall goal of project planning is to
establish a pragmatic strategy for controlling,establish a pragmatic strategy for controlling,
tracking, and monitoring a complex technicaltracking, and monitoring a complex technical
project.project.
Why?Why?
So the end result gets done on time, with quality!So the end result gets done on time, with quality!
42
Proj ect Planning Task Set -I
ī‚§ Establish project scope
ī‚§ Determine feasibility
ī‚§ Analyze risks
ī‚§ Define required resources
ī‚Ÿ Determine require human resources
ī‚Ÿ Define reusable software resources
ī‚Ÿ Identify environmental resources
43
Proj ect Planning Task Set -I I
ī‚§ Estimate cost and effort
ī‚Ÿ Decompose the problem
ī‚Ÿ Develop two or more estimates using size,
function points, process tasks or use-cases
ī‚Ÿ Reconcile the estimates
ī‚§ Develop a project schedule
ī‚Ÿ Establish a meaningful task set
ī‚Ÿ Define a task network
ī‚Ÿ Use scheduling tools to develop a timeline chart
ī‚Ÿ Define schedule tracking mechanisms
44
Est imat ion
ī‚§ Estimation of resources, cost, and schedule for a
software engineering effort requires
ī‚Ÿ experience
ī‚Ÿ access to good historical information (metrics
ī‚Ÿ the courage to commit to quantitative predictions
when qualitative information is all that exists
ī‚§ Estimation carries inherent risk and this risk leads to
uncertainty
45
Writ e it
Down!
SoftwareSoftware
ProjectProject
PlanPlan
Project ScopeProject Scope
EstimatesEstimates
RisksRisks
ScheduleSchedule
Control strategyControl strategy
46
To Underst and Scope ...
ī‚§ Understand the customers needs
ī‚§ understand the business context
ī‚§ understand the project boundaries
ī‚§ understand the customer’s motivation
ī‚§ understand the likely paths for change
ī‚§ understand that ...
Even when you understand,Even when you understand,
nothing is guaranteed!nothing is guaranteed!
47
What is Scope?
ī‚§ Software scope describes
ī‚Ÿ the functions and features that are to be delivered to end-
users
ī‚Ÿ the data that are input and output
ī‚Ÿ the “content” that is presented to users as a consequence of
using the software
ī‚Ÿ the performance, constraints, interfaces, and reliability that
bound the system.
ī‚§ Scope is defined using one of two techniques:
ī‚Ÿ A narrative description of software scope is developed after
communication with all stakeholders.
ī‚Ÿ A set of use-cases is developed by end-users.
48
Resources
project
people
skills
number
location
reusable
software
OTS
components
full-experience
components
new
components
part.-experience
components
environment
hardware
software
tools
network
resources
49
Proj ect Est imat ion
ī‚§ Project scope must be
understood
ī‚§ Elaboration (decomposition) is
necessary
ī‚§ Historical metrics are very helpful
ī‚§ At least two different techniques
should be used
ī‚§ Uncertainty is inherent in the
process
50
Est imat ion Techniques
ī‚§ Past (similar) project experience
ī‚§ Conventional estimation techniques
ī‚Ÿ task breakdown and effort estimates
ī‚Ÿ size (e.g., FP) estimates
ī‚§ Empirical models
ī‚§ Automated tools
51
Est imat ion Accuracy
ī‚§ Predicated on â€Ļ
ī‚Ÿ the degree to which the planner has properly estimated the
size of the product to be built
ī‚Ÿ the ability to translate the size estimate into human effort,
calendar time, and dollars (a function of the availability of
reliable software metrics from past projects)
ī‚Ÿ the degree to which the project plan reflects the abilities of
the software team
ī‚Ÿ the stability of product requirements and the environment
that supports the software engineering effort.
52
Funct ional
Decomposit ion
functionalfunctional
decompositiondecomposition
StatementStatement
ofof
ScopeScope Perform aPerform a
GrammaticalGrammatical
“parse”“parse”
53
Convent ional Met hods:
LOC/ FP Approach
ī‚§ compute LOC/FP using estimates
of information domain values
ī‚§ use historical data to build
estimates for the project
54
Process-Based Est imat ion
Obtained from “process framework”Obtained from “process framework”
applicationapplication
functionsfunctions
framework activitiesframework activities
Effort required toEffort required to
accomplishaccomplish
each frameworkeach framework
activity for eachactivity for each
applicationapplication
functionfunction
55
Process-Based Est imat ion
ExampleActivity
Task
Function
UICF
2DGA
3DGA
DSM
PCF
CGDF
DAM
Totals
% effort
CC Planning
Risk
Analysis Engineering
Construction
Release TotalsCE
analysis design code test
0.25 0.25 0.25 3.50 20.50 4.50 16.50 46.00
1% 1% 1% 8% 45% 10% 36%
CC = customer communication CE = customer evaluation
0.50
0.75
0.50
0.50
0.50
0.25
2.50
4.00
4.00
3.00
3.00
2.00
0.40
0.60
1.00
1.00
0.75
0.50
5.00
2.00
3.00
1.50
1.50
1.50
8.40
7.35
8.50
6.00
5.75
4.25
0.50 2.00 0.50 2.00 5.00
n/a
n/a
n/a
n/a
n/a
n/a
n/a
Based on an average burdened labor rate of $8,000 per month, theBased on an average burdened labor rate of $8,000 per month, the
total estimated project cost is $368,000 and the estimated effort is 46total estimated project cost is $368,000 and the estimated effort is 46
person-months.person-months.
56
Tool-Based Est imat ion
project characteristicsproject characteristics
calibration factorscalibration factors
LOC/FP dataLOC/FP data
57
Est imat ion wit h Use-Cases
use cases scenarios pages Åšscenarios pages LOC LOC estimate
e subsystem 6 10 6 Åš 12 5 560 3,366
subsystem group 10 20 8 Åš 16 8 3100 31,233
e subsystem group 5 6 5 Åš 10 6 1650 7,970
Åš Åš Åš Åš
stimate Åš Åš Åš Åš 42,568
User interface subsystem
Engineering subsystem group
Infrastructure subsystem group
Total LOCestimate
Using 620 LOC/pm as the average productivity for systems of thisUsing 620 LOC/pm as the average productivity for systems of this
type and a burdened labor rate of $8000 per month, the cost per linetype and a burdened labor rate of $8000 per month, the cost per line
of code is approximately $13. Based on the use-case estimate and theof code is approximately $13. Based on the use-case estimate and the
historical productivity data, the total estimated project cost ishistorical productivity data, the total estimated project cost is
$552,000 and the estimated effort is 68 person-months.$552,000 and the estimated effort is 68 person-months.
58
Empirical Est imat ion
Models
General form:General form:
effort = tuning coefficient * sizeeffort = tuning coefficient * size
exponentexponent
usually derivedusually derived
as person-monthsas person-months
of effort requiredof effort required
either a constant oreither a constant or
a number derived baseda number derived based
on complexity of projecton complexity of project
usually LOC butusually LOC but
may also bemay also be
function pointfunction point
empiricallyempirically
derivedderived
59
COCOMO-I I
ī‚§ COCOMO II is actually a hierarchy of estimation models that
address the following areas:
ī‚Ÿ Application composition model. Used during the early stages
of software engineering, when prototyping of user interfaces,
consideration of software and system interaction,
assessment of performance, and evaluation of technology
maturity are paramount.
ī‚Ÿ Early design stage model. Used once requirements have
been stabilized and basic software architecture has been
established.
ī‚Ÿ Post-architecture-stage model. Used during the construction
of the software.
60
The Sof t ware Equat ion
A dynamic multivariable modelA dynamic multivariable model
E = [LOC x BE = [LOC x B0.3330.333
/P]/P]33
x (1/tx (1/t44
))
wherewhere
E = effort in person-months or person-yearsE = effort in person-months or person-years
t = project duration in months or yearst = project duration in months or years
B = “special skills factor”B = “special skills factor”
P = “productivity parameter”P = “productivity parameter”
61
Est imat ion f or OO Proj ect s-
I
ī‚§ Develop estimates using effort decomposition, FP analysis, and
any other method that is applicable for conventional
applications.
ī‚§ Using object-oriented analysis modeling (Chapter 8), develop
use-cases and determine a count.
ī‚§ From the analysis model, determine the number of key classes
(called analysis classes in Chapter 8).
ī‚§ Categorize the type of interface for the application and develop
a multiplier for support classes:
ī‚Ÿ Interface type Multiplier
ī‚Ÿ No GUI 2.0
ī‚Ÿ Text-based user interface 2.25
ī‚Ÿ GUI 2.5
ī‚Ÿ Complex GUI 3.0
62
Est imat ion f or OO Proj ect s-
I I
ī‚§ Multiply the number of key classes (step 3) by the
multiplier to obtain an estimate for the number of
support classes.
ī‚§ Multiply the total number of classes (key + support)
by the average number of work-units per class.
Lorenz and Kidd suggest 15 to 20 person-days per
class.
ī‚§ Cross check the class-based estimate by multiplying
the average number of work-units per use-case
63
Est imat ion f or Agile
Proj ect s
ī‚§ Each user scenario (a mini-use-case) is considered separately for
estimation purposes.
ī‚§ The scenario is decomposed into the set of software engineering tasks
that will be required to develop it.
ī‚§ Each task is estimated separately. Note: estimation can be based on
historical data, an empirical model, or “experience.”
ī‚Ÿ Alternatively, the ‘volume’ of the scenario can be estimated in LOC, FP or
some other volume-oriented measure (e.g., use-case count).
ī‚§ Estimates for each task are summed to create an estimate for the
scenario.
ī‚Ÿ Alternatively, the volume estimate for the scenario is translated into effort
using historical data.
ī‚§ The effort estimates for all scenarios that are to be implemented for a
given software increment are summed to develop the effort estimate for
the increment.
64
The Make-Buy
Decision
system Xsystem X
reusereuse
simple (0.30)simple (0.30)
difficult (0.70)difficult (0.70)
minorminor changeschanges
(0.40)(0.40)
majormajor
changeschanges
(0.60)(0.60)
simple (0.20)simple (0.20)
complex (0.80)complex (0.80)
majormajor changeschanges (0.30)(0.30)
minorminor changeschanges
(0.70)(0.70)
$380,000$380,000
$450,000$450,000
$275,000$275,000
$310,000$310,000
$490,000$490,000
$210,000$210,000
$400,000$400,000
buybuy
contractcontract
without changes (0.60)without changes (0.60)
with changes (0.40)with changes (0.40)
$350,000$350,000
$500,000$500,000
buildbuild
65
Comput ing Expect ed Cost
(path probability) x (estimated path cost)(path probability) x (estimated path cost)
ii ii
For example, the expected cost to build is:For example, the expected cost to build is:
expected cost = 0.30 ($380K) + 0.70 ($450K)expected cost = 0.30 ($380K) + 0.70 ($450K)
similarly,similarly,
expected cost =expected cost =
$382K$382Kexpected cost =expected cost =
$267K$267Kexpected cost =expected cost =
$410K$410K
buildbuild
reusreus
ee
buybuy
contrcontr
expected cost =expected cost =
= $429 K= $429 K

More Related Content

What's hot

Software project management Improving Team Effectiveness
Software project management Improving Team EffectivenessSoftware project management Improving Team Effectiveness
Software project management Improving Team EffectivenessREHMAT ULLAH
 
Software Process and Project Management - CS832E02 unit 3
Software Process and Project Management - CS832E02 unit 3Software Process and Project Management - CS832E02 unit 3
Software Process and Project Management - CS832E02 unit 3Mithun B N
 
IT8076 - SOFTWARE TESTING
IT8076 - SOFTWARE TESTINGIT8076 - SOFTWARE TESTING
IT8076 - SOFTWARE TESTINGSathya R
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategiesSHREEHARI WADAWADAGI
 
Agile Methodology
Agile MethodologyAgile Methodology
Agile MethodologyOmar Al-Sabek
 
Software Risk Management
Software Risk ManagementSoftware Risk Management
Software Risk ManagementGunjan Patel
 
Defect removal effectiveness
Defect removal effectivenessDefect removal effectiveness
Defect removal effectivenessRoy Antony Arnold G
 
Planning in Software Projects
Planning in Software ProjectsPlanning in Software Projects
Planning in Software ProjectsJayakumar PP
 
Muzammil Prescriptive Vs Agile Process Models
Muzammil Prescriptive Vs Agile Process ModelsMuzammil Prescriptive Vs Agile Process Models
Muzammil Prescriptive Vs Agile Process ModelsFederal Urdu University
 
Final project report of a game
Final project report of a gameFinal project report of a game
Final project report of a gameNadia Nahar
 
Requirement prioritization
Requirement prioritizationRequirement prioritization
Requirement prioritizationAbdul Basit
 
Organization and team structures
Organization and team structuresOrganization and team structures
Organization and team structuresNur Islam
 
Software Project Management( lecture 1)
Software Project Management( lecture 1)Software Project Management( lecture 1)
Software Project Management( lecture 1)Syed Muhammad Hammad
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life CycleSlideshare
 
Joint Application Development
Joint Application DevelopmentJoint Application Development
Joint Application Developmentsvm
 

What's hot (20)

Software project management Improving Team Effectiveness
Software project management Improving Team EffectivenessSoftware project management Improving Team Effectiveness
Software project management Improving Team Effectiveness
 
Software Process and Project Management - CS832E02 unit 3
Software Process and Project Management - CS832E02 unit 3Software Process and Project Management - CS832E02 unit 3
Software Process and Project Management - CS832E02 unit 3
 
IT8076 - SOFTWARE TESTING
IT8076 - SOFTWARE TESTINGIT8076 - SOFTWARE TESTING
IT8076 - SOFTWARE TESTING
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
Agile Methodology
Agile MethodologyAgile Methodology
Agile Methodology
 
Chat php
Chat phpChat php
Chat php
 
Software Risk Management
Software Risk ManagementSoftware Risk Management
Software Risk Management
 
Defect removal effectiveness
Defect removal effectivenessDefect removal effectiveness
Defect removal effectiveness
 
Planning in Software Projects
Planning in Software ProjectsPlanning in Software Projects
Planning in Software Projects
 
Muzammil Prescriptive Vs Agile Process Models
Muzammil Prescriptive Vs Agile Process ModelsMuzammil Prescriptive Vs Agile Process Models
Muzammil Prescriptive Vs Agile Process Models
 
Final project report of a game
Final project report of a gameFinal project report of a game
Final project report of a game
 
Requirement prioritization
Requirement prioritizationRequirement prioritization
Requirement prioritization
 
PMO & CMMI
PMO & CMMIPMO & CMMI
PMO & CMMI
 
Rad model
Rad modelRad model
Rad model
 
Organization and team structures
Organization and team structuresOrganization and team structures
Organization and team structures
 
Software Project Management( lecture 1)
Software Project Management( lecture 1)Software Project Management( lecture 1)
Software Project Management( lecture 1)
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
System Development Life Cycle (SDLC) - Part I
System Development Life Cycle (SDLC)  - Part ISystem Development Life Cycle (SDLC)  - Part I
System Development Life Cycle (SDLC) - Part I
 
Joint Application Development
Joint Application DevelopmentJoint Application Development
Joint Application Development
 

Viewers also liked

Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimationNur Islam
 
Product metrics
Product metricsProduct metrics
Product metricsAmey Phutane
 
Line of Code (LOC) Matric and Function Point Matric
Line of Code (LOC) Matric and Function Point MatricLine of Code (LOC) Matric and Function Point Matric
Line of Code (LOC) Matric and Function Point MatricAnkush Singh
 
Functional point analysis
Functional point analysisFunctional point analysis
Functional point analysisDestinationQA
 
Cocomo model
Cocomo modelCocomo model
Cocomo modelBala Ganesh
 
Software project management
Software project managementSoftware project management
Software project managementR A Akerkar
 
Str8ts Weekly Extreme #53 - Solution
Str8ts Weekly Extreme #53 - SolutionStr8ts Weekly Extreme #53 - Solution
Str8ts Weekly Extreme #53 - SolutionSlowThinker
 
2 May 2012 1HBCT Weekly News Update
2 May 2012 1HBCT Weekly News Update2 May 2012 1HBCT Weekly News Update
2 May 2012 1HBCT Weekly News UpdateNoel Waterman
 
Question 1 - Conventions
Question 1 - ConventionsQuestion 1 - Conventions
Question 1 - ConventionsPBirkettchs
 
ProductionPowerpointGroup 053
ProductionPowerpointGroup 053ProductionPowerpointGroup 053
ProductionPowerpointGroup 053TheGroup053
 
1ID and Fort Riley Weekly News 20 April
1ID and Fort Riley Weekly News 20 April 1ID and Fort Riley Weekly News 20 April
1ID and Fort Riley Weekly News 20 April Noel Waterman
 
November 2012 Thunderbolt Blast
November 2012 Thunderbolt BlastNovember 2012 Thunderbolt Blast
November 2012 Thunderbolt BlastNoel Waterman
 
ã‚Ŋãƒŧã‚ˇãƒŖãƒĢãƒĄãƒ†ã‚™ã‚Ŗã‚ĸマãƒŧã‚ąãƒ†ã‚Ŗãƒŗグ、īŧ–つぎčĒ¤č§Ŗ
ã‚Ŋãƒŧã‚ˇãƒŖãƒĢãƒĄãƒ†ã‚™ã‚Ŗã‚ĸマãƒŧã‚ąãƒ†ã‚Ŗãƒŗグ、īŧ–つぎčĒ¤č§Ŗã‚Ŋãƒŧã‚ˇãƒŖãƒĢãƒĄãƒ†ã‚™ã‚Ŗã‚ĸマãƒŧã‚ąãƒ†ã‚Ŗãƒŗグ、īŧ–つぎčĒ¤č§Ŗ
ã‚Ŋãƒŧã‚ˇãƒŖãƒĢãƒĄãƒ†ã‚™ã‚Ŗã‚ĸマãƒŧã‚ąãƒ†ã‚Ŗãƒŗグ、īŧ–つぎčĒ¤č§ŖGoro Kosaka
 

Viewers also liked (20)

Slides chapter 15
Slides chapter 15Slides chapter 15
Slides chapter 15
 
Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimation
 
Slides chapter 10
Slides chapter 10Slides chapter 10
Slides chapter 10
 
Slides chapter 9
Slides chapter 9Slides chapter 9
Slides chapter 9
 
Slides chapter 8
Slides chapter 8Slides chapter 8
Slides chapter 8
 
Product metrics
Product metricsProduct metrics
Product metrics
 
Line of Code (LOC) Matric and Function Point Matric
Line of Code (LOC) Matric and Function Point MatricLine of Code (LOC) Matric and Function Point Matric
Line of Code (LOC) Matric and Function Point Matric
 
Functional point analysis
Functional point analysisFunctional point analysis
Functional point analysis
 
Java/Swing
Java/SwingJava/Swing
Java/Swing
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Software project management
Software project managementSoftware project management
Software project management
 
Java Swing
Java SwingJava Swing
Java Swing
 
Str8ts Weekly Extreme #53 - Solution
Str8ts Weekly Extreme #53 - SolutionStr8ts Weekly Extreme #53 - Solution
Str8ts Weekly Extreme #53 - Solution
 
2 May 2012 1HBCT Weekly News Update
2 May 2012 1HBCT Weekly News Update2 May 2012 1HBCT Weekly News Update
2 May 2012 1HBCT Weekly News Update
 
Question 1 - Conventions
Question 1 - ConventionsQuestion 1 - Conventions
Question 1 - Conventions
 
ProductionPowerpointGroup 053
ProductionPowerpointGroup 053ProductionPowerpointGroup 053
ProductionPowerpointGroup 053
 
1ID and Fort Riley Weekly News 20 April
1ID and Fort Riley Weekly News 20 April 1ID and Fort Riley Weekly News 20 April
1ID and Fort Riley Weekly News 20 April
 
Medieval world
Medieval worldMedieval world
Medieval world
 
November 2012 Thunderbolt Blast
November 2012 Thunderbolt BlastNovember 2012 Thunderbolt Blast
November 2012 Thunderbolt Blast
 
ã‚Ŋãƒŧã‚ˇãƒŖãƒĢãƒĄãƒ†ã‚™ã‚Ŗã‚ĸマãƒŧã‚ąãƒ†ã‚Ŗãƒŗグ、īŧ–つぎčĒ¤č§Ŗ
ã‚Ŋãƒŧã‚ˇãƒŖãƒĢãƒĄãƒ†ã‚™ã‚Ŗã‚ĸマãƒŧã‚ąãƒ†ã‚Ŗãƒŗグ、īŧ–つぎčĒ¤č§Ŗã‚Ŋãƒŧã‚ˇãƒŖãƒĢãƒĄãƒ†ã‚™ã‚Ŗã‚ĸマãƒŧã‚ąãƒ†ã‚Ŗãƒŗグ、īŧ–つぎčĒ¤č§Ŗ
ã‚Ŋãƒŧã‚ˇãƒŖãƒĢãƒĄãƒ†ã‚™ã‚Ŗã‚ĸマãƒŧã‚ąãƒ†ã‚Ŗãƒŗグ、īŧ–つぎčĒ¤č§Ŗ
 

Similar to Managing Software Project

Chapter1 Advanced Software Engineering overview
Chapter1 Advanced Software Engineering overviewChapter1 Advanced Software Engineering overview
Chapter1 Advanced Software Engineering overviewBule Hora University
 
SE chapters 21-23
SE chapters 21-23SE chapters 21-23
SE chapters 21-23Hardik Patel
 
Slides chapters 21-23
Slides chapters 21-23Slides chapters 21-23
Slides chapters 21-23Priyanka Shetty
 
Aula 1 - Project Management Concepts by Roger Pressman
Aula 1 - Project Management Concepts by Roger PressmanAula 1 - Project Management Concepts by Roger Pressman
Aula 1 - Project Management Concepts by Roger PressmanRogerio P C do Nascimento
 
Project Management Complete Concept
Project Management Complete Concept Project Management Complete Concept
Project Management Complete Concept MuhammadTalha436
 
Software engg. pressman_ch-21
Software engg. pressman_ch-21Software engg. pressman_ch-21
Software engg. pressman_ch-21Dhairya Joshi
 
Chapter 1_Introduction sunorganisedASE_finalised.pptx
Chapter 1_Introduction sunorganisedASE_finalised.pptxChapter 1_Introduction sunorganisedASE_finalised.pptx
Chapter 1_Introduction sunorganisedASE_finalised.pptxBule Hora University
 
Software engineering project management
Software engineering project managementSoftware engineering project management
Software engineering project managementjhudyne
 
Lecture 2 introduction to Software Engineering 1
Lecture 2   introduction to Software Engineering 1Lecture 2   introduction to Software Engineering 1
Lecture 2 introduction to Software Engineering 1IIUI
 
Lecture2 2
Lecture2 2Lecture2 2
Lecture2 2soloeng
 
Project management concepts
Project management conceptsProject management concepts
Project management conceptsNayyabMirTahir
 
Software Engineering (Project Management )
Software Engineering (Project  Management )Software Engineering (Project  Management )
Software Engineering (Project Management )ShudipPal
 
Software Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSoftware Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSharbani Bhattacharya
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software EngineeringMajane Padua
 
UNIT V - 1 SPM.pptx
UNIT V - 1 SPM.pptxUNIT V - 1 SPM.pptx
UNIT V - 1 SPM.pptxDevnath13
 

Similar to Managing Software Project (20)

Chapter1 Advanced Software Engineering overview
Chapter1 Advanced Software Engineering overviewChapter1 Advanced Software Engineering overview
Chapter1 Advanced Software Engineering overview
 
SE chapters 21-23
SE chapters 21-23SE chapters 21-23
SE chapters 21-23
 
Slides chapters 21-23
Slides chapters 21-23Slides chapters 21-23
Slides chapters 21-23
 
Aula 1 - Project Management Concepts by Roger Pressman
Aula 1 - Project Management Concepts by Roger PressmanAula 1 - Project Management Concepts by Roger Pressman
Aula 1 - Project Management Concepts by Roger Pressman
 
Project Management Complete Concept
Project Management Complete Concept Project Management Complete Concept
Project Management Complete Concept
 
Software engg. pressman_ch-21
Software engg. pressman_ch-21Software engg. pressman_ch-21
Software engg. pressman_ch-21
 
Chapter 1_Introduction sunorganisedASE_finalised.pptx
Chapter 1_Introduction sunorganisedASE_finalised.pptxChapter 1_Introduction sunorganisedASE_finalised.pptx
Chapter 1_Introduction sunorganisedASE_finalised.pptx
 
Software engineering project management
Software engineering project managementSoftware engineering project management
Software engineering project management
 
An Introduction to Project management(project management tutorials)
An Introduction to Project management(project management tutorials)An Introduction to Project management(project management tutorials)
An Introduction to Project management(project management tutorials)
 
Lecture 2 introduction to Software Engineering 1
Lecture 2   introduction to Software Engineering 1Lecture 2   introduction to Software Engineering 1
Lecture 2 introduction to Software Engineering 1
 
Lecture 1 SE.pptx
Lecture 1 SE.pptxLecture 1 SE.pptx
Lecture 1 SE.pptx
 
Lecture2 2
Lecture2 2Lecture2 2
Lecture2 2
 
Project management concepts
Project management conceptsProject management concepts
Project management concepts
 
Software Engineering (Project Management )
Software Engineering (Project  Management )Software Engineering (Project  Management )
Software Engineering (Project Management )
 
Software Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSoftware Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani Bhattacharya
 
Week_02.pptx
Week_02.pptxWeek_02.pptx
Week_02.pptx
 
Process Models IN software Engineering
Process Models IN software EngineeringProcess Models IN software Engineering
Process Models IN software Engineering
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
UNIT V - 1 SPM.pptx
UNIT V - 1 SPM.pptxUNIT V - 1 SPM.pptx
UNIT V - 1 SPM.pptx
 
Software models
Software modelsSoftware models
Software models
 

Recently uploaded

Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A BeÃąa
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
HáģŒC TáģT TIáēžNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáēžT - Cáēĸ NĂ...
HáģŒC TáģT TIáēžNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáēžT - Cáēĸ NĂ...HáģŒC TáģT TIáēžNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáēžT - Cáēĸ NĂ...
HáģŒC TáģT TIáēžNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáēžT - Cáēĸ NĂ...Nguyen Thanh Tu Collection
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 

Recently uploaded (20)

Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
call girls in Kamla Market (DELHI) 🔝 >āŧ’9953330565🔝 genuine Escort Service 🔝✔ī¸âœ”ī¸
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
HáģŒC TáģT TIáēžNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáēžT - Cáēĸ NĂ...
HáģŒC TáģT TIáēžNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáēžT - Cáēĸ NĂ...HáģŒC TáģT TIáēžNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáēžT - Cáēĸ NĂ...
HáģŒC TáģT TIáēžNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIáēžT - Cáēĸ NĂ...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 

Managing Software Project

  • 1. 1 Part 4 Managing Sof t ware Proj ect Software Engineering: A Practitioner’s Approach, 6th edition by Roger S. Pressman
  • 2. 2 Chapt er 21 Proj ect Management Concept s Software Engineering: A Practitioner’s Approach, 6th edition by Roger S. Pressman
  • 3. 3 The 4 P’s ī‚§ People — the most important element of a successful project ī‚§ Product — the software to be built ī‚§ Process — the set of framework activities and software engineering tasks to get the job done ī‚§ Project — all work required to make the product a reality
  • 4. 4 St akeholders ī‚§ Senior managers who define the business issues that often have significant influence on the project. ī‚§ Project (technical) managers who must plan, motivate, organize, and control the practitioners who do software work. ī‚§ Practitioners who deliver the technical skills that are necessary to engineer a product or application. ī‚§ Customers who specify the requirements for the software to be engineered and other stakeholders who have a peripheral interest in the outcome. ī‚§ End-users who interact with the software once it is released for production use.
  • 5. 5 Sof t ware Teams How to lead? How to organize? How to motivate? How to collaborate? How to create good ideas?
  • 6. 6 Team Leader ī‚§ The MOI Model: ī‚Ÿ Motivation. The ability to encourage (by “push or pull”) technical people to produce to their best ability. ī‚Ÿ Organization. The ability to mold existing processes (or invent new ones) that will enable the initial concept to be translated into a final product. ī‚Ÿ Ideas or innovation. The ability to encourage people to create and feel creative even when they must work within bounds established for a particular software product or application.
  • 7. 7 Sof t ware Teams ī‚§ The difficulty of the problem to be solved ī‚§ The size of the resultant program(s) in lines of code or function points ī‚§ The time that the team will stay together (team lifetime) ī‚§ The degree to which the problem can be modularized ī‚§ The required quality and reliability of the system to be built ī‚§ The rigidity of the delivery date ī‚§ The degree of sociability (communication) required for the project The following factors must be considered when selectingThe following factors must be considered when selecting a software project team structure ...a software project team structure ...
  • 8. 8 Organizat ional Paradigms ī‚§ Closed paradigm—structures a team along a traditional hierarchy of authority ī‚§ Random paradigm—structures a team loosely and depends on individual initiative of the team members ī‚§ Open paradigm—attempts to structure a team in a manner that achieves some of the controls associated with the closed paradigm but also much of the innovation that occurs when using the random paradigm ī‚§ Synchronous paradigm—relies on the natural compartmentalization of a problem and organizes team members to work on pieces of the problem with little active communication among themselves suggested by Constantine [CON93]
  • 9. 9 Avoid Team “Toxicit y” ī‚§ A frenzied work atmosphere in which team members waste energy and lose focus on the objectives of the work to be performed. ī‚§ High frustration caused by personal, business, or technological factors that cause friction among team members. ī‚§ “Fragmented or poorly coordinated procedures” or a poorly defined or improperly chosen process model that becomes a roadblock to accomplishment. ī‚§ Unclear definition of roles resulting in a lack of accountability and resultant finger-pointing. ī‚§ “Continuous and repeated exposure to failure” that leads to a loss of confidence and a lowering of morale.
  • 10. 10 Agile Teams ī‚§ Team members must have trust in one another. ī‚§ The distribution of skills must be appropriate to the problem. ī‚§ Mavericks may have to be excluded from the team, if team cohesiveness is to be maintained. ī‚§ Team is “self-organizing” ī‚Ÿ An adaptive team structure ī‚Ÿ Uses elements of Constantine’s random, open, and synchronous paradigms ī‚Ÿ Significant autonomy
  • 11. 11 Team Coordinat ion & Communicat ion ī‚§ Formal, impersonal approaches include software engineering documents and work products (including source code), technical memos, project milestones, schedules, and project control tools (Chapter 23), change requests and related documentation, error tracking reports, and repository data (see Chapter 26). ī‚§ Formal, interpersonal procedures focus on quality assurance activities (Chapter 25) applied to software engineering work products. These include status review meetings and design and code inspections. ī‚§ Informal, interpersonal procedures include group meetings for information dissemination and problem solving and “collocation of requirements and development staff.” ī‚§ Electronic communication encompasses electronic mail, electronic bulletin boards, and by extension, video-based conferencing systems. ī‚§ Interpersonal networking includes informal discussions with team members and those outside the project who may have experience or insight that can assist team members.
  • 12. 12 The Product Scope ī‚§ Scope: ī‚§ Context. How does the software to be built fit into a larger system, product, or business context and what constraints are imposed as a result of the context? ī‚§ Information objectives. What customer-visible data objects (Chapter 8) are produced as output from the software? What data objects are required for input? ī‚§ Function and performance. What function does the software perform to transform input data into output? Are any special performance characteristics to be addressed? ī‚§ Software project scope must be unambiguous and understandable at the management and technical levels.
  • 13. 13 Problem Decomposit ion ī‚§ Sometimes called partitioning or problem elaboration ī‚§ Once scope is defined â€Ļ ī‚Ÿ It is decomposed into constituent functions ī‚Ÿ It is decomposed into user-visible data objects ī‚Ÿ or ī‚Ÿ It is decomposed into a set of problem classes ī‚§ Decomposition process continues until all functions or problem classes have been defined
  • 14. 14 The Process ī‚§ Once a process framework has been established ī‚Ÿ Consider project characteristics ī‚Ÿ Determine the degree of rigor required ī‚Ÿ Define a task set for each software engineering activity ī‚§ Task set = ī‚Ÿ Software engineering tasks ī‚Ÿ Work products ī‚Ÿ Quality assurance points ī‚Ÿ Milestones
  • 15. 15 Melding t he Problem and t he Process
  • 16. 16 The Proj ect ī‚§ Projects get into trouble when â€Ļ ī‚Ÿ Software people don’t understand their customer’s needs. ī‚Ÿ The product scope is poorly defined. ī‚Ÿ Changes are managed poorly. ī‚Ÿ The chosen technology changes. ī‚Ÿ Business needs change [or are ill-defined]. ī‚Ÿ Deadlines are unrealistic. ī‚Ÿ Users are resistant. ī‚Ÿ Sponsorship is lost [or was never properly obtained]. ī‚Ÿ The project team lacks people with appropriate skills. ī‚Ÿ Managers [and practitioners] avoid best practices and lessons learned.
  • 17. 17 Common-Sense Approach t o Proj ect s ī‚§ Start on the right foot. This is accomplished by working hard (very hard) to understand the problem that is to be solved and then setting realistic objectives and expectations. ī‚§ Maintain momentum. The project manager must provide incentives to keep turnover of personnel to an absolute minimum, the team should emphasize quality in every task it performs, and senior management should do everything possible to stay out of the team’s way. ī‚§ Track progress. For a software project, progress is tracked as work products (e.g., models, source code, sets of test cases) are produced and approved (using formal technical reviews) as part of a quality assurance activity. ī‚§ Make smart decisions. In essence, the decisions of the project manager and the software team should be to “keep it simple.” ī‚§ Conduct a postmortem analysis. Establish a consistent mechanism for extracting lessons learned for each project.
  • 18. 18 To Get t o t he Essence of a Proj ect ī‚§ Why is the system being developed? ī‚§ What will be done? ī‚§ When will it be accomplished? ī‚§ Who is responsible? ī‚§ Where are they organizationally located? ī‚§ How will the job be done technically and managerially? ī‚§ How much of each resource (e.g., people, software, tools, database) will be needed? Barry Boehm
  • 19. 19 Crit ical Pract ices ī‚§ Formal risk management ī‚§ Empirical cost and schedule estimation ī‚§ Metrics-based project management ī‚§ Earned value tracking ī‚§ Defect tracking against quality targets ī‚§ People aware project management
  • 20. 20 Chapt er 22 Process and Project Metrics Software Engineering: A Practitioner’s Approach, 6th edition by Roger S. Pressman
  • 21. 21 A Good Manager Measures measurementmeasurement What do weWhat do we use as ause as a basis?basis? â€ĸâ€ĸ size?size? â€ĸâ€ĸ function?function? project metricsproject metrics process metricsprocess metrics processprocess productproduct product metricsproduct metrics
  • 22. 22 Why Do We Measure? ī‚§ assess the status of an ongoing project ī‚§ track potential risks ī‚§ uncover problem areas before they go “critical,” ī‚§ adjust work flow or tasks, ī‚§ evaluate the project team’s ability to control quality of software work products.
  • 23. 23 Process Measurement ī‚§ We measure the efficacy of a software process indirectly. ī‚Ÿ That is, we derive a set of metrics based on the outcomes that can be derived from the process. ī‚Ÿ Outcomes include ī‚§ measures of errors uncovered before release of the software ī‚§ defects delivered to and reported by end-users ī‚§ work products delivered (productivity) ī‚§ human effort expended ī‚§ calendar time expended ī‚§ schedule conformance ī‚§ other measures. ī‚§ We also derive process metrics by measuring the characteristics of specific software engineering tasks.
  • 24. 24 Process Met rics Guidelines ī‚§ Use common sense and organizational sensitivity when interpreting metrics data. ī‚§ Provide regular feedback to the individuals and teams who collect measures and metrics. ī‚§ Don’t use metrics to appraise individuals. ī‚§ Work with practitioners and teams to set clear goals and metrics that will be used to achieve them. ī‚§ Never use metrics to threaten individuals or teams. ī‚§ Metrics data that indicate a problem area should not be considered “negative.” These data are merely an indicator for process improvement. ī‚§ Don’t obsess on a single metric to the exclusion of other important metrics.
  • 25. 25 Sof t ware Process I mprovement SPI Process model Improvement goals Process metrics Process improvement recommendations
  • 26. 26 Process Met rics ī‚§ Quality-related ī‚Ÿ focus on quality of work products and deliverables ī‚§ Productivity-related ī‚Ÿ Production of work-products related to effort expended ī‚§ Statistical SQA data ī‚Ÿ error categorization & analysis ī‚§ Defect removal efficiency ī‚Ÿ propagation of errors from process activity to activity ī‚§ Reuse data ī‚Ÿ The number of components produced and their degree of reusability
  • 27. 27 Proj ect Met rics ī‚§ used to minimize the development schedule by making the adjustments necessary to avoid delays and mitigate potential problems and risks ī‚§ used to assess product quality on an ongoing basis and, when necessary, modify the technical approach to improve quality. ī‚§ every project should measure: ī‚Ÿ inputs—measures of the resources (e.g., people, tools) required to do the work. ī‚Ÿ outputs—measures of the deliverables or work products created during the software engineering process. ī‚Ÿ results—measures that indicate the effectiveness of the deliverables.
  • 28. 28 Typical Proj ect Met rics ī‚§ Effort/time per software engineering task ī‚§ Errors uncovered per review hour ī‚§ Scheduled vs. actual milestone dates ī‚§ Changes (number) and their characteristics ī‚§ Distribution of effort on software engineering tasks
  • 29. 29 Met rics Guidelines ī‚§ Use common sense and organizational sensitivity when interpreting metrics data. ī‚§ Provide regular feedback to the individuals and teams who have worked to collect measures and metrics. ī‚§ Don’t use metrics to appraise individuals. ī‚§ Work with practitioners and teams to set clear goals and metrics that will be used to achieve them. ī‚§ Never use metrics to threaten individuals or teams. ī‚§ Metrics data that indicate a problem area should not be considered “negative.” These data are merely an indicator for process improvement. ī‚§ Don’t obsess on a single metric to the exclusion of other important metrics.
  • 30. 30 Typical Size-Orient ed Met rics ī‚§ errors per KLOC (thousand lines of code) ī‚§ defects per KLOC ī‚§ $ per LOC ī‚§ pages of documentation per KLOC ī‚§ errors per person-month ī‚§ Errors per review hour ī‚§ LOC per person-month ī‚§ $ per page of documentation
  • 31. 31 Typical Funct ion-Orient ed Met rics ī‚§ errors per FP (thousand lines of code) ī‚§ defects per FP ī‚§ $ per FP ī‚§ pages of documentation per FP ī‚§ FP per person-month
  • 32. 32 Comparing LOC and FP Programming LOC per Function point Language avg. median low high Ada 154 - 104 205 Assembler 337 315 91 694 C 162 109 33 704 C++ 66 53 29 178 COBOL 77 77 14 400 Java 63 53 77 - JavaScript 58 63 42 75 Perl 60 - - - PL/1 78 67 22 263 Powerbuilder 32 31 11 105 SAS 40 41 33 49 Smalltalk 26 19 10 55 SQL 40 37 7 110 Visual Basic 47 42 16 158 Representative values developed by QSM
  • 33. 33 Why Opt f or FP? ī‚§ Programming language independent ī‚§ Used readily countable characteristics that are determined early in the software process ī‚§ Does not “penalize” inventive (short) implementations that use fewer LOC that other more clumsy versions ī‚§ Makes it easier to measure the impact of reusable components
  • 34. 34 Obj ect -Orient ed Met rics ī‚§ Number of scenario scripts (use-cases) ī‚§ Number of support classes (required to implement the system but are not immediately related to the problem domain) ī‚§ Average number of support classes per key class (analysis class) ī‚§ Number of subsystems (an aggregation of classes that support a function that is visible to the end-user of a system)
  • 35. 35 WebE Proj ect Met rics ī‚§ Number of static Web pages (the end-user has no control over the content displayed on the page) ī‚§ Number of dynamic Web pages (end-user actions result in customized content displayed on the page) ī‚§ Number of internal page links (internal page links are pointers that provide a hyperlink to some other Web page within the WebApp) ī‚§ Number of persistent data objects ī‚§ Number of external systems interfaced ī‚§ Number of static content objects ī‚§ Number of dynamic content objects ī‚§ Number of executable functions
  • 36. 36 Measuring Qualit y ī‚§ Correctness — the degree to which a program operates according to specification ī‚§ Maintainability—the degree to which a program is amenable to change ī‚§ Integrity—the degree to which a program is impervious to outside attack ī‚§ Usability—the degree to which a program is easy to use
  • 37. 37 Def ect Removal Ef f iciency DRE = E /(E + D) E is the number of errors found before delivery of the software to the end-user D is the number of defects found after delivery.
  • 38. 38 Met rics f or Small Organizat ions ī‚§ time (hours or days) elapsed from the time a request is made until evaluation is complete, tqueue. ī‚§ effort (person-hours) to perform the evaluation, Weval. ī‚§ time (hours or days) elapsed from completion of evaluation to assignment of change order to personnel, teval. ī‚§ effort (person-hours) required to make the change, Wchange. ī‚§ time required (hours or days) to make the change, tchange. ī‚§ errors uncovered during work to make change, Echange. ī‚§ defects uncovered after change is released to the customer base, Dchange.
  • 39. 39 Est ablishing a Met rics Program ī‚§ Identify your business goals. ī‚§ Identify what you want to know or learn. ī‚§ Identify your subgoals. ī‚§ Identify the entities and attributes related to your subgoals. ī‚§ Formalize your measurement goals. ī‚§ Identify quantifiable questions and the related indicators that you will use to help you achieve your measurement goals. ī‚§ Identify the data elements that you will collect to construct the indicators that help answer your questions. ī‚§ Define the measures to be used, and make these definitions operational. ī‚§ Identify the actions that you will take to implement the measures. ī‚§ Prepare a plan for implementing the measures.
  • 40. 40 Chapt er 23 Est imat ion f or Sof t ware Proj ect s Software Engineering: A Practitioner’s Approach, 6th edition by Roger S. Pressman
  • 41. 41 Sof t ware Proj ect Planning The overall goal of project planning is toThe overall goal of project planning is to establish a pragmatic strategy for controlling,establish a pragmatic strategy for controlling, tracking, and monitoring a complex technicaltracking, and monitoring a complex technical project.project. Why?Why? So the end result gets done on time, with quality!So the end result gets done on time, with quality!
  • 42. 42 Proj ect Planning Task Set -I ī‚§ Establish project scope ī‚§ Determine feasibility ī‚§ Analyze risks ī‚§ Define required resources ī‚Ÿ Determine require human resources ī‚Ÿ Define reusable software resources ī‚Ÿ Identify environmental resources
  • 43. 43 Proj ect Planning Task Set -I I ī‚§ Estimate cost and effort ī‚Ÿ Decompose the problem ī‚Ÿ Develop two or more estimates using size, function points, process tasks or use-cases ī‚Ÿ Reconcile the estimates ī‚§ Develop a project schedule ī‚Ÿ Establish a meaningful task set ī‚Ÿ Define a task network ī‚Ÿ Use scheduling tools to develop a timeline chart ī‚Ÿ Define schedule tracking mechanisms
  • 44. 44 Est imat ion ī‚§ Estimation of resources, cost, and schedule for a software engineering effort requires ī‚Ÿ experience ī‚Ÿ access to good historical information (metrics ī‚Ÿ the courage to commit to quantitative predictions when qualitative information is all that exists ī‚§ Estimation carries inherent risk and this risk leads to uncertainty
  • 45. 45 Writ e it Down! SoftwareSoftware ProjectProject PlanPlan Project ScopeProject Scope EstimatesEstimates RisksRisks ScheduleSchedule Control strategyControl strategy
  • 46. 46 To Underst and Scope ... ī‚§ Understand the customers needs ī‚§ understand the business context ī‚§ understand the project boundaries ī‚§ understand the customer’s motivation ī‚§ understand the likely paths for change ī‚§ understand that ... Even when you understand,Even when you understand, nothing is guaranteed!nothing is guaranteed!
  • 47. 47 What is Scope? ī‚§ Software scope describes ī‚Ÿ the functions and features that are to be delivered to end- users ī‚Ÿ the data that are input and output ī‚Ÿ the “content” that is presented to users as a consequence of using the software ī‚Ÿ the performance, constraints, interfaces, and reliability that bound the system. ī‚§ Scope is defined using one of two techniques: ī‚Ÿ A narrative description of software scope is developed after communication with all stakeholders. ī‚Ÿ A set of use-cases is developed by end-users.
  • 49. 49 Proj ect Est imat ion ī‚§ Project scope must be understood ī‚§ Elaboration (decomposition) is necessary ī‚§ Historical metrics are very helpful ī‚§ At least two different techniques should be used ī‚§ Uncertainty is inherent in the process
  • 50. 50 Est imat ion Techniques ī‚§ Past (similar) project experience ī‚§ Conventional estimation techniques ī‚Ÿ task breakdown and effort estimates ī‚Ÿ size (e.g., FP) estimates ī‚§ Empirical models ī‚§ Automated tools
  • 51. 51 Est imat ion Accuracy ī‚§ Predicated on â€Ļ ī‚Ÿ the degree to which the planner has properly estimated the size of the product to be built ī‚Ÿ the ability to translate the size estimate into human effort, calendar time, and dollars (a function of the availability of reliable software metrics from past projects) ī‚Ÿ the degree to which the project plan reflects the abilities of the software team ī‚Ÿ the stability of product requirements and the environment that supports the software engineering effort.
  • 52. 52 Funct ional Decomposit ion functionalfunctional decompositiondecomposition StatementStatement ofof ScopeScope Perform aPerform a GrammaticalGrammatical “parse”“parse”
  • 53. 53 Convent ional Met hods: LOC/ FP Approach ī‚§ compute LOC/FP using estimates of information domain values ī‚§ use historical data to build estimates for the project
  • 54. 54 Process-Based Est imat ion Obtained from “process framework”Obtained from “process framework” applicationapplication functionsfunctions framework activitiesframework activities Effort required toEffort required to accomplishaccomplish each frameworkeach framework activity for eachactivity for each applicationapplication functionfunction
  • 55. 55 Process-Based Est imat ion ExampleActivity Task Function UICF 2DGA 3DGA DSM PCF CGDF DAM Totals % effort CC Planning Risk Analysis Engineering Construction Release TotalsCE analysis design code test 0.25 0.25 0.25 3.50 20.50 4.50 16.50 46.00 1% 1% 1% 8% 45% 10% 36% CC = customer communication CE = customer evaluation 0.50 0.75 0.50 0.50 0.50 0.25 2.50 4.00 4.00 3.00 3.00 2.00 0.40 0.60 1.00 1.00 0.75 0.50 5.00 2.00 3.00 1.50 1.50 1.50 8.40 7.35 8.50 6.00 5.75 4.25 0.50 2.00 0.50 2.00 5.00 n/a n/a n/a n/a n/a n/a n/a Based on an average burdened labor rate of $8,000 per month, theBased on an average burdened labor rate of $8,000 per month, the total estimated project cost is $368,000 and the estimated effort is 46total estimated project cost is $368,000 and the estimated effort is 46 person-months.person-months.
  • 56. 56 Tool-Based Est imat ion project characteristicsproject characteristics calibration factorscalibration factors LOC/FP dataLOC/FP data
  • 57. 57 Est imat ion wit h Use-Cases use cases scenarios pages Åšscenarios pages LOC LOC estimate e subsystem 6 10 6 Åš 12 5 560 3,366 subsystem group 10 20 8 Åš 16 8 3100 31,233 e subsystem group 5 6 5 Åš 10 6 1650 7,970 Åš Åš Åš Åš stimate Åš Åš Åš Åš 42,568 User interface subsystem Engineering subsystem group Infrastructure subsystem group Total LOCestimate Using 620 LOC/pm as the average productivity for systems of thisUsing 620 LOC/pm as the average productivity for systems of this type and a burdened labor rate of $8000 per month, the cost per linetype and a burdened labor rate of $8000 per month, the cost per line of code is approximately $13. Based on the use-case estimate and theof code is approximately $13. Based on the use-case estimate and the historical productivity data, the total estimated project cost ishistorical productivity data, the total estimated project cost is $552,000 and the estimated effort is 68 person-months.$552,000 and the estimated effort is 68 person-months.
  • 58. 58 Empirical Est imat ion Models General form:General form: effort = tuning coefficient * sizeeffort = tuning coefficient * size exponentexponent usually derivedusually derived as person-monthsas person-months of effort requiredof effort required either a constant oreither a constant or a number derived baseda number derived based on complexity of projecton complexity of project usually LOC butusually LOC but may also bemay also be function pointfunction point empiricallyempirically derivedderived
  • 59. 59 COCOMO-I I ī‚§ COCOMO II is actually a hierarchy of estimation models that address the following areas: ī‚Ÿ Application composition model. Used during the early stages of software engineering, when prototyping of user interfaces, consideration of software and system interaction, assessment of performance, and evaluation of technology maturity are paramount. ī‚Ÿ Early design stage model. Used once requirements have been stabilized and basic software architecture has been established. ī‚Ÿ Post-architecture-stage model. Used during the construction of the software.
  • 60. 60 The Sof t ware Equat ion A dynamic multivariable modelA dynamic multivariable model E = [LOC x BE = [LOC x B0.3330.333 /P]/P]33 x (1/tx (1/t44 )) wherewhere E = effort in person-months or person-yearsE = effort in person-months or person-years t = project duration in months or yearst = project duration in months or years B = “special skills factor”B = “special skills factor” P = “productivity parameter”P = “productivity parameter”
  • 61. 61 Est imat ion f or OO Proj ect s- I ī‚§ Develop estimates using effort decomposition, FP analysis, and any other method that is applicable for conventional applications. ī‚§ Using object-oriented analysis modeling (Chapter 8), develop use-cases and determine a count. ī‚§ From the analysis model, determine the number of key classes (called analysis classes in Chapter 8). ī‚§ Categorize the type of interface for the application and develop a multiplier for support classes: ī‚Ÿ Interface type Multiplier ī‚Ÿ No GUI 2.0 ī‚Ÿ Text-based user interface 2.25 ī‚Ÿ GUI 2.5 ī‚Ÿ Complex GUI 3.0
  • 62. 62 Est imat ion f or OO Proj ect s- I I ī‚§ Multiply the number of key classes (step 3) by the multiplier to obtain an estimate for the number of support classes. ī‚§ Multiply the total number of classes (key + support) by the average number of work-units per class. Lorenz and Kidd suggest 15 to 20 person-days per class. ī‚§ Cross check the class-based estimate by multiplying the average number of work-units per use-case
  • 63. 63 Est imat ion f or Agile Proj ect s ī‚§ Each user scenario (a mini-use-case) is considered separately for estimation purposes. ī‚§ The scenario is decomposed into the set of software engineering tasks that will be required to develop it. ī‚§ Each task is estimated separately. Note: estimation can be based on historical data, an empirical model, or “experience.” ī‚Ÿ Alternatively, the ‘volume’ of the scenario can be estimated in LOC, FP or some other volume-oriented measure (e.g., use-case count). ī‚§ Estimates for each task are summed to create an estimate for the scenario. ī‚Ÿ Alternatively, the volume estimate for the scenario is translated into effort using historical data. ī‚§ The effort estimates for all scenarios that are to be implemented for a given software increment are summed to develop the effort estimate for the increment.
  • 64. 64 The Make-Buy Decision system Xsystem X reusereuse simple (0.30)simple (0.30) difficult (0.70)difficult (0.70) minorminor changeschanges (0.40)(0.40) majormajor changeschanges (0.60)(0.60) simple (0.20)simple (0.20) complex (0.80)complex (0.80) majormajor changeschanges (0.30)(0.30) minorminor changeschanges (0.70)(0.70) $380,000$380,000 $450,000$450,000 $275,000$275,000 $310,000$310,000 $490,000$490,000 $210,000$210,000 $400,000$400,000 buybuy contractcontract without changes (0.60)without changes (0.60) with changes (0.40)with changes (0.40) $350,000$350,000 $500,000$500,000 buildbuild
  • 65. 65 Comput ing Expect ed Cost (path probability) x (estimated path cost)(path probability) x (estimated path cost) ii ii For example, the expected cost to build is:For example, the expected cost to build is: expected cost = 0.30 ($380K) + 0.70 ($450K)expected cost = 0.30 ($380K) + 0.70 ($450K) similarly,similarly, expected cost =expected cost = $382K$382Kexpected cost =expected cost = $267K$267Kexpected cost =expected cost = $410K$410K buildbuild reusreus ee buybuy contrcontr expected cost =expected cost = = $429 K= $429 K