Professional Documents
Culture Documents
Software Engineering Lecture - 9
Software Engineering Lecture - 9
Lecture - 9
Function Point
• Lines of Code (LOC) reward low level languages more than high
level languages because more lines of code are needed to deliver a
similar amount of functionality in a higher level language.
• LOC measures are not useful during early project phases where
estimating the number of lines of code that will be delivered is
challenging. However, Function Points can be derived from
requirements and therefore are useful in methods such as estimation.
Decomposition Techniques and Estimation
Units of Size:
• Lines of Code based Estimation
• Function Points
• Construction Cost Model
• KDLOC: Only executable Code
• KDLOC < LOC
Software Sizing
The expected value for the estimation variable (size) Scan be computed as a
weighted average of the optimistic (sopt), most likely (sm), and pessimistic
(spess) estimates. For example,
gives heaviest credence to the “most likely” estimate and follows a beta
probability distribution. We assume that there is a very small probability the
actual size result will fall outside the optimistic or pessimistic values.
Once the expected value for the estimation variable has been determined,
historical LOC or FP productivity data are applied. Are the estimates correct?
The only reasonable answer to this question is: “You can’t be sure.” Any
estimation technique, no matter how sophisticated, must be cross-checked with
another approach. Even then, common sense and experience must prevail.
LOC & FP Based Estimation
LOC & FP Based Estimation
LOC & FP Based Estimation