SlideShare a Scribd company logo
1 of 19
PRESENTATION NO: 2
TOPIC: METRICS FOR SPECIFICATION QUALITY
SUBJECT: SOFTWARE ENGINEERING II
BY: RAHAT ULLAH
&
MINHAJ-UD-DIN
METRICS FOR SPECIFICATION QUALITY
• Definition:
software matrix can be defined as “the continuous
application of measurement based techniques to the
software development process and its products to
supply meaningful and timely management
information, together with the use of those techniques
to improve the process and its products”.
MEASURES, METRICS, AND INDICATORS
• These three terms are often used interchangeably, but they can
have subtle differences
• Measure
• Provides a quantitative indication of the extent, amount, dimension,
capacity, or size of some attribute of a product or process
• Measurement
• The act of determining a measure
• Metric
• (IEEE) A quantitative measure of the degree to which a system,
component, or process possesses a given attribute
• Indicator
• A metric or combination of metrics that provides insight into the
software process, a software project, or the product itself
METRICS FOR SPECIFICATION QUALITY
•As mentioned in earlier lectures , the quality of
the software specification is of extreme
importance as the entire building of software is
built on this foundation
•A requirement specification document is
measured in terms of lack of completeness,
consistency, correctness, understand ability,
verifiability, achievability, concision and
HISTORY
• Metrics to assess the quality of the analysis models
and the corresponding software specification were
proposed by Davis in 1993 for these
seemingly qualitative characteristics.
AREAS OF APPLICATIONS
• The most established areas of software metrics is cost
and size estimation techniques
• The predication of quality levels for software is often
in terms of reliability , is another area where software
metrics have an important role to play
• The use of software matrix to provide quantitative
checks on software design is also well established
area.
EXAMPLES
•The numbers of requirements are calculated as:
nr=nf+nnf
Where
• nr = total number of requirements
• Nf= functional requirements
• nnf = non-functional requirements
EXAMPLES(CONT……)
• Now lack of ambiguity in the requirements is
calculated as:
Q1 = nui/nr
Where
• nui = number of requirements for which all
reviewers had identical interpretation (i.e.
unambiguous requirements)
EXAMPLES(CONT…)
Similarly
Completeness
Q2 = Nu / [Ni*Ns]
U=unique function
i=input
S=number of states
BASELINE:
• In order to use the data for estitmation and drawing
conclusions, it must be base-lined.
• In the baseline, data from past projects is collected,
cleaned and put in a database.
• To be effective…
Data must be reasonably accurate
Should be collected over many projects
Same techniques for data collection will be used etc.
METRICS FOR SMALL ORGANIZATION
• The metrics program can be quite complex and extensive.
• However, it is important to appreciate that a metrics program
of even a smaller scale would also be of immense value.
• Metrics for small organization…i.e round about 20 people.
• In order for it to be effective, it should be simple and
value oriented and should focus on result rather then
measurement
• It is important to establish the objectives of
measurement.
EXAMPLE
Let us assume that we wanted to reduce the time to evaluate and
implement change request in our organization. In order to achieve
this objective, we need to measure the following.
Effort to perform evaluation _____W eval
Time elapsed from completion of assignment of change
order_______T evla
Effort required to make change_______W change
Time required to make change________T change
Errors uncovered during work_________E change
Defects uncoverd during work_________D change
Someone want to reduce the time to evaluate and implement
change requests in an organization
Proje
ct
Size
(FP)
Effort
(PM)
Cost
(RS)
Pages of
documentatio
n
Pre-
shipment
errors
Post
shipment
errors
people
X 120 24 168000 365 134 29 3
y 270 62 440000 1224 321 86 5
Z 200 43 314000 1050 256 64 6
The data is then normalized on per
function-point basis as follows
Proje
ct
Size
(FP)
Effort
(PM)
Cost
(RS)
Pages of
documentatio
n
Pre
shipment
errors
Post
shipment
errors
people
X 120 0.2 1400 3.04 1.12 0.24 3
y 270 0.23 1629 4.53 1.19 0.32 5
Z 200 0.22 1570 5.25 1.28 0.32 6
• Now use that data to analyze the results
of process change in and their impact on
the time to implement change request
• In order to do that, we need to employ
some statistical techniques and plot the
result graphically. This is known as
statistical control techniques.
WHY HAVE SOFTWARE PRODUCT METRICS?
• Help software engineers to better understand the attributes of
models and assess the quality of the software
• Help software engineers to gain insight into the design and
construction of the software
• Focus on specific attributes of software engineering work
products resulting from analysis, design, coding, and testing
• Provide a systematic way to assess quality based on a set of
clearly defined rules
• Provide an “on-the-spot” rather than “after-the-fact” insight
into the software development
THE END
Thank you for attention….
COMPONENTS OF MATRIX
• Size kloc
• Effort person/month
• Productivity kloc/person month
• Quality no of faults/kloc
• Cost doller/KLOC
• Documentation page of documents/KLOC
• LOC
• Project
• Direct matric
• Indirect metric
• Fault
• Error
• defect

