SlideShare uma empresa Scribd logo
1 de 23
-By: Aadarsh Sharma
-152409
-ME CSE (Regular)
 Introduction
 Attributes of Software Metrics
 Activities of a Measurement Process
 Types
 Normalization of Metrics
 References
2
 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
3
 Measure
 Provides a quantitative indication of the extent, amount, dimension,
capacity, or size of some attribute of a product or process
 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
 To indicate the quality of the product.
 To assess the productivity of the people who
produce the product
 To assess the benefits derived from new
software engineering methods and tools
 To form a baseline for estimation
 To help justify requests for new tools or
additional training
 Formulation
 The derivation (i.e., identification) of software measures and metrics
appropriate for the representation of the software that is being
considered
 Collection
 The mechanism used to accumulate data required to derive the
formulated metrics
 Analysis
 The computation of metrics and the application of mathematical tools
 Interpretation
 The evaluation of metrics in an effort to gain insight into the quality of
the representation
 Feedback
 Recommendations derived from the interpretation of product metrics
and passed on to the software development team
6
 Simple and computable
 It should be relatively easy to learn how to derive the metric, and its
computation should not demand inordinate effort or time
 Empirically and intuitively persuasive
 The metric should satisfy the engineer’s intuitive notions about the product
attribute under consideration
 Consistent and objective
 The metric should always yield results that are unambiguous
7
(More on next slide)
 Consistent in the use of units and dimensions
 The mathematical computation of the metric should use measures that
do not lead to bizarre combinations of units
 Programming language independent
 Metrics should be based on the analysis model, the design model, or the
structure of the program itself
 An effective mechanism for high-quality feedback
 The metric should lead to a higher-quality end product
8
1. Process Metrics
2. Product Metrics
3. Project Metrics
 Process metrics are measures of the software
development process, such as
 Overall development time
 Type of methodology used
 Process metrics are collected across all
projects and over long periods of time.
 Their intent is to provide indicators that lead
to long-term software process improvement.
 Project Metrics are the measures of Software
Project and are used to monitor and control
the project. They enable a software project
manager to:
 Minimize the development time by making the adjustments
necessary to avoid delays and potential problems and risks.
 Assess product quality on an ongoing basis & modify the
technical approach to improve quality.
 Product metrics are measures of the software
product at any stage of its development,
from requirements to installed system.
Product metrics may measure:
 the complexity of the software design
 the size of the final program
 the number of pages of documentation produced
 Direct measures
 Easy to collect
 E.g. Cost, Effort, Lines of codes (LOC), Execution Speed,
Memory size, Defects etc.
 Indirect measures
 More difficult to assess & can be measured indirectly only.
 Quality, Functionality, Complexity, Reliability, Efficiency,
Maintainability etc.
 2 different project
teams are working to
record errors in a
software process
 Team A – Finds 342
errors during software
process before release
 Team B- Finds 184
errors
Which team is
more effective
in finding
errors?
 To answer this we need to know the size &
complexity of the projects.
 But if we normalize the measures, it is
possible to compare the two
 For normalization we have 2 ways-
 Size-Oriented Metrics
 Function Oriented Metrics
• Based on the “size” of the software produced
Project Effort
(person-
month)
Cost
($)
LOC kLOC Doc.
(pgs)
Error
s
People
A 24 168,000 12100 12.1 365 29 3
B 62 440,000 27200 27.2 1224 86 5
 Errors per KLOC
 $ per KLOC
 Pages of documentation per KLOC
 Errors per person-month
 LOC per person-month
 Advantages of Size Oriented Metrics
 LOC can be easily counted
 Many software estimation models use LOC or KLOC as input.
 Disadvantages of Size Oriented Metrics
 LOC measures are language dependent, programmer dependent
 Their use in estimation requires a lot of detail which can be difficult to achieve.
 The function point metric (FP), first proposed
by Albrecht, can be used effectively as a
means for measuring the functionality
delivered by a system.
 Functionality is measured indirectly using a
measure called function point.
 Function points (FP) - derived using an
