Unit 4 Project Planning, Management and Estimation
Unit 4 Project Planning, Management and Estimation
Management And
Estimation:
• The W5HH (What, Why, When, Who, Where, and How will, How
much) Principle is a project management guideline that helps in
planning and executing a project effectively.
• Key Questions in W5HH:
• What needs to be done? – Define project goals and tasks.
• Why is it being done? – Justify business needs and benefits.
• When will it be accomplished? – Set deadlines and timelines.
• Who is responsible? – Assign roles and responsibilities.
• Where will it be done? – Define the development environment.
• How will it be done? – Outline the process, methodology, and tools.
• The W5HH principle ensures a structured and organized approach to
software project management.
7. Metrics in the Process and Project
Domains
• Metrics help in measuring and improving software development
processes and project management efficiency.
• Types of Metrics:
• Process Metrics:
• Measures the efficiency of the development process.
• Examples:
• Defect Density: Number of defects per module.
• Cycle Time: Time taken to complete one development iteration.
• Process Compliance: Adherence to project guidelines.
Project Metrics:
External Inputs 3 4 6
External Outputs 4 5 7
External Inquiries 3 4 6
External Files 7 10 15
External Interfaces 5 7 10
• Total Unadjusted Function Points (UFP) = Sum of all components.
• Then, the Final Function Point (FP) is adjusted using environmental
factors such as complexity, performance, security, etc.
• Advantages of Function Points:
• ✔ Language-independent.
✔ Better reflects software complexity.
✔ Useful for early project estimation.
• Limitations of Function Points:
• ❌ Requires expert judgment to classify functionalities.
❌ More complex to calculate compared to LOC.
2. Metrics for Project Management
• Project metrics help in tracking and improving project performance,
resource utilization, and efficiency.
• Common Project Metrics:
• Effort Estimation (Person-Months):
• Estimated time required to complete a project based on team size.
• Formula:
• Effort (Person-Months)=Function points(FP)/Productivity Rate(FP per
person-month)
• Schedule Variance (SV):
• Measures the difference between planned and actual progress.
• formula:
• SV=Earned value-planned value
• SV > 0 → Ahead of schedule, SV < 0 → Behind schedule.
Cost Performance Index (CPI):
• Indicates cost efficiency of the project.
• Formula:
• CPI = Earned Value(EV)/Actual Cost(AC)
• CPI > 1 → Under budget, CPI < 1 → Over budget.
• Defect Density:
• Measures the number of defects per size unit (LOC or FP).
• Formula:Defect Density=Total Defects/size of Software(LOC or FP)
•
• CPI > 1 → Under budget, CPI < 1 → Over budget.
Defect Density:
• Measures the number of defects per size unit (LOC or FP).
• Formula:
• Defect Density=Total Defects/ Size of Software(LOC or FP)
• Helps in assessing software quality.
Productivity Measurement:
• Measures team efficiency based on delivered work.
• Formula:
• Productivity= Function Points (FP) or LOC/Effort(person-
Months)
• Higher productivity indicates better efficiency.
Project Estimation in Software
Engineering
• Software project estimation involves predicting the effort, time, and
cost required to develop a software product. Accurate estimation
helps in resource allocation, budgeting, and project scheduling.
• 1. Software Project Estimation
• Software project estimation is the process of forecasting the time,
effort, resources, and cost needed to complete a project.
Key Factors Affecting
Estimation:
• Project Scope: Clearly defined objectives and requirements.
• Team Expertise: Experience of developers and project managers.
• Technology Stack: Complexity of programming languages,
frameworks, and tools.
• Project Constraints: Budget, deadlines, and available resources.
• External Factors: Market conditions, client expectations, and
regulatory requirements.
• Types of Software Estimates:
• Effort Estimation: Predicts work required (in person-months).
• Cost Estimation: Forecasts total project budget.
• Schedule Estimation: Determines project timeline and milestones.
2. Decomposition Techniques for
Estimation
• Decomposition techniques break down the project into smaller
components to estimate effort and cost more accurately.
• A. Function-Oriented Decomposition
• Divides the project based on functional modules (e.g., Login, Payment
Processing, Reports).
• Uses Function Points (FP) to estimate the effort required.
• B. Work Breakdown Structure (WBS)
• Breaks the project into manageable tasks and subtasks.
• Assigns effort and duration estimates to each task.
• Helps in tracking project progress.
• C. Process-Based Estimation
• Breaks the project into phases (e.g., Requirements, Design,
Development, Testing).
• Estimates effort for each phase based on historical data.
3. Cost Estimation Tools and
Techniques
• Several tools and techniques are used for cost estimation in software
projects.
• A. Algorithmic Models
• These models use mathematical formulas to estimate cost based on
project size and complexity.
• 1. COCOMO (Constructive Cost Model)
• A widely used algorithmic estimation model.
• Estimates effort (in person-months) based on project size (measured in
KLOC or Function Points).
• Basic COCOMO Formula:Effort (Person-Months)=a*(size)^b
• Where a and b are constants based on project type (Organic, Semi-
Detached, Embedded).
• Three Variants of COCOMO:
• Basic COCOMO: Simple projects.
• Intermediate COCOMO: Considers project complexity and team expertise.
• Detailed COCOMO: Accounts for multiple cost drivers.
• B. Expert Judgment
• Based on experience and intuition of domain experts.
• Useful when historical data is limited.
• Subjective and may vary between experts.
• C. Estimation by Analogy
• Compares the current project with similar past projects.
• Adjusts the effort and cost estimates based on differences.
• D. Parametric Estimation
• Uses statistical data and cost estimation formulas.
• Example: Function Points × Cost per Function Point.
• E. Bottom-Up Estimation
• Estimates cost for each small task and sums them up.
• Highly accurate but time-consuming.
• F. Top-Down Estimation
• Starts with a high-level estimate and refines it.
• Quick but less accurate.
4. Typical Problems with IT Cost
Estimates
• Estimating IT project costs can be challenging due to several factors:
• Common Problems:
• ❌ Unclear Requirements: Changes in scope cause cost overruns.
❌ Underestimation of Complexity: Hidden challenges increase effort.
❌ Inaccurate Data: Lack of historical data leads to wrong assumptions.
❌ Scope Creep: New features added mid-project increase costs.
❌ Optimistic Assumptions: Unrealistic estimates lead to delays.
❌ Technology Changes: New tools may require additional training and
costs.
❌ Resource Availability: Key personnel may not always be available as
planned.