More Related Content

What's hot

3DCS Dimensional Variation Analysis Integrated in PTC CREO
3DCS Dimensional Variation Analysis Integrated in PTC CREO 3DCS Dimensional Variation Analysis Integrated in PTC CREO
3DCS Dimensional Variation Analysis Integrated in PTC CREO Benjamin Reese
 
QDM WEB System -- Connect your suppliers and global enterprise
QDM WEB System -- Connect your suppliers and global enterpriseQDM WEB System -- Connect your suppliers and global enterprise
QDM WEB System -- Connect your suppliers and global enterpriseBenjamin Reese
 
3DCS and Parallel Works Provide Cloud Computing for FAST Tolerance Analysis
3DCS and Parallel Works Provide Cloud Computing for FAST Tolerance Analysis3DCS and Parallel Works Provide Cloud Computing for FAST Tolerance Analysis
3DCS and Parallel Works Provide Cloud Computing for FAST Tolerance AnalysisBenjamin Reese
 
17.11.2016 fm design chazapis presentation
17.11.2016 fm design chazapis presentation17.11.2016 fm design chazapis presentation
17.11.2016 fm design chazapis presentationNicholas Chazapis
 
Worst Case Tolerance Analysis - What is it, why do it, and how?
Worst Case Tolerance Analysis - What is it, why do it, and how?Worst Case Tolerance Analysis - What is it, why do it, and how?
Worst Case Tolerance Analysis - What is it, why do it, and how?Benjamin Reese
 
Feasibility report
Feasibility reportFeasibility report
Feasibility reportRavi Shekhar
 
Ssad system design
Ssad system designSsad system design
Ssad system designRavi Shekhar
 
Ssad quality assurance
Ssad quality assuranceSsad quality assurance
Ssad quality assuranceRavi Shekhar
 
3DCS Dimensional Variation Analysis Integrated in Siemens NX CAD
3DCS Dimensional Variation Analysis Integrated in Siemens NX CAD3DCS Dimensional Variation Analysis Integrated in Siemens NX CAD
3DCS Dimensional Variation Analysis Integrated in Siemens NX CADBenjamin Reese
 
3DCS Advanced Tolerance Analysis - 5 Additional Analyzers and Optimizers
3DCS Advanced Tolerance Analysis - 5 Additional Analyzers and Optimizers3DCS Advanced Tolerance Analysis - 5 Additional Analyzers and Optimizers
3DCS Advanced Tolerance Analysis - 5 Additional Analyzers and OptimizersBenjamin Reese
 
CATIA Integrated Tolerance Analysis - 3DCS for CATIA V5
CATIA Integrated Tolerance Analysis - 3DCS for CATIA V5CATIA Integrated Tolerance Analysis - 3DCS for CATIA V5
CATIA Integrated Tolerance Analysis - 3DCS for CATIA V5Benjamin Reese
 
