Software Complexity
Software Complexity
1.Product metrics
characters of product
size , complexity , design features , performance
2.Process metrics
software development and maintenance process
defect removal during development , time to fix the process
3.Project metrics
characters of project
no of team members , software cycle , cost , schedule
Project metrics - Exercise
1. Suppose you have a budgeted cost of a project as Rs. 9,00,000. The project is to be completed in 9 months.
After a month you have completed 10 percent of project at a total expense of Rs. 1,00,000. The planned
completion should have been 15 percent. You need to determine whether the project is on-time and on budget?
Use Earned value analysis approach and interpret.Planned value Earned valueVarianceSchedule variance
1.Product metrics
characters of product
size , complexity , design features , performance
Size Measure – Estimation of Software Size
Lines of code ( KLOC , NoC, KDSI)
Number of entities ( ER diagram)
No. of process (Data flow diagram)
Function Points (FP)
Function Point analysis
method to find no. of function & type of function utilized by
software
Steps
1.Count number of function in proposed type
2.Compute UFP (Unadjusted Function points)
3.Find TDI (Total Degree of Influence)
4.Compute VAF ( Value Adjustment Factor)
5.Find FPC (Function Point Count)
Function Point analysis
method to find no. of function & type of function utilized by
software
Steps
1.Count number of function in proposed type
External Inputs (EI) - Functions Related To Data Entering System
External Output (EO) - Functions Related To Data Exiting The System
External Enquires (EQ) - Functions Related To Data Retrieval From The System
Internal Logic Files (ILF) - Logical Files Maintained Within The System
External Interface Files (EIF) - Logical Files Available Externally Used The System
Function Point analysis
method to find no. of function & type of function utilized by
software
Steps
1.Count number of function in proposed type
2.Compute UFP (Unadjusted Function points)
No. of low external inputs (I) = 30
No.of average external output (O) = 60
No. low of external inquiries (E) = 23
Steps
1.Count number of function in proposed type
2.Compute UFP (Unadjusted Function points)
3.Find TDI (Total Degree of Influence)
TDI =Sum of all 14 degrees of influences
Function Point analysis
method to find no. of function & type of function utilized by
software
Steps
1.Count number of function in proposed type
2.Compute UFP (Unadjusted Function points)
3.Find TDI (Total Degree of Influence)
4.Compute VAF ( Value Adjustment Factor)
VAF = (TDI * 0.01)+ 0.65
Function Point analysis
method to find no. of function & type of function utilized by
software
Steps
1.Count number of function in proposed type
2.Compute UFP (Unadjusted Function points)
3.Find TDI (Total Degree of Influence)
4.Compute VAF ( Value Adjustment Factor)
5.Find FPC (Function Point Count)
FPC= UFP * VAF
Function Point analysis - EXERCISE
An application has the following:10 low external inputs, 12 high external outputs, 20 low internal
logical files, 15 high external interface files, 12 average external inquiries and a value adjustment
factor of 1.10. Estimate the unadjusted and adjusted function point count?
2.UFP – Unadjusted Function Point
10 x 3 + 12 x 7 + 20 x 7 + 15 + 10 + 12 x 4
= 30 + 84 +140 + 150 + 48
= 452
Function Point analysis - EXERCISE
An application has the following:10 low external inputs, 12 high external outputs, 20 low internal
logical files, 15 high external interface files, 12 average external inquiries and a value adjustment
factor of 1.10. Estimate the unadjusted and adjusted function point count?
2.UFP – Unadjusted Function Point
10 x 3 + 12 x 7 + 20 x 7 + 15 + 10 + 12 x 4
= 30 + 84 +140 + 150 + 48 = 452
3. TDI = 14 * Scale
Scale = 3 (low , average ,high)
TDI = 14*3 = 42
4. VAF = (TDI * 0.01)+ 0.65
CAF = (42*0.01)+0.65 = 1.10
5. FP = UFP x CAF
= 452 x 1.10 = 497.2
Function Point analysis -
EXERCISE
Consider a software project with the following information
domain characteristic for calculation of function point metric.
• Number of external inputs (I) = 30 Solution
• Number of external output (O) = 60 The value of function point metric = UPF * VAF
• Number of external inquiries (E) = 23
• Number of files (F) = 08 Step 2 : UPF = 4*30 + 60*5 + 23*4 + 8*10 + 7*2 =606
• Number of external interfaces (N) = 02 Step 3: TDI = 3*4 + 0*4 + 4*6 = 36
It is given that the complexity weighting factors for I, O, E, F Step 4 : VAF = (TDI * 0.01) + 0.65
and N are 4, 5, 4, 10 and 7, respectively. = 36*0.01 + 0.65
It is also given that, out of fourteen value adjustment factors that = 1.01
influence the development effort, four factors are not applicable, Step 5 : FP = UPF * VAF
each of the other four factors have value 3, and each of the = 1.01 * 606
remaining factors have value 4. The computed value of function = 612.06
point metric.