0% found this document useful (0 votes)
10 views15 pages

Software Complexity

Uploaded by

dhurgadevi
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)
10 views15 pages

Software Complexity

Uploaded by

dhurgadevi
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/ 15

SOFTWARE COMPLEXITY METRICS

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 valueVarianceSchedule variance

Planned Value (PV)


= Planned Completion (%) * Actual Budget
= 15% * Rs. 9, 00, 000
= Rs. 1, 35, 000
Project metrics - Exercise
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 (PV) Earned Value(EV)


= Planned Completion (%) * Actual Budget = Actual Completion (%) * Actual Budget
= 15% * Rs. 9, 00, 000 = 10% * Rs. 9, 00, 000
= Rs. 1, 35, 000
= Rs. 90, 000
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 (PV)


Earned Value(EV) Cost Variance
= Planned Completion (%) * Actual
Budget = Actual Completion (%) * Actual Budget = EV – AC
= 15% * Rs. 9, 00, 000 = 10% * Rs. 9, 00, 000 = Rs. 90, 000 – Rs. 1, 00, 000
= Rs. 1, 35, 000 = Rs. 90, 000 = Rs. - 10, 000
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 (PV) Earned Value(EV) Cost Variance Schedule Variance


= Planned Completion (%) * = Actual Completion (%) *
Actual Budget = EV – AC = EV – PV
Actual Budget
= 15% * Rs. 9, 00, 000 = Rs. 90, 000 – Rs. 1, 00, 000 = Rs. 90, 000 – Rs. 1, 35, 000
= 10% * Rs. 9, 00, 000
= Rs. 1, 35, 000 = Rs. - 10, 000 = Rs. - 45, 000
= Rs. 90, 000

Since the Cost Variance is negative, this means the


project is over-budget and Schedule Variance is
negative, the project is behind schedule.
SOFTWARE COMPLEXITY METRICS

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

UFP = 3*30 + 60 *5 + ???


UFP = 3*30 + 60 *5 + 23 *3
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)
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.

You might also like