GROUP MEMBERS
FAIZAN SALEEM (Leader)
ARSALAN SHARIQ
Project Estimation and scheduling
ď‚— Outline:
ď‚— Estimation overview
ď‚— Detailed schedule/planning terminology and processes
Estimation
“The single most important task of a
project: setting realistic expectations.
Unrealistic expectations based on
inaccurate estimates are the single
largest cause of software failure.”
Why its important to you!
ď‚— Program development of large software systems
normally experience 200-300%
cost overruns and a 100% schedule slip
 15% of large projects deliver…NOTHING!
 Key reasons…poor management and inaccurate
estimations of development cost and schedule
ď‚— If not meeting schedules, developers often pay the
price!
The Problems
ď‚— Predicting software cost
ď‚— Predicting software schedule
ď‚— Controlling software risk
ď‚— Managing/tracking project as it progresses
Fundamental estimation
questions
ď‚— How much effort is required to complete an activity?
ď‚— How much calendar time is needed to complete an
activity?
ď‚— What is the total cost of an activity?
ď‚— Project estimation and scheduling are interleaved
management activities.
Software cost components
ď‚— Hardware and software costs.
ď‚— Travel and training costs.
ď‚— Effort costs (the dominant factor in most
projects)
ď‚— The salaries of engineers involved in the project;
ď‚— Social and insurance costs.
ď‚— Effort costs must take overheads into account
ď‚— Costs of building, heating, lighting.
ď‚— Costs of networking and communications.
ď‚— Costs of shared facilities (e.g library, staff restaurant,
etc.).
Costing and pricing
ď‚— Estimates are made to discover the cost, to the developer,
of producing a software system.
ď‚— There is not a simple relationship between the
development cost and the price charged to the customer.
ď‚— Broader organisational, economic, political and business
considerations influence the price charged.
Software pricing factors
Market
opportunity
A development organisation may quote a low price because it
wishes to move into a new segment of the software market.
Accepting a low profit on one project may give the opportunity
of more profit later. The experience gained may allow new
products to be developed.
Cost estimate
uncertainty
If an organisation is unsure of its cost estimate, it may increase
its price by some contingency over and above its normal profit.
Contractual terms A c ustomer may be willing to allow the developer to retain
ownership of the source code and reuse it in other projects. The
price charged may then be less than if the software source code
is handed over to the customer.
Requirements
volatility
If the requirements are likely to change, an organisation may
lower its price to win a contract. After the contract is awarded,
high prices can be charged for changes to the requirements.
Financial health Developers in financial difficulty may lower their price to gain
a contract. It is better to make a sm aller than normal profit or
break even than to go out of business.
Nature of Estimates
ď‚— Man Months (or Person Months), defined as 152 man-
hours of direct-charged labor
ď‚— Schedule in months (requirements complete to
acceptance)
ď‚— Well-managed program
4 Common (subjective)
estimation models
ď‚— Expert Judgment
ď‚— Analogy
 Parkinson’s law