Process planning approaches
Process planning approaches Process planning approaches
Process planning approaches chethan kumar
 
3DCS FEA Compliant Modeler - Add Finite Element Analysis FEA to Tolerance Ana...
3DCS FEA Compliant Modeler - Add Finite Element Analysis FEA to Tolerance Ana...3DCS FEA Compliant Modeler - Add Finite Element Analysis FEA to Tolerance Ana...
3DCS FEA Compliant Modeler - Add Finite Element Analysis FEA to Tolerance Ana...Benjamin Reese
 
Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)Bhushan Tawade
 

What's hot (19)

Event Scheduling
Event SchedulingEvent Scheduling
Event Scheduling
 
3DCS Dimensional Variation Analysis Integrated in PTC CREO
3DCS Dimensional Variation Analysis Integrated in PTC CREO 3DCS Dimensional Variation Analysis Integrated in PTC CREO
3DCS Dimensional Variation Analysis Integrated in PTC CREO
 
RESUME - Lahiru 2015 (2)
RESUME - Lahiru 2015 (2)RESUME - Lahiru 2015 (2)
RESUME - Lahiru 2015 (2)
 
QDM WEB System -- Connect your suppliers and global enterprise
QDM WEB System -- Connect your suppliers and global enterpriseQDM WEB System -- Connect your suppliers and global enterprise
QDM WEB System -- Connect your suppliers and global enterprise
 
Sad1
Sad1Sad1
Sad1
 
3DCS and Parallel Works Provide Cloud Computing for FAST Tolerance Analysis
3DCS and Parallel Works Provide Cloud Computing for FAST Tolerance Analysis3DCS and Parallel Works Provide Cloud Computing for FAST Tolerance Analysis
3DCS and Parallel Works Provide Cloud Computing for FAST Tolerance Analysis
 
17.11.2016 fm design chazapis presentation
17.11.2016 fm design chazapis presentation17.11.2016 fm design chazapis presentation
17.11.2016 fm design chazapis presentation
 
Worst Case Tolerance Analysis - What is it, why do it, and how?
Worst Case Tolerance Analysis - What is it, why do it, and how?Worst Case Tolerance Analysis - What is it, why do it, and how?
Worst Case Tolerance Analysis - What is it, why do it, and how?
 
Feasibility report
Feasibility reportFeasibility report
Feasibility report
 
Ssad system design
Ssad system designSsad system design
Ssad system design
 
Ssad quality assurance
Ssad quality assuranceSsad quality assurance
Ssad quality assurance
 
3DCS Dimensional Variation Analysis Integrated in Siemens NX CAD
3DCS Dimensional Variation Analysis Integrated in Siemens NX CAD3DCS Dimensional Variation Analysis Integrated in Siemens NX CAD
3DCS Dimensional Variation Analysis Integrated in Siemens NX CAD
 
3DCS Advanced Tolerance Analysis - 5 Additional Analyzers and Optimizers
3DCS Advanced Tolerance Analysis - 5 Additional Analyzers and Optimizers3DCS Advanced Tolerance Analysis - 5 Additional Analyzers and Optimizers
3DCS Advanced Tolerance Analysis - 5 Additional Analyzers and Optimizers
 
CATIA Integrated Tolerance Analysis - 3DCS for CATIA V5
CATIA Integrated Tolerance Analysis - 3DCS for CATIA V5CATIA Integrated Tolerance Analysis - 3DCS for CATIA V5
CATIA Integrated Tolerance Analysis - 3DCS for CATIA V5
 
Process planning approaches
Process planning approaches Process planning approaches
Process planning approaches
 
3DCS FEA Compliant Modeler - Add Finite Element Analysis FEA to Tolerance Ana...
3DCS FEA Compliant Modeler - Add Finite Element Analysis FEA to Tolerance Ana...3DCS FEA Compliant Modeler - Add Finite Element Analysis FEA to Tolerance Ana...
3DCS FEA Compliant Modeler - Add Finite Element Analysis FEA to Tolerance Ana...
 
