SlideShare a Scribd company logo
Metrics for Project Size
Estimation
Accurate Estimation Satisfactory Estimation
of of
Problem Size effort, time, cost
For estimating metric or unit required
Project size to express project size
Project Size
IS NOT:
- Bytes source code occupies, executables
occupy
IS:
- Measure of problem complexity in terms of
time and effort required to develop product
LINES OF CODE (LOC)
• The simplest among all metrics available to
estimate project size
• Project size estimated by counting the number of
source instructions
• Lines used for commenting, header lines ignored
• To find LOC at the beginning of a project divide
module into sub modules and so on until size of each
module can be predicted
Disadvantages of LOC
# Gives a numerical value of problem size that vary
widely with individual coding style
If( x>y ) x > y ? x++ : y++;
then x++;
else
y++;
# Good problem size Overall complexity of
Problem + Effort needed
# Effort needed for analysis, design , coding,
testing etc (not just coding)
Disadvantages of LOC
# Larger Code size  Better Quality?
# Impact of Code Reuse on LOC ?
#include <stdio.h>
void main(){
…………
}
# Logical Complexity?
Complex Logic More Effort
Simple Logic Less Effort
while(i<4){ printf(“testing”);
printf(“testing”); printf(“testing”);
} printf(“testing”);
printf(“testing”);
stdio.h
# Accurate computation of LOC only after
project completion!!
Disadvantages of LOC
Function Point Metric
Size of software product computed directly from problem
specification
Size of software = number of different functions/ features it
supports
Input Output
Many features Larger size
Apart from that size depends on
- number of files
- number of interfaces
- number of enquiries
Function
Size of Function Point (FP)= Weighted sum of
these five problem characteristics
1. Number of inputs: Data items input by user
(Group of user inputs taken together)
Employee Account
- Name - Account Name
- Age - Account Number
- Sex - Account Open Date
- Address
Function Point Metric
2. Number of Outputs: Reports, Screen outputs,
Error Messages
3. Number of inquiries: Interactive queries made
by users. user system
4. Number of Files: Logical files e.g. data
structures, physical files
5. Number of interfaces: Interfaces for
exchanging information e.g. disk, tapes,
communication links
Function Point Metric
Software Risks
Anticipated( predict) unfavorable event
When risk turns to reality it hampers successful and
timely completion of project
Anticipate/Identify risks
Contingency Plans
Risky Component
Employee Turnover
Give incentive to employees
Outsource/ Third party
Software Risks
Basic Characteristics of Risks:
i. Uncertainty: Risk may or may not happen
ii. Loss: If risk becomes a reality losses will occur
Risk Management
Risk Identification
Risk Assessment
Risk Containment
i. Risk Identification
- Early identification is important
- Equivalent to listing your nightmares
- To systematically identify important risks
categorize them into classes
Project Risks Business Risk Technical Risks
Types of Risks
a. Project Risk
- Budgetary, Schedule, Personnel,
Resource, Customer related
Schedule Slipping
Cause
- Intangible nature of software
Possible Solution
- Increase visibility thru documentation
b.Technical Risk
- Ambiguous, incomplete, changing
specification
- Potential Flaws in Design
- Implementation
- Interfacing
- Testing, maintenance
- Technical uncertainty/obsolesce
c.Business Risks
- Excellent product but no one wants!!
- Losing budgetary commitment
- Losing personnel commitment
For forseeing and identifying risks
Company Disaster List
All bad events that have happened
contains
prepare
ii. Risk Assessment
Rank risk in terms of their damage causing
potential
The overall risk exposure, RE
Risk Exposure (RE) = r x c
Here, r is probability of occurrence for a risk, and c
is cost to project should risk occur.
ii. Risk Assessment
• Risk exposure can be computed for each risk in
risk table, once an estimate of cost of risk
is made.
• The total risk exposure for all risks (above
the cutoff in the risk table) can provide a
means for adjusting the final cost estimate for a
project.
Case Study
For example, assume that software team defines a project risk in
as follows:
Risk Identification: Only 70 percent of the software components
scheduled for reuse will, in fact, be integrated into the application.
The remaining functionality will have to be custom developed.
Risk Probability: 80% (likely)
The average component is 100 LOC and local data indicate that
the software engineering cost for each LOC is $14.00
Risk Exposure. RE = ?
Case Study
For example, assume that software team defines a project risk in
as follows:
Risk Identification: Only 70 percent of the software components
scheduled for reuse will, in fact, be integrated into the application.
The remaining functionality will have to be custom developed.
Risk Probability: 80% (likely)
Risk Impact: 60 reusable software components were planned. If
only 70 percent can be used, 18 components would have to be
developed from scratch (in addition to other custom software that
has been scheduled for development).
The average component is 100 LOC and local data indicate that
the software engineering cost for each LOC is $14.00
Risk Exposure. RE = ?
Case Study
For example, assume that software team defines a project risk in
as follows:
Risk Identification: Only 70 percent of the software
components scheduled for reuse will, in fact, be integrated into
the application. The remaining functionality will have to be
custom developed.
Risk Probability: 80% (likely)
Risk Impact: 60 reusable software components were planned. If
only 70 percent can be used, 18 components would have to be developed
from scratch (in addition to other custom software that has been
scheduled for development). Since the average component is 100
LOC and local data indicate that the software engineering cost
for each LOC is $14.00
Overall cost (impact) to develop the components would be 18 x
100 x 14 = $25,200.
Risk Exposure. RE = 0.80 x 25,200 ~ $20,200.
iii. Risk Containment
Plans to suppress the most damaging and most likely
risks:
1. Avoid the risk
- discussion with customer and reduce scope of
work
- provide incentives to engineers to avoid
employee turnover
2. Transfer the Risk
- get the risky component developed by a third
party
3. Risk Reduction
- Plan ways to contain the damage due to a risk
Some key personnel might leave  Plan new recruitment