ď‚— Price to win
Expert judgment
ď‚— One or more experts in both software development and
the application domain use their experience to predict
software costs. Process iterates until some consensus is
reached.
ď‚— Advantages: Relatively cheap estimation method. Can be
accurate if experts have direct experience of similar
systems
ď‚— Disadvantages: Very inaccurate if there are no experts!
Estimation by analogy
ď‚— The cost of a project is computed by comparing the project
to a similar project in the same application domain
ď‚— Advantages: May be accurate if project data available and
people/tools the same
ď‚— Disadvantages: Impossible if no comparable project has
been tackled. Needs systematically maintained cost
database
Parkinson's Law
ď‚— The project costs whatever resources are available
ď‚— Advantages: No overspend
ď‚— Disadvantages: System is usually unfinished
Cost Pricing to win
ď‚— The project costs whatever the customer has to spend on
it
ď‚— Advantages: You get the contract
ď‚— Disadvantages: The probability that the customer gets the
system he or she wants is small. Costs do not accurately
reflect the work required.
ď‚— How do you know what customer has?
ď‚— Only a good strategy if you are willing to take a serious loss
to get a first customer, or if Delivery of a radically reduced
product is a real option.
Top-down and bottom-up estimation
ď‚— Any of these approaches may be used top-down or
bottom-up.
ď‚— Top-down
ď‚— Start at the system level and assess the overall system
functionality and how this is delivered through sub-
systems.
ď‚— Bottom-up
ď‚— Start at the component level and estimate the effort
required for each component. Add these efforts to reach
a final estimate.
Top-down estimation
ď‚— Usable without knowledge of the system architecture and
the components that might be part of the system.
ď‚— Takes into account costs such as integration, configuration
management and documentation.
ď‚— Can underestimate the cost of solving difficult low-level
technical problems.
Bottom-up estimation
ď‚— Usable when the architecture of the system is known and
components identified.
ď‚— This can be an accurate method if the system has been
designed in detail.
ď‚— It may underestimate the costs of system level activities
such as integration and documentation.
Estimation methods
ď‚— Each method has strengths and weaknesses.
ď‚— Estimation should be based on several methods.
ď‚— If these do not return approximately the same result,
then you have insufficient information available to make
an estimate.
ď‚— Some action should be taken to find out more in order to
make more accurate estimates.
ď‚— Pricing to win is sometimes the only applicable method.
Pricing to win
ď‚— This approach may seem unethical and un-businesslike.
ď‚— However, when detailed information is lacking it may be
the only appropriate strategy.
ď‚— The project cost is agreed on the basis of an outline
proposal and the development is constrained by that
cost.
ď‚— A detailed specification may be negotiated or an
evolutionary approach used for system development.
Algorithmic cost modeling
ď‚— Cost is estimated as a mathematical function of product,
project and process attributes whose values are estimated
by project managers
ď‚— The function is derived from a study of historical costing
data
ď‚— Most commonly used product attribute for cost
estimation is LOC (code size)
ď‚— Most models are basically similar but with different
attribute values
Criteria for a Good Model
 Defined—clear what is estimated
ď‚— Accurate
 Objective—avoids subjective factors
ď‚— Results understandable
ď‚— Detailed
 Stable—second order relationships
ď‚— Right Scope
ď‚— Easy to Use
 Causal—future data not required
 Parsimonious—everything present is important
ď‚— A measure of the rate at which individual
engineers involved in software development
produce software and associated
documentation.
ď‚— Not quality-oriented although quality assurance is a factor
in productivity assessment.
ď‚— Essentially, we want to measure useful
functionality produced per time unit.
Software productivity
ď‚— Size related measures based on some output from the
software process. This may be lines of delivered source
code, object code instructions, etc.
ď‚— Function-related measures based on an estimate of the
functionality of the delivered software. Function-points
are the best known of this type of measure.
Productivity measures
Estimation techniques
ď‚— There is no simple way to make an accurate estimate
of the effort required to develop a software system
ď‚— Initial estimates are based on inadequate information in
a user requirements definition;
ď‚— The software may run on unfamiliar computers or use
new technology;
ď‚— The people in the project may be unknown.
ď‚— Project cost estimates may be self-fulfilling
ď‚— The estimate defines the budget and the product is
adjusted to meet the budget.
Changing technologies
ď‚— Changing technologies may mean that previous
estimating experience does not carry over to new
systems
ď‚— Distributed object systems rather than mainframe
systems;
ď‚— Use of web services;
ď‚— Use of ERP or database-centred systems;
ď‚— Use of off-the-shelf software;
ď‚— Development for and with reuse;
ď‚— Development using scripting languages;
ď‚— The use of CASE tools and program generators.
Compression Techniques
ď‚— Shorten the overall duration of the project
ď‚— Crashing
ď‚— Looks at cost and schedule tradeoffs
ď‚— Gain greatest compression with least cost
ď‚— Add resources to critical path tasks
ď‚— Limit or reduce requirements (scope)
ď‚— Changing the sequence of tasks
ď‚— Fast Tracking
ď‚— Overlapping of phases, activities or tasks that would otherwise be
sequential
ď‚— Involves some risk
ď‚— May cause rework
QUESTIONS
THANK YOU
Faizan Saleem
faizansaleem2803@yahoo.com
www.facebook.com/faiz.saleem
Presented by
Engr.Faizan Saleem
Software Engineer
Bahria University Karachi Campus
faizansaleem2803@yahoo.com
www.facebook.com/faiz.saleem