Metrics used in testing
Metrics used in testingMetrics used in testing
Metrics used in testing
 
Computer Aided Process Planning
Computer Aided Process PlanningComputer Aided Process Planning
Computer Aided Process Planning
 
Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)Computer Aided Process Planning (CAPP)
Computer Aided Process Planning (CAPP)
 

Viewers also liked

FCC Catalyst Design: Morphology, Physiology, Reaction Chemistry and Manufactu...
FCC Catalyst Design: Morphology, Physiology, Reaction Chemistry and Manufactu...FCC Catalyst Design: Morphology, Physiology, Reaction Chemistry and Manufactu...
FCC Catalyst Design: Morphology, Physiology, Reaction Chemistry and Manufactu...Gerard B. Hawkins
 
Environmental Impact Assessment
Environmental Impact AssessmentEnvironmental Impact Assessment
Environmental Impact AssessmentNigel Gardner
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
 

Viewers also liked (6)

FCC Catalyst Design: Morphology, Physiology, Reaction Chemistry and Manufactu...
FCC Catalyst Design: Morphology, Physiology, Reaction Chemistry and Manufactu...FCC Catalyst Design: Morphology, Physiology, Reaction Chemistry and Manufactu...
FCC Catalyst Design: Morphology, Physiology, Reaction Chemistry and Manufactu...
 
IEEE Presentation
IEEE PresentationIEEE Presentation
IEEE Presentation
 
EIA Methods
EIA MethodsEIA Methods
EIA Methods
 
Environmental Impact Assessment
Environmental Impact AssessmentEnvironmental Impact Assessment
Environmental Impact Assessment
 
Cept case study
Cept case studyCept case study
Cept case study
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Similar to Metrics for Specification Quality Presentation

Pressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metricsPressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metricsSeema Kamble
 
Process and Project Metrics-1
Process and Project Metrics-1Process and Project Metrics-1
Process and Project Metrics-1Saqib Raza
 
Project Matrix and Measuring S/W
Project Matrix and Measuring S/WProject Matrix and Measuring S/W
Project Matrix and Measuring S/WAkash Maheshwari
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metricsIndu Sharma Bhardwaj
 
Software engineering jwfiles 3
Software engineering jwfiles 3Software engineering jwfiles 3
Software engineering jwfiles 3Azhar Shaik
 
Software engineering lecture notes
Software engineering lecture notesSoftware engineering lecture notes
Software engineering lecture notesSiva Ayyakutti
 
Enterprise resource planning_system
Enterprise resource planning_systemEnterprise resource planning_system
Enterprise resource planning_systemJithin Zcs
 
Using Benchmarking to Quantify the Benefits of Software Process Improvement
Using Benchmarking to Quantify the Benefits of Software Process ImprovementUsing Benchmarking to Quantify the Benefits of Software Process Improvement
Using Benchmarking to Quantify the Benefits of Software Process ImprovementQuantitative Software Management, Inc.
 
Software Engineering & SDLC
Software Engineering & SDLCSoftware Engineering & SDLC
Software Engineering & SDLCRida Murad
 
Software project plannings
Software project planningsSoftware project plannings
Software project planningsAman Adhikari
 
Software project plannings
Software project planningsSoftware project plannings
Software project planningsAman Adhikari
 
Managing software project, software engineering
Managing software project, software engineeringManaging software project, software engineering
Managing software project, software engineeringRupesh Vaishnav
 
Software Metrics - Software Engineering
Software Metrics - Software EngineeringSoftware Metrics - Software Engineering
Software Metrics - Software EngineeringDrishti Bhalla
 
software metrics(process,project,product)
software metrics(process,project,product)software metrics(process,project,product)
software metrics(process,project,product)Amisha Narsingani
 
Software Engineering 2 lecture slide
Software Engineering 2 lecture slideSoftware Engineering 2 lecture slide
Software Engineering 2 lecture slideAdil Mehmoood
 
agri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptxagri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptxMuhweziAmon4
 

Similar to Metrics for Specification Quality Presentation (20)

Pressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metricsPressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metrics
 
Process and Project Metrics-1
Process and Project Metrics-1Process and Project Metrics-1
Process and Project Metrics-1
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Project Matrix and Measuring S/W
Project Matrix and Measuring S/WProject Matrix and Measuring S/W
Project Matrix and Measuring S/W
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
Software engineering jwfiles 3
Software engineering jwfiles 3Software engineering jwfiles 3
Software engineering jwfiles 3
 
Software engineering lecture notes
Software engineering lecture notesSoftware engineering lecture notes
Software engineering lecture notes
 
Enterprise resource planning_system
Enterprise resource planning_systemEnterprise resource planning_system
Enterprise resource planning_system
 
Software metrics by Dr. B. J. Mohite
Software metrics by Dr. B. J. MohiteSoftware metrics by Dr. B. J. Mohite
Software metrics by Dr. B. J. Mohite
 
Using Benchmarking to Quantify the Benefits of Software Process Improvement
Using Benchmarking to Quantify the Benefits of Software Process ImprovementUsing Benchmarking to Quantify the Benefits of Software Process Improvement
Using Benchmarking to Quantify the Benefits of Software Process Improvement
 
Software Engineering & SDLC
Software Engineering & SDLCSoftware Engineering & SDLC
Software Engineering & SDLC
 
Software project plannings
Software project planningsSoftware project plannings
Software project plannings
 
Software project plannings
Software project planningsSoftware project plannings
Software project plannings
 
Managing software project, software engineering
Managing software project, software engineeringManaging software project, software engineering
Managing software project, software engineering
 
Software Metrics - Software Engineering
Software Metrics - Software EngineeringSoftware Metrics - Software Engineering
Software Metrics - Software Engineering
 
software metrics(process,project,product)
software metrics(process,project,product)software metrics(process,project,product)
software metrics(process,project,product)
 
Software Engineering 2 lecture slide
Software Engineering 2 lecture slideSoftware Engineering 2 lecture slide
Software Engineering 2 lecture slide
 
agri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptxagri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptx
 
Metrics
MetricsMetrics
Metrics
 

More from Student at University Of Malakand, Pakistan (6)

Lecture 4 system programming-data representation
Lecture 4  system programming-data representationLecture 4  system programming-data representation
Lecture 4 system programming-data representation
 
Lecture 4 means end analysis
Lecture 4 means end analysisLecture 4 means end analysis
Lecture 4 means end analysis
 
Lecture 3 general problem solver
Lecture 3 general problem solverLecture 3 general problem solver
Lecture 3 general problem solver
 
Lecture 2 lisp-Overview
Lecture 2 lisp-OverviewLecture 2 lisp-Overview
Lecture 2 lisp-Overview
 
Lecture 1- Artificial Intelligence - Introduction
Lecture 1- Artificial Intelligence - IntroductionLecture 1- Artificial Intelligence - Introduction
Lecture 1- Artificial Intelligence - Introduction
 
waspmote Presentation
waspmote Presentationwaspmote Presentation
waspmote Presentation
 