More Related Content

Similar to estimation(Risk).ppt

riskanalysis-120305101118-phpapp02.pdf
riskanalysis-120305101118-phpapp02.pdfriskanalysis-120305101118-phpapp02.pdf
riskanalysis-120305101118-phpapp02.pdf
WilliamTom9
 
software project management.lpu.slide.ansh.gupta
software project management.lpu.slide.ansh.guptasoftware project management.lpu.slide.ansh.gupta
software project management.lpu.slide.ansh.gupta
yitoxay869
 
Unit iii
Unit iiiUnit iii
Risk Based Software Planning
Risk Based Software PlanningRisk Based Software Planning
Risk Based Software Planning
Muhammad Alhalaby
 
Lecture5
Lecture5Lecture5
Lecture5
soloeng
 
Software Engineering Software Project Management
Software Engineering Software Project ManagementSoftware Engineering Software Project Management
Software Engineering Software Project Management
Dr Anuranjan Misra
 
se01.ppt
se01.pptse01.ppt
se01.ppt
xiso
 
Estimation sharbani bhattacharya
Estimation sharbani bhattacharyaEstimation sharbani bhattacharya
Estimation sharbani bhattacharya
Sharbani Bhattacharya
 
Hard work matters for everyone in everytbing
Hard work matters for everyone in everytbingHard work matters for everyone in everytbing
Hard work matters for everyone in everytbing
lojob95766
 
SW_Cost_Estimation.ppt
SW_Cost_Estimation.pptSW_Cost_Estimation.ppt
SW_Cost_Estimation.ppt
PerumalPitchandi
 
Jun 08 - PMWT Featured Paper -Tarabykin - XP PAPER - FINAL
Jun 08 - PMWT Featured Paper -Tarabykin - XP PAPER - FINALJun 08 - PMWT Featured Paper -Tarabykin - XP PAPER - FINAL
Jun 08 - PMWT Featured Paper -Tarabykin - XP PAPER - FINALAlex Tarra
 
Cost effort.ppt
Cost effort.pptCost effort.ppt
Cost effort.ppt
Jayaprasanna4
 
Guide to Software Estimation
Guide to Software EstimationGuide to Software Estimation
Guide to Software Estimation
Santosh Ramachandran
 
IRJET-Automatic Bug Triage with Software
IRJET-Automatic Bug Triage with Software IRJET-Automatic Bug Triage with Software
IRJET-Automatic Bug Triage with Software
IRJET Journal
 
Chapter 11 Metrics for process and projects.ppt
Chapter 11  Metrics for process and projects.pptChapter 11  Metrics for process and projects.ppt
Chapter 11 Metrics for process and projects.ppt
ssuser3f82c9
 
2- THE CHANGING NATURE OF SOFTWARE.pdf
2- THE CHANGING NATURE OF SOFTWARE.pdf2- THE CHANGING NATURE OF SOFTWARE.pdf
2- THE CHANGING NATURE OF SOFTWARE.pdf
bcanawakadalcollege
 
Annotated Bibliography On Unreliable Software
Annotated Bibliography On Unreliable SoftwareAnnotated Bibliography On Unreliable Software
Annotated Bibliography On Unreliable Software
Mary Brown
 
Software Engineering - Basics
Software Engineering - BasicsSoftware Engineering - Basics
Software Engineering - Basics
Purvik Rana
 
Effort estimation( software Engineering)
Effort estimation( software Engineering)Effort estimation( software Engineering)
Effort estimation( software Engineering)
kiran Patel
 

Similar to estimation(Risk).ppt (20)

riskanalysis-120305101118-phpapp02.pdf
riskanalysis-120305101118-phpapp02.pdfriskanalysis-120305101118-phpapp02.pdf
riskanalysis-120305101118-phpapp02.pdf
 