empirical relationship based on countable
measures of software & assessments of
software complexity
19
Information
Domain Value Count simple average complex
Weighting factor
External Inputs ( EIs)
External Outputs ( EOs)
External Inquiries ( EQs)
Internal Logical Files ( ILFs)
External Interface Files ( EIFs)
3 4 6
4 5 7
3 4 6
7 10 15
5 7 10
=
=
=
=
=
Count total
3
3
3
3
3
• Errorsper FP
• Defectsper FP
• $ per FP
• Pagesof documentation per FP
1. Count the measurement parameters.
2. Assess the complexity of the values.
3. Calculate the raw FP (see next table).
4. Rate the complexity factors to produce the
complexity adjustment value (CAV)
5. Calculate the adjusted FP as follows:
FP = raw FP x [0.65 + 0.01 x CAV]
• Advantages: language independent, based on data known
early in project, good for estimation
• Disadvantages: calculation complexity, subjective
assessments, FP has no physical meaning (just a number)
 http://www.slideshare.net/13-software-
metrics
 Software Engineering: A Practitioner’s
Approach, 6th edition by Roger S. Pressman
 https://en.wikipedia.org/wiki/Software_metri
c
 http://www.cs.kent.edu/~jmaletic/cs63901/le
ctures/SoftwareMetrics.pdf
22
Any Queries ?
23

Mais conteúdo relacionado

Mais procurados

Requirements analysis
Requirements analysisRequirements analysis
Requirements analysisasimnawaz54
 
software Engineering process
software Engineering processsoftware Engineering process
software Engineering processRaheel Aslam
 
McCall's Quality Factors
McCall's Quality FactorsMcCall's Quality Factors
McCall's Quality FactorsUsman Khan
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceAman Adhikari
 
Software matrics and measurement
Software matrics and measurementSoftware matrics and measurement
Software matrics and measurementGurpreet Saini
 
Software estimation
Software estimationSoftware estimation
Software estimationMd Shakir
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing StrategiesNayyabMirTahir
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and processgouravkalbalia
 
Concept of Failure, error, fault and defect
Concept of Failure, error, fault and defectConcept of Failure, error, fault and defect
Concept of Failure, error, fault and defectchaklee191
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metricsIndu Sharma Bhardwaj
 
Risk Mitigation, Monitoring and Management Plan (RMMM)
Risk Mitigation, Monitoring and Management Plan (RMMM)Risk Mitigation, Monitoring and Management Plan (RMMM)
Risk Mitigation, Monitoring and Management Plan (RMMM)Navjyotsinh Jadeja
 
requirements analysis and design
requirements analysis and designrequirements analysis and design
requirements analysis and designPreeti Mishra
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality AssuranceSachithra Gayan
 
Software Measurement: Lecture 1. Measures and Metrics
Software Measurement: Lecture 1. Measures and MetricsSoftware Measurement: Lecture 1. Measures and Metrics
Software Measurement: Lecture 1. Measures and MetricsProgrameter
 

Mais procurados (20)

Requirements analysis
Requirements analysisRequirements analysis
Requirements analysis
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
software Engineering process
software Engineering processsoftware Engineering process
software Engineering process
 
McCall's Quality Factors
McCall's Quality FactorsMcCall's Quality Factors
McCall's Quality Factors
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Unit1
Unit1Unit1
Unit1
 
Software matrics and measurement
Software matrics and measurementSoftware matrics and measurement
Software matrics and measurement
 
Software estimation
Software estimationSoftware estimation
Software estimation
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
 
Project Estimation
Project EstimationProject Estimation
Project Estimation
 
Software Maintenance
Software MaintenanceSoftware Maintenance
Software Maintenance
 
Software testing and process
Software testing and processSoftware testing and process
Software testing and process
 
Concept of Failure, error, fault and defect
Concept of Failure, error, fault and defectConcept of Failure, error, fault and defect
Concept of Failure, error, fault and defect
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Risk Mitigation, Monitoring and Management Plan (RMMM)
Risk Mitigation, Monitoring and Management Plan (RMMM)Risk Mitigation, Monitoring and Management Plan (RMMM)
Risk Mitigation, Monitoring and Management Plan (RMMM)
 
requirements analysis and design
requirements analysis and designrequirements analysis and design
requirements analysis and design
 
Software design
Software designSoftware design
Software design
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Software Verification & Validation
Software Verification & ValidationSoftware Verification & Validation
Software Verification & Validation
 
Software Measurement: Lecture 1. Measures and Metrics
Software Measurement: Lecture 1. Measures and MetricsSoftware Measurement: Lecture 1. Measures and Metrics
Software Measurement: Lecture 1. Measures and Metrics
 