Metrics for Specification Quality Presentation

  • 1. PRESENTATION NO: 2 TOPIC: METRICS FOR SPECIFICATION QUALITY SUBJECT: SOFTWARE ENGINEERING II BY: RAHAT ULLAH & MINHAJ-UD-DIN
  • 2. METRICS FOR SPECIFICATION QUALITY • Definition: software matrix can be defined as “the continuous application of measurement based techniques to the software development process and its products to supply meaningful and timely management information, together with the use of those techniques to improve the process and its products”.
  • 3. MEASURES, METRICS, AND INDICATORS • These three terms are often used interchangeably, but they can have subtle differences • Measure • Provides a quantitative indication of the extent, amount, dimension, capacity, or size of some attribute of a product or process • Measurement • The act of determining a measure • Metric • (IEEE) A quantitative measure of the degree to which a system, component, or process possesses a given attribute • Indicator • A metric or combination of metrics that provides insight into the software process, a software project, or the product itself
  • 4. METRICS FOR SPECIFICATION QUALITY •As mentioned in earlier lectures , the quality of the software specification is of extreme importance as the entire building of software is built on this foundation •A requirement specification document is measured in terms of lack of completeness, consistency, correctness, understand ability, verifiability, achievability, concision and
  • 5. HISTORY • Metrics to assess the quality of the analysis models and the corresponding software specification were proposed by Davis in 1993 for these seemingly qualitative characteristics.
  • 6. AREAS OF APPLICATIONS • The most established areas of software metrics is cost and size estimation techniques • The predication of quality levels for software is often in terms of reliability , is another area where software metrics have an important role to play • The use of software matrix to provide quantitative checks on software design is also well established area.
  • 7. EXAMPLES •The numbers of requirements are calculated as: nr=nf+nnf Where • nr = total number of requirements • Nf= functional requirements • nnf = non-functional requirements
  • 8. EXAMPLES(CONT……) • Now lack of ambiguity in the requirements is calculated as: Q1 = nui/nr Where • nui = number of requirements for which all reviewers had identical interpretation (i.e. unambiguous requirements)
  • 9. EXAMPLES(CONT…) Similarly Completeness Q2 = Nu / [Ni*Ns] U=unique function i=input S=number of states
  • 10. BASELINE: • In order to use the data for estitmation and drawing conclusions, it must be base-lined. • In the baseline, data from past projects is collected, cleaned and put in a database. • To be effective… Data must be reasonably accurate Should be collected over many projects Same techniques for data collection will be used etc.
  • 11. METRICS FOR SMALL ORGANIZATION • The metrics program can be quite complex and extensive. • However, it is important to appreciate that a metrics program of even a smaller scale would also be of immense value. • Metrics for small organization…i.e round about 20 people. • In order for it to be effective, it should be simple and value oriented and should focus on result rather then measurement • It is important to establish the objectives of measurement.
  • 12. EXAMPLE Let us assume that we wanted to reduce the time to evaluate and implement change request in our organization. In order to achieve this objective, we need to measure the following. Effort to perform evaluation _____W eval Time elapsed from completion of assignment of change order_______T evla Effort required to make change_______W change Time required to make change________T change Errors uncovered during work_________E change Defects uncoverd during work_________D change
  • 13. Someone want to reduce the time to evaluate and implement change requests in an organization Proje ct Size (FP) Effort (PM) Cost (RS) Pages of documentatio n Pre- shipment errors Post shipment errors people X 120 24 168000 365 134 29 3 y 270 62 440000 1224 321 86 5 Z 200 43 314000 1050 256 64 6
  • 14. The data is then normalized on per function-point basis as follows Proje ct Size (FP) Effort (PM) Cost (RS) Pages of documentatio n Pre shipment errors Post shipment errors people X 120 0.2 1400 3.04 1.12 0.24 3 y 270 0.23 1629 4.53 1.19 0.32 5 Z 200 0.22 1570 5.25 1.28 0.32 6
  • 15. • Now use that data to analyze the results of process change in and their impact on the time to implement change request • In order to do that, we need to employ some statistical techniques and plot the result graphically. This is known as statistical control techniques.
  • 16. WHY HAVE SOFTWARE PRODUCT METRICS? • Help software engineers to better understand the attributes of models and assess the quality of the software • Help software engineers to gain insight into the design and construction of the software • Focus on specific attributes of software engineering work products resulting from analysis, design, coding, and testing • Provide a systematic way to assess quality based on a set of clearly defined rules • Provide an “on-the-spot” rather than “after-the-fact” insight into the software development
  • 17.
  • 18. THE END Thank you for attention….
  • 19. COMPONENTS OF MATRIX • Size kloc • Effort person/month • Productivity kloc/person month • Quality no of faults/kloc • Cost doller/KLOC • Documentation page of documents/KLOC • LOC • Project • Direct matric • Indirect metric • Fault • Error • defect