software project management.lpu.slide.ansh.gupta
software project management.lpu.slide.ansh.guptasoftware project management.lpu.slide.ansh.gupta
software project management.lpu.slide.ansh.gupta
 
Unit iii
Unit iiiUnit iii
Unit iii
 
Ch26
Ch26Ch26
Ch26
 
Risk Based Software Planning
Risk Based Software PlanningRisk Based Software Planning
Risk Based Software Planning
 
Lecture5
Lecture5Lecture5
Lecture5
 
Software Engineering Software Project Management
Software Engineering Software Project ManagementSoftware Engineering Software Project Management
Software Engineering Software Project Management
 
se01.ppt
se01.pptse01.ppt
se01.ppt
 
Estimation sharbani bhattacharya
Estimation sharbani bhattacharyaEstimation sharbani bhattacharya
Estimation sharbani bhattacharya
 
Hard work matters for everyone in everytbing
Hard work matters for everyone in everytbingHard work matters for everyone in everytbing
Hard work matters for everyone in everytbing
 
SW_Cost_Estimation.ppt
SW_Cost_Estimation.pptSW_Cost_Estimation.ppt
SW_Cost_Estimation.ppt
 
Jun 08 - PMWT Featured Paper -Tarabykin - XP PAPER - FINAL
Jun 08 - PMWT Featured Paper -Tarabykin - XP PAPER - FINALJun 08 - PMWT Featured Paper -Tarabykin - XP PAPER - FINAL
Jun 08 - PMWT Featured Paper -Tarabykin - XP PAPER - FINAL
 
Cost effort.ppt
Cost effort.pptCost effort.ppt
Cost effort.ppt
 
Guide to Software Estimation
Guide to Software EstimationGuide to Software Estimation
Guide to Software Estimation
 
IRJET-Automatic Bug Triage with Software
IRJET-Automatic Bug Triage with Software IRJET-Automatic Bug Triage with Software
IRJET-Automatic Bug Triage with Software
 
Chapter 11 Metrics for process and projects.ppt
Chapter 11  Metrics for process and projects.pptChapter 11  Metrics for process and projects.ppt
Chapter 11 Metrics for process and projects.ppt
 
2- THE CHANGING NATURE OF SOFTWARE.pdf
2- THE CHANGING NATURE OF SOFTWARE.pdf2- THE CHANGING NATURE OF SOFTWARE.pdf
2- THE CHANGING NATURE OF SOFTWARE.pdf
 
Annotated Bibliography On Unreliable Software
Annotated Bibliography On Unreliable SoftwareAnnotated Bibliography On Unreliable Software
Annotated Bibliography On Unreliable Software
 
Software Engineering - Basics
Software Engineering - BasicsSoftware Engineering - Basics
Software Engineering - Basics
 
Effort estimation( software Engineering)
Effort estimation( software Engineering)Effort estimation( software Engineering)
Effort estimation( software Engineering)
 

Recently uploaded

A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
Victor Morales
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
manasideore6
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
bhadouriyakaku
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxTOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
nikitacareer3
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
RicletoEspinosa1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 

Recently uploaded (20)

A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressionsKuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
KuberTENes Birthday Bash Guadalajara - K8sGPT first impressions
 
Fundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptxFundamentals of Induction Motor Drives.pptx
Fundamentals of Induction Motor Drives.pptx
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.pptPROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
PROJECT FORMAT FOR EVS AMITY UNIVERSITY GWALIOR.ppt
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptxTOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
TOP 10 B TECH COLLEGES IN JAIPUR 2024.pptx
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
AIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdfAIR POLLUTION lecture EnE203 updated.pdf
AIR POLLUTION lecture EnE203 updated.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 