Estimation

  • 1.
    GROUP MEMBERS FAIZAN SALEEM(Leader) ARSALAN SHARIQ
  • 2.
    Project Estimation andscheduling ď‚— Outline: ď‚— Estimation overview ď‚— Detailed schedule/planning terminology and processes
  • 3.
    Estimation “The single mostimportant task of a project: setting realistic expectations. Unrealistic expectations based on inaccurate estimates are the single largest cause of software failure.”
  • 4.
    Why its importantto you!  Program development of large software systems normally experience 200-300% cost overruns and a 100% schedule slip  15% of large projects deliver…NOTHING!  Key reasons…poor management and inaccurate estimations of development cost and schedule  If not meeting schedules, developers often pay the price!
  • 5.
    The Problems ď‚— Predictingsoftware cost ď‚— Predicting software schedule ď‚— Controlling software risk ď‚— Managing/tracking project as it progresses
  • 6.
    Fundamental estimation questions ď‚— Howmuch effort is required to complete an activity? ď‚— How much calendar time is needed to complete an activity? ď‚— What is the total cost of an activity? ď‚— Project estimation and scheduling are interleaved management activities.
  • 7.
    Software cost components ď‚—Hardware and software costs. ď‚— Travel and training costs. ď‚— Effort costs (the dominant factor in most projects) ď‚— The salaries of engineers involved in the project; ď‚— Social and insurance costs. ď‚— Effort costs must take overheads into account ď‚— Costs of building, heating, lighting. ď‚— Costs of networking and communications. ď‚— Costs of shared facilities (e.g library, staff restaurant, etc.).
  • 8.
    Costing and pricing ď‚—Estimates are made to discover the cost, to the developer, of producing a software system. ď‚— There is not a simple relationship between the development cost and the price charged to the customer. ď‚— Broader organisational, economic, political and business considerations influence the price charged.
  • 9.
    Software pricing factors Market opportunity Adevelopment organisation may quote a low price because it wishes to move into a new segment of the software market. Accepting a low profit on one project may give the opportunity of more profit later. The experience gained may allow new products to be developed. Cost estimate uncertainty If an organisation is unsure of its cost estimate, it may increase its price by some contingency over and above its normal profit. Contractual terms A c ustomer may be willing to allow the developer to retain ownership of the source code and reuse it in other projects. The price charged may then be less than if the software source code is handed over to the customer. Requirements volatility If the requirements are likely to change, an organisation may lower its price to win a contract. After the contract is awarded, high prices can be charged for changes to the requirements. Financial health Developers in financial difficulty may lower their price to gain a contract. It is better to make a sm aller than normal profit or break even than to go out of business.
  • 10.
    Nature of Estimates ď‚—Man Months (or Person Months), defined as 152 man- hours of direct-charged labor ď‚— Schedule in months (requirements complete to acceptance) ď‚— Well-managed program
  • 11.
    4 Common (subjective) estimationmodels  Expert Judgment  Analogy  Parkinson’s law  Price to win
  • 12.
    Expert judgment ď‚— Oneor more experts in both software development and the application domain use their experience to predict software costs. Process iterates until some consensus is reached. ď‚— Advantages: Relatively cheap estimation method. Can be accurate if experts have direct experience of similar systems ď‚— Disadvantages: Very inaccurate if there are no experts!
  • 13.
    Estimation by analogy ď‚—The cost of a project is computed by comparing the project to a similar project in the same application domain ď‚— Advantages: May be accurate if project data available and people/tools the same ď‚— Disadvantages: Impossible if no comparable project has been tackled. Needs systematically maintained cost database
  • 14.
    Parkinson's Law ď‚— Theproject costs whatever resources are available ď‚— Advantages: No overspend ď‚— Disadvantages: System is usually unfinished
  • 15.
    Cost Pricing towin ď‚— The project costs whatever the customer has to spend on it ď‚— Advantages: You get the contract ď‚— Disadvantages: The probability that the customer gets the system he or she wants is small. Costs do not accurately reflect the work required. ď‚— How do you know what customer has? ď‚— Only a good strategy if you are willing to take a serious loss to get a first customer, or if Delivery of a radically reduced product is a real option.
  • 16.
    Top-down and bottom-upestimation ď‚— Any of these approaches may be used top-down or bottom-up. ď‚— Top-down ď‚— Start at the system level and assess the overall system functionality and how this is delivered through sub- systems. ď‚— Bottom-up ď‚— Start at the component level and estimate the effort required for each component. Add these efforts to reach a final estimate.
  • 17.
    Top-down estimation ď‚— Usablewithout knowledge of the system architecture and the components that might be part of the system. ď‚— Takes into account costs such as integration, configuration management and documentation. ď‚— Can underestimate the cost of solving difficult low-level technical problems.
  • 18.
    Bottom-up estimation ď‚— Usablewhen the architecture of the system is known and components identified. ď‚— This can be an accurate method if the system has been designed in detail. ď‚— It may underestimate the costs of system level activities such as integration and documentation.
  • 19.
    Estimation methods ď‚— Eachmethod has strengths and weaknesses. ď‚— Estimation should be based on several methods. ď‚— If these do not return approximately the same result, then you have insufficient information available to make an estimate. ď‚— Some action should be taken to find out more in order to make more accurate estimates. ď‚— Pricing to win is sometimes the only applicable method.
  • 20.
    Pricing to win ď‚—This approach may seem unethical and un-businesslike. ď‚— However, when detailed information is lacking it may be the only appropriate strategy. ď‚— The project cost is agreed on the basis of an outline proposal and the development is constrained by that cost. ď‚— A detailed specification may be negotiated or an evolutionary approach used for system development.
  • 21.
    Algorithmic cost modeling ď‚—Cost is estimated as a mathematical function of product, project and process attributes whose values are estimated by project managers ď‚— The function is derived from a study of historical costing data ď‚— Most commonly used product attribute for cost estimation is LOC (code size) ď‚— Most models are basically similar but with different attribute values
  • 22.
    Criteria for aGood Model  Defined—clear what is estimated  Accurate  Objective—avoids subjective factors  Results understandable  Detailed  Stable—second order relationships  Right Scope  Easy to Use  Causal—future data not required  Parsimonious—everything present is important
  • 23.
    ď‚— A measureof the rate at which individual engineers involved in software development produce software and associated documentation. ď‚— Not quality-oriented although quality assurance is a factor in productivity assessment. ď‚— Essentially, we want to measure useful functionality produced per time unit. Software productivity
  • 24.
    ď‚— Size relatedmeasures based on some output from the software process. This may be lines of delivered source code, object code instructions, etc. ď‚— Function-related measures based on an estimate of the functionality of the delivered software. Function-points are the best known of this type of measure. Productivity measures
  • 25.
    Estimation techniques ď‚— Thereis no simple way to make an accurate estimate of the effort required to develop a software system ď‚— Initial estimates are based on inadequate information in a user requirements definition; ď‚— The software may run on unfamiliar computers or use new technology; ď‚— The people in the project may be unknown. ď‚— Project cost estimates may be self-fulfilling ď‚— The estimate defines the budget and the product is adjusted to meet the budget.
  • 26.
    Changing technologies ď‚— Changingtechnologies may mean that previous estimating experience does not carry over to new systems ď‚— Distributed object systems rather than mainframe systems; ď‚— Use of web services; ď‚— Use of ERP or database-centred systems; ď‚— Use of off-the-shelf software; ď‚— Development for and with reuse; ď‚— Development using scripting languages; ď‚— The use of CASE tools and program generators.
  • 27.
    Compression Techniques ď‚— Shortenthe overall duration of the project ď‚— Crashing ď‚— Looks at cost and schedule tradeoffs ď‚— Gain greatest compression with least cost ď‚— Add resources to critical path tasks ď‚— Limit or reduce requirements (scope) ď‚— Changing the sequence of tasks ď‚— Fast Tracking ď‚— Overlapping of phases, activities or tasks that would otherwise be sequential ď‚— Involves some risk ď‚— May cause rework
  • 28.
  • 29.
  • 30.
    Presented by Engr.Faizan Saleem SoftwareEngineer Bahria University Karachi Campus faizansaleem2803@yahoo.com www.facebook.com/faiz.saleem