Software Cost Estimation SLOC-based Models and the Function Points - - PowerPoint PPT Presentation

software cost estimation
SMART_READER_LITE
LIVE PREVIEW

Software Cost Estimation SLOC-based Models and the Function Points - - PowerPoint PPT Presentation

Software Cost Estimation SLOC-based Models and the Function Points Model By Brad Touesnard For SWE4103 University of New Brunswick, Fredericton Intro SLOC Function Points Conclusion Outline Introduction SLOC-based Approach


slide-1
SLIDE 1

Software Cost Estimation

SLOC-based Models and the Function Points Model

By Brad Touesnard For SWE4103 University of New Brunswick, Fredericton

slide-2
SLIDE 2

Intro SLOC Function Points

Conclusion

Outline

Introduction SLOC-based Approach Function Points Approach Conclusions

slide-3
SLIDE 3

Intro SLOC Function Points

Conclusion

Introduction

Ad-hoc models initially used Need for formal estimation model Lines of code easily understood metric 1970 – SLIM (Putnam) 1979 – Function Points (Albrecht) 1981 – COCOMO (Boehm)

slide-4
SLIDE 4

Intro SLOC Function Points

Conclusion

Wagerline.com

Total Estimated Hours = 76 76 x $40 per hour = $3040

slide-5
SLIDE 5

Intro SLOC Function Points

Conclusion

Wagerline.com

Hours

Function

16 User-defined Pools Create a new pool (4 hrs) Display pool leaders (4 hrs) Make picks for a pool (4 hrs) Display all public pools (4 hrs) 4 User registration and login 4 Display user profile 4 Modify user profile 4 Display user’s pending picks 6 Leader board for each sport 4 Home, About Us, Contact Us pages 4 Install, setup, customize phpBB forums 10 External data feed integration and creation of individual sports pages 10 Database model and creation 10 Web site design

slide-6
SLIDE 6

Intro SLOC Function Points

Conclusion

How do you estimate SLOC?

Experience Previous system size Existing system size Breaking system into pieces

From “Schaum's Outline of Software Engineering” by David Gustafson

slide-7
SLIDE 7

Intro SLOC Function Points

Conclusion

How do you estimate SLOC?

For each piece estimate

Smallest possible SLOC - a Most likely SLOC - m Largest possible SLOC - b

From “Example of an Early Sizing, Cost and Schedule Estimate for an Application Software System” by L. H. Putnam

slide-8
SLIDE 8

Intro SLOC Function Points

Conclusion

How do you estimate SLOC?

Expected SLOC for

each piece

Total Expected SLOC

6 4 b m a Ei + + =

From “Example of an Early Sizing, Cost and Schedule Estimate for an Application Software System” by L. H. Putnam

  • =

i

E E

slide-9
SLIDE 9

Intro SLOC Function Points

Conclusion

SLOC Estimate Example

250 220 200 User registration and login 450 300 250 Display user profile 250 150 100 Modify user profile 500 300 200 Display user’s pending picks

Largest Most Likely Smallest

slide-10
SLIDE 10

Intro SLOC Function Points

Conclusion

What are function points?

Functions of a software system 5 Categories

External Input External Output Internal File External Interface External Inquiry

slide-11
SLIDE 11

Intro SLOC Function Points

Conclusion

What are function points?

Internal Files External Inputs External Outputs External Interfaces External Inquiries

System Boundary

slide-12
SLIDE 12

Intro SLOC Function Points

Conclusion

Unadjusted Function Points (UFP)

__ x 6 __ x 4 __ x 3 External Inquiry __ x 10 __ x 7 __ x 5 External Interface __ x 15 __ x 10 __ x 7 Internal File __ x 7 __ x 5 __ x 4 External Output __ x 6 __ x 4 __ x 3 External Input High Avg. Low

From “Reliability of Function Points Measurement. A Field Experiment,” by Chris F. Kemerer

  • =

=

=

3 1 5 1 i j ij ijx

w UFP

slide-13
SLIDE 13

Intro SLOC Function Points

Conclusion

Adjusting for Other Factors

1.

Data communications

2.

Distributed functions

3.

Performance

4.

Heavily used configuration

5.

Transaction rate

6.

Online data entry

7.

End user efficiency

5 – Very Influential 0 – No Influence

slide-14
SLIDE 14

Intro SLOC Function Points

Conclusion

Adjusting for Other Factors

8.

Online update

9.

Complex processing

  • 10. Reusability
  • 11. Installation ease
  • 12. Operational ease
  • 13. Multiple sites
  • 14. Facilitates change

5 – Very Influential 0 – No Influence

slide-15
SLIDE 15

Intro SLOC Function Points

Conclusion

Value Adjustment Factor (VAF)

From “Reliability of Function Points Measurement. A Field Experiment,” by Chris F. Kemerer

  • =
  • +

=

14 1

01 . 65 .

i i

r VAF

where ri is the rating of factor i

slide-16
SLIDE 16

Intro SLOC Function Points

Conclusion

Adjusted Function Points (AFP)

From “Reliability of Function Points Measurement. A Field Experiment,” by Chris F. Kemerer

VAF UFP AFP

  • =
slide-17
SLIDE 17

Intro SLOC Function Points

Conclusion

Function Points Model

Advantages

Estimation data

available early

Language and

implementation independent

Non-technical

estimation Disadvantages

Difficult to

automate data collection

Possible

subjective counting of function points

slide-18
SLIDE 18

Intro SLOC Function Points

Conclusion

SLOC-based Models

Advantages

Easy to automate

data collection

Easy to

understand SLOC concept Disadvantages

Highly subjective

estimate of SLOC

Highly dependent

  • n experience

Difficult calibration

for a non-native environment

slide-19
SLIDE 19

Intro SLOC Function Points

Conclusion

Conclusion

...even the current cost is small relative to the large sums spent on software development and maintenance in total, and managers should consider the time spent on FP collection and analysis as an investment in process improvement of their software development capability.”

– Chris F. Kemerer, “Reliability of Function Points

  • Measurement. A Field Experiment”
slide-20
SLIDE 20

Intro SLOC Function Points

Conclusion

Questions?