Destaque

Chapter 6 software metrics
Chapter 6 software metricsChapter 6 software metrics
Chapter 6 software metricsdespicable me
 
Software Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSoftware Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSharbani Bhattacharya
 
Software Engineering Practice - Software Metrics and Estimation
Software Engineering Practice - Software Metrics and EstimationSoftware Engineering Practice - Software Metrics and Estimation
Software Engineering Practice - Software Metrics and EstimationRadu_Negulescu
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisOAK Systems Pvt Ltd
 
Project Matrix and Measuring S/W
Project Matrix and Measuring S/WProject Matrix and Measuring S/W
Project Matrix and Measuring S/WAkash Maheshwari
 
s/w metrics monitoring and control
s/w metrics monitoring and controls/w metrics monitoring and control
s/w metrics monitoring and controlPriyanka Pradhan
 
A functional software measurement approach bridging the gap between problem a...
A functional software measurement approach bridging the gap between problem a...A functional software measurement approach bridging the gap between problem a...
A functional software measurement approach bridging the gap between problem a...IWSM Mensura
 
Cmmaao communication-plan-pmi-pmp
Cmmaao communication-plan-pmi-pmpCmmaao communication-plan-pmi-pmp
Cmmaao communication-plan-pmi-pmppmicmmaao
 
Software Metrics
Software MetricsSoftware Metrics
Software MetricsSwati Patel
 
Measurement Metrics for Object Oriented Design
Measurement Metrics for Object Oriented DesignMeasurement Metrics for Object Oriented Design
Measurement Metrics for Object Oriented Designzebew
 
Communication Plan AET560 Professor Melanie Latin
Communication Plan  AET560  Professor Melanie LatinCommunication Plan  AET560  Professor Melanie Latin
Communication Plan AET560 Professor Melanie Latindkoltes
 
12 couplingand cohesion-student
12 couplingand cohesion-student12 couplingand cohesion-student
12 couplingand cohesion-studentrandhirlpu
 

Destaque (20)

Chapter 6 software metrics
Chapter 6 software metricsChapter 6 software metrics
Chapter 6 software metrics
 
13 software metrics
13 software metrics13 software metrics
13 software metrics
 
Software Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSoftware Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani Bhattacharya
 
Sw Software Metrics
Sw Software MetricsSw Software Metrics
Sw Software Metrics
 
Software Engineering Practice - Software Metrics and Estimation
Software Engineering Practice - Software Metrics and EstimationSoftware Engineering Practice - Software Metrics and Estimation
Software Engineering Practice - Software Metrics and Estimation
 
Testing Metrics
Testing MetricsTesting Metrics
Testing Metrics
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & Analysis
 
Matrix in software engineering
Matrix in software engineeringMatrix in software engineering
Matrix in 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 metrics
Software metricsSoftware metrics
Software metrics
 
Project Management
Project ManagementProject Management
Project Management
 
Metrics
MetricsMetrics
Metrics
 
s/w metrics monitoring and control
s/w metrics monitoring and controls/w metrics monitoring and control
s/w metrics monitoring and control
 
A functional software measurement approach bridging the gap between problem a...
A functional software measurement approach bridging the gap between problem a...A functional software measurement approach bridging the gap between problem a...
A functional software measurement approach bridging the gap between problem a...
 
Cmmaao communication-plan-pmi-pmp
Cmmaao communication-plan-pmi-pmpCmmaao communication-plan-pmi-pmp
Cmmaao communication-plan-pmi-pmp
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Measurement Metrics for Object Oriented Design
Measurement Metrics for Object Oriented DesignMeasurement Metrics for Object Oriented Design
Measurement Metrics for Object Oriented Design
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
Communication Plan AET560 Professor Melanie Latin
Communication Plan  AET560  Professor Melanie LatinCommunication Plan  AET560  Professor Melanie Latin
Communication Plan AET560 Professor Melanie Latin
 
12 couplingand cohesion-student
12 couplingand cohesion-student12 couplingand cohesion-student
12 couplingand cohesion-student
 

Semelhante a Software metrics

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.pptssuser3f82c9
 
Unit2 - Metrics.pptx
Unit2 - Metrics.pptxUnit2 - Metrics.pptx
Unit2 - Metrics.pptxrituah
 
