0% found this document useful (0 votes)
5 views12 pages

CSE320 - Unit5 - 3 Cost Estimation

The document discusses software project management with a focus on project size estimation using two common metrics: Lines of Code (LOC) and Function Point (FP). LOC is simple to calculate but does not account for code complexity, while FP measures functionality and complexity independently of programming language. The document also outlines various project estimation techniques including empirical, heuristic, and analytical methods.

Uploaded by

sikhaahkis00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views12 pages

CSE320 - Unit5 - 3 Cost Estimation

The document discusses software project management with a focus on project size estimation using two common metrics: Lines of Code (LOC) and Function Point (FP). LOC is simple to calculate but does not account for code complexity, while FP measures functionality and complexity independently of programming language. The document also outlines various project estimation techniques including empirical, heuristic, and analytical methods.

Uploaded by

sikhaahkis00
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

Unit-5

Software project management


Table of Content

S/w Project Management

• Project Size Estimation


• Lines of Code (LOC)
• Function Point (FP) Metric

2
Introduction to Project Size Estimation

• Estimating project size is crucial for planning and cost estimation.


• Helps in effort estimation, scheduling and resource allocation.

• Two common metrics:


• Lines of Code (LOC)
• Function Point (FP) Metric

3
Lines of Code (LOC) Metric

• Measures the size of a project by counting the number LOC Example


of lines in the source code.
Scenario:
• Advantages: A software project has 25,000 lines of code.
• Simple and easy to calculate. Productivity rate: 500 LOC per developer per month.
• Works well for projects using a single
programming language. Effort required: 25,000 / 500 = 50 person-months.

• Disadvantages: Helps in workforce allocation and deadline estimation


• Dependent on coding style.
•Does not consider code complexity or
functionality.

4
Function Point (FP) Metric
• Estimate the size, complexity and functionality of software projects
• Measures the functionality provided to the user, independent of programming language.
• Based on five characteristics of product
• External Inputs (EI) (e.g. User registration form, product search form, add to cart form)
• External Outputs (EO) (e.g. confirmation email, order summary page, invoice generation)
• External Inquiries (EQ) (e.g. product availability check, order status check)
• Internal Logical Files (ILF) (e.g. User data, product catalog, order data)
• External Interface Files (EIF) (e.g. payment gateway interface, third party shipping service interface)
• The size of s/w product (in units of FPs) is computed using different characteristics of s/w
product identified in its requirement specification.

5
6
Cont. FPA
• Unadjusted Function Points(UFP): Calculate UFP by multiplying the #f each type
of components by its corresponding weight and summing them up.

• Value Adjustment Factor(VAF): A factor that adjusts the UFP based on general system
characteristics (GSCs) which include considerations like performance, usability and
complexity.
FP= UFP X (0.65 + 0.01 X sum of GSC)

0 – 5
Low high

Value lies b/w 0 to 70


7
Function Point Calculation
Example

8
Cont. UFP

Unadjusted Function Points (UFP) = (30×4) + (60×5) + (23×4) + (8×10) + (2×7) = 606.
9
Cont. VAF & FP

• FP= UFP X VAF


• FP= UFP X (0.65 + 0.01 X sum of GSC (general system characteristics)) 10
LOC vs Function Point
Metric Pros Cons
Language-dependent,
LOC Simple, easy to measure
ignores functionality

Language-independent, More complex to


Function Point
considers functionality calculate

• LOC is easy but lacks accuracy for complex projects.


• Function Point is more reliable but requires detailed analysis.
• Choosing the right metric depends on project type and requirements.
11
Project Estimation Techniques
• Empirical estimation technique
• Heuristic Technique
• Analytical Estimation Technique

12

You might also like