estimation(Risk).ppt

  • 1. Metrics for Project Size Estimation Accurate Estimation Satisfactory Estimation of of Problem Size effort, time, cost For estimating metric or unit required Project size to express project size
  • 2. Project Size IS NOT: - Bytes source code occupies, executables occupy IS: - Measure of problem complexity in terms of time and effort required to develop product
  • 3. LINES OF CODE (LOC) • The simplest among all metrics available to estimate project size • Project size estimated by counting the number of source instructions • Lines used for commenting, header lines ignored • To find LOC at the beginning of a project divide module into sub modules and so on until size of each module can be predicted
  • 4. Disadvantages of LOC # Gives a numerical value of problem size that vary widely with individual coding style If( x>y ) x > y ? x++ : y++; then x++; else y++; # Good problem size Overall complexity of Problem + Effort needed # Effort needed for analysis, design , coding, testing etc (not just coding)
  • 5. Disadvantages of LOC # Larger Code size  Better Quality? # Impact of Code Reuse on LOC ? #include <stdio.h> void main(){ ………… } # Logical Complexity? Complex Logic More Effort Simple Logic Less Effort while(i<4){ printf(“testing”); printf(“testing”); printf(“testing”); } printf(“testing”); printf(“testing”); stdio.h
  • 6. # Accurate computation of LOC only after project completion!! Disadvantages of LOC
  • 7. Function Point Metric Size of software product computed directly from problem specification Size of software = number of different functions/ features it supports Input Output Many features Larger size Apart from that size depends on - number of files - number of interfaces - number of enquiries Function
  • 8. Size of Function Point (FP)= Weighted sum of these five problem characteristics 1. Number of inputs: Data items input by user (Group of user inputs taken together) Employee Account - Name - Account Name - Age - Account Number - Sex - Account Open Date - Address Function Point Metric
  • 9. 2. Number of Outputs: Reports, Screen outputs, Error Messages 3. Number of inquiries: Interactive queries made by users. user system 4. Number of Files: Logical files e.g. data structures, physical files 5. Number of interfaces: Interfaces for exchanging information e.g. disk, tapes, communication links Function Point Metric
  • 10. Software Risks Anticipated( predict) unfavorable event When risk turns to reality it hampers successful and timely completion of project Anticipate/Identify risks Contingency Plans Risky Component Employee Turnover Give incentive to employees Outsource/ Third party
  • 11. Software Risks Basic Characteristics of Risks: i. Uncertainty: Risk may or may not happen ii. Loss: If risk becomes a reality losses will occur
  • 12. Risk Management Risk Identification Risk Assessment Risk Containment
  • 13. i. Risk Identification - Early identification is important - Equivalent to listing your nightmares - To systematically identify important risks categorize them into classes Project Risks Business Risk Technical Risks Types of Risks
  • 14. a. Project Risk - Budgetary, Schedule, Personnel, Resource, Customer related Schedule Slipping Cause - Intangible nature of software Possible Solution - Increase visibility thru documentation
  • 15. b.Technical Risk - Ambiguous, incomplete, changing specification - Potential Flaws in Design - Implementation - Interfacing - Testing, maintenance - Technical uncertainty/obsolesce
  • 16. c.Business Risks - Excellent product but no one wants!! - Losing budgetary commitment - Losing personnel commitment
  • 17. For forseeing and identifying risks Company Disaster List All bad events that have happened contains prepare
  • 18.
  • 19. ii. Risk Assessment Rank risk in terms of their damage causing potential The overall risk exposure, RE Risk Exposure (RE) = r x c Here, r is probability of occurrence for a risk, and c is cost to project should risk occur.
  • 20. ii. Risk Assessment • Risk exposure can be computed for each risk in risk table, once an estimate of cost of risk is made. • The total risk exposure for all risks (above the cutoff in the risk table) can provide a means for adjusting the final cost estimate for a project.
  • 21. Case Study For example, assume that software team defines a project risk in as follows: Risk Identification: Only 70 percent of the software components scheduled for reuse will, in fact, be integrated into the application. The remaining functionality will have to be custom developed. Risk Probability: 80% (likely) The average component is 100 LOC and local data indicate that the software engineering cost for each LOC is $14.00 Risk Exposure. RE = ?
  • 22. Case Study For example, assume that software team defines a project risk in as follows: Risk Identification: Only 70 percent of the software components scheduled for reuse will, in fact, be integrated into the application. The remaining functionality will have to be custom developed. Risk Probability: 80% (likely) Risk Impact: 60 reusable software components were planned. If only 70 percent can be used, 18 components would have to be developed from scratch (in addition to other custom software that has been scheduled for development). The average component is 100 LOC and local data indicate that the software engineering cost for each LOC is $14.00 Risk Exposure. RE = ?
  • 23. Case Study For example, assume that software team defines a project risk in as follows: Risk Identification: Only 70 percent of the software components scheduled for reuse will, in fact, be integrated into the application. The remaining functionality will have to be custom developed. Risk Probability: 80% (likely) Risk Impact: 60 reusable software components were planned. If only 70 percent can be used, 18 components would have to be developed from scratch (in addition to other custom software that has been scheduled for development). Since the average component is 100 LOC and local data indicate that the software engineering cost for each LOC is $14.00 Overall cost (impact) to develop the components would be 18 x 100 x 14 = $25,200. Risk Exposure. RE = 0.80 x 25,200 ~ $20,200.
  • 24. iii. Risk Containment Plans to suppress the most damaging and most likely risks: 1. Avoid the risk - discussion with customer and reduce scope of work - provide incentives to engineers to avoid employee turnover 2. Transfer the Risk - get the risky component developed by a third party 3. Risk Reduction - Plan ways to contain the damage due to a risk Some key personnel might leave  Plan new recruitment

Editor's Notes

  1. Obsolesce-No longer wanted even it is working gud