IJSRED-V2I4P8
IJSRED-V2I4P8IJSRED-V2I4P8
IJSRED-V2I4P8IJSRED
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metricsPiyush Sohaney
 
Bca 5th sem seminar(software measurements)
Bca 5th sem seminar(software measurements)Bca 5th sem seminar(software measurements)
Bca 5th sem seminar(software measurements)MuskanSony
 
cost factor.ppt
cost factor.pptcost factor.ppt
cost factor.pptAVUDAI1
 
spm cost estmate slides for bca 4-195245927.ppt
spm cost estmate slides for bca 4-195245927.pptspm cost estmate slides for bca 4-195245927.ppt
spm cost estmate slides for bca 4-195245927.pptRidyaGupta1
 
Lecture 7 Software Metrics.ppt
Lecture 7 Software Metrics.pptLecture 7 Software Metrics.ppt
Lecture 7 Software Metrics.pptTalhaFarooqui12
 
Software Engineering Fundamentals
Software Engineering FundamentalsSoftware Engineering Fundamentals
Software Engineering FundamentalsRahul Sudame
 
Software Size Estimation
Software Size EstimationSoftware Size Estimation
Software Size EstimationMuhammad Asim
 
Lecture5
Lecture5Lecture5
Lecture5soloeng
 
Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3Gurpreet singh
 
Lecture3
Lecture3Lecture3
Lecture3soloeng
 

Semelhante a Software metrics (20)

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
 
Unit2 - Metrics.pptx
Unit2 - Metrics.pptxUnit2 - Metrics.pptx
Unit2 - Metrics.pptx
 
IJSRED-V2I4P8
IJSRED-V2I4P8IJSRED-V2I4P8
IJSRED-V2I4P8
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metrics
 
Bca 5th sem seminar(software measurements)
Bca 5th sem seminar(software measurements)Bca 5th sem seminar(software measurements)
Bca 5th sem seminar(software measurements)
 
Ch26
Ch26Ch26
Ch26
 
55 sample chapter
55 sample chapter55 sample chapter
55 sample chapter
 
55 sample chapter
55 sample chapter55 sample chapter
55 sample chapter
 
Slides chapter 15
Slides chapter 15Slides chapter 15
Slides chapter 15
 
cost factor.ppt
cost factor.pptcost factor.ppt
cost factor.ppt
 
spm cost estmate slides for bca 4-195245927.ppt
spm cost estmate slides for bca 4-195245927.pptspm cost estmate slides for bca 4-195245927.ppt
spm cost estmate slides for bca 4-195245927.ppt
 
SE-Lecture-7.pptx
SE-Lecture-7.pptxSE-Lecture-7.pptx
SE-Lecture-7.pptx
 
Slides chapters 26-27
Slides chapters 26-27Slides chapters 26-27
Slides chapters 26-27
 
Lecture 7 Software Metrics.ppt
Lecture 7 Software Metrics.pptLecture 7 Software Metrics.ppt
Lecture 7 Software Metrics.ppt
 
Software Engineering Fundamentals
Software Engineering FundamentalsSoftware Engineering Fundamentals
Software Engineering Fundamentals
 
Software Size Estimation
Software Size EstimationSoftware Size Estimation
Software Size Estimation
 
Lecture5
Lecture5Lecture5
Lecture5
 
Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3
 
Software testing ppt
Software testing pptSoftware testing ppt
Software testing ppt
 
Lecture3
Lecture3Lecture3
Lecture3
 

Último

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Último (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Software metrics

  • 2.  Introduction  Attributes of Software Metrics  Activities of a Measurement Process  Types  Normalization of Metrics  References 2
  • 3.  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 3
  • 4.  Measure  Provides a quantitative indication of the extent, amount, dimension, capacity, or size of some attribute of a product or process  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
  • 5.  To indicate the quality of the product.  To assess the productivity of the people who produce the product  To assess the benefits derived from new software engineering methods and tools  To form a baseline for estimation  To help justify requests for new tools or additional training
  • 6.  Formulation  The derivation (i.e., identification) of software measures and metrics appropriate for the representation of the software that is being considered  Collection  The mechanism used to accumulate data required to derive the formulated metrics  Analysis  The computation of metrics and the application of mathematical tools  Interpretation  The evaluation of metrics in an effort to gain insight into the quality of the representation  Feedback  Recommendations derived from the interpretation of product metrics and passed on to the software development team 6
  • 7.  Simple and computable  It should be relatively easy to learn how to derive the metric, and its computation should not demand inordinate effort or time  Empirically and intuitively persuasive  The metric should satisfy the engineer’s intuitive notions about the product attribute under consideration  Consistent and objective  The metric should always yield results that are unambiguous 7 (More on next slide)
  • 8.  Consistent in the use of units and dimensions  The mathematical computation of the metric should use measures that do not lead to bizarre combinations of units  Programming language independent  Metrics should be based on the analysis model, the design model, or the structure of the program itself  An effective mechanism for high-quality feedback  The metric should lead to a higher-quality end product 8
  • 9. 1. Process Metrics 2. Product Metrics 3. Project Metrics
  • 10.  Process metrics are measures of the software development process, such as  Overall development time  Type of methodology used  Process metrics are collected across all projects and over long periods of time.  Their intent is to provide indicators that lead to long-term software process improvement.
  • 11.  Project Metrics are the measures of Software Project and are used to monitor and control the project. They enable a software project manager to:  Minimize the development time by making the adjustments necessary to avoid delays and potential problems and risks.  Assess product quality on an ongoing basis & modify the technical approach to improve quality.
  • 12.  Product metrics are measures of the software product at any stage of its development, from requirements to installed system. Product metrics may measure:  the complexity of the software design  the size of the final program  the number of pages of documentation produced
  • 13.  Direct measures  Easy to collect  E.g. Cost, Effort, Lines of codes (LOC), Execution Speed, Memory size, Defects etc.  Indirect measures  More difficult to assess & can be measured indirectly only.  Quality, Functionality, Complexity, Reliability, Efficiency, Maintainability etc.
  • 14.  2 different project teams are working to record errors in a software process  Team A – Finds 342 errors during software process before release  Team B- Finds 184 errors Which team is more effective in finding errors?
  • 15.  To answer this we need to know the size & complexity of the projects.  But if we normalize the measures, it is possible to compare the two  For normalization we have 2 ways-  Size-Oriented Metrics  Function Oriented Metrics
  • 16. • Based on the “size” of the software produced Project Effort (person- month) Cost ($) LOC kLOC Doc. (pgs) Error s People A 24 168,000 12100 12.1 365 29 3 B 62 440,000 27200 27.2 1224 86 5
  • 17.  Errors per KLOC  $ per KLOC  Pages of documentation per KLOC  Errors per person-month  LOC per person-month  Advantages of Size Oriented Metrics  LOC can be easily counted  Many software estimation models use LOC or KLOC as input.  Disadvantages of Size Oriented Metrics  LOC measures are language dependent, programmer dependent  Their use in estimation requires a lot of detail which can be difficult to achieve.
  • 18.  The function point metric (FP), first proposed by Albrecht, can be used effectively as a means for measuring the functionality delivered by a system.  Functionality is measured indirectly using a measure called function point.  Function points (FP) - derived using an empirical relationship based on countable measures of software & assessments of software complexity
  • 19. 19 Information Domain Value Count simple average complex Weighting factor External Inputs ( EIs) External Outputs ( EOs) External Inquiries ( EQs) Internal Logical Files ( ILFs) External Interface Files ( EIFs) 3 4 6 4 5 7 3 4 6 7 10 15 5 7 10 = = = = = Count total 3 3 3 3 3 • Errorsper FP • Defectsper FP • $ per FP • Pagesof documentation per FP
  • 20. 1. Count the measurement parameters. 2. Assess the complexity of the values. 3. Calculate the raw FP (see next table). 4. Rate the complexity factors to produce the complexity adjustment value (CAV) 5. Calculate the adjusted FP as follows: FP = raw FP x [0.65 + 0.01 x CAV]
  • 21. • Advantages: language independent, based on data known early in project, good for estimation • Disadvantages: calculation complexity, subjective assessments, FP has no physical meaning (just a number)
  • 22.  http://www.slideshare.net/13-software- metrics  Software Engineering: A Practitioner’s Approach, 6th edition by Roger S. Pressman  https://en.wikipedia.org/wiki/Software_metri c  http://www.cs.kent.edu/~jmaletic/cs63901/le ctures/SoftwareMetrics.pdf 22