SlideShare une entreprise Scribd logo
1  sur  26
{
Software Metrics
Presented by: Mirza Talal Baig
Mudassir Tufail
 Measure - 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 - A quantitative measure of the degree to
which a system, component, or process possesses
a given attribute (IEEE Standard Glossary of
Software Engineering Terms)
 Indicator – An indicator is a metric or
combination of metrics that provide insight into
the software process, a software project or the
product itself.
Definitions
1. Process Metrics
2. Product Metrics
3. Project Metrics
Types of 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
longterm software process improvement.
Process Metrics
To improve any process, the rational way is:
–Measure Specific attributes of the process
–Derive meaningful metrics from these attributes.
–Use these metrics to provide indicators.
–The indicators lead to a strategy for improvement.
Process Metrics & Software
Process Improvement
Factors Affecting Software Quality
Business
Conditions
Customers
Characteristics
Process
TechnologyPeople
Product
Development
Environment
We measure the effectiveness of a software
process indirectly
 We derive a set of metrics based on the
outcomes that can be derived from the process.
 Outcomes include
– Errors uncovered before release of the software
– Defects delivered to and reported by end-users
– Work products delivered (productivity)
– Human effort expended
– Calendar time expended etc.
– Conformance to schedule
How to Measure Effectiveness of a Software
Process
 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.
Project Metrics
 Used in estimation techniques & other technical
work.
 Metrics collected from past projects are used as
a basis from which effort and time estimates are
made for current software project.
 As a project proceeds, actual values of human
effort & calendar time expended are compared
to the original estimates.
 This data is used by the project manager to
monitor & control the project.
Project Metrics
 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
Product metrics
 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.
Types of Software Measurements
An Example
 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 do
you think 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
–Function Oriented Metrics
–Size-Oriented Metrics
Normalization of Metrics
Size-Oriented Metrics
Based on the “ size” of the software produced
Project Effort
(Person-
Month)
Cost ($) LOC kLOC DOC.
(pages)
Errors People
A 24 168000 12100 12.1 365 29 3
B 62 440000 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.
 Useful for projects with similar environment
From the above data, simple size oriented metrics can
be developed for each Project
 Based on “functionality” delivered by the software
 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
Function-Oriented Metrics
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]
Steps In Calculating FP
Parameter Count Simple Average Complex
Inputs x 3 4 6 =
Outputs x 4 5 7 =
Inquiries x 3 4 6 =
Files x 7 10 15 =
Interfaces x 5 7 10 =
Count-total (raw FP)
Function Point Metrics
 Number of user inputs
 Number of user outputs
 Number of user inquiries
 Number of files
 Number of external interfaces
Software information domain
values
1. Does the system require reliable backup and
recovery?
2. Are data communications required?
3. Are there distributed processing functions?
4. Is performance critical?
5. Will the system run in an existing, heavily
utilized operational environment?
6. Does the system require on-line data entry?
7. Does the on-line data entry require the input
transaction to be built over multiple screens or
operations?
Complexity Adjustment Factors
1. Are the master files updated on-line?
2. Are the inputs, outputs, files, or inquiries
complex?
3. Is the internal processing complex?
4. Is the code designed to be reusable?
5. Are conversion and installation included in the
design?
6. Is the system designed for multiple installations
in different organizations?
7. Is the application designed to facilitate change
and ease of use by the user?
Complexity Adjustment
Factors(Continue…)
 The rating for all the factors, F1 to F14, are summed
to produce the complexity adjustment value (CAV)
 CAV is then used in the calculation of the function
point (FP) of the software
Complexity Adjustment Value
 Errors per FP
 Defects per FP
 $ per FP
 Pages of documentation per FP
 FP per person month
Example of Function-Oriented Metrics
 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)
FP Characteristics
 simple, precisely definable—so that it is
 clear how the metric can be evaluated;
 objective, to the greatest extent possible;
 easily obtainable (i.e., at reasonable cost);
 valid—the metric should measure what it
 is intended to measure; and • robust—relatively
insensitive to (intuitive• ly) insignificant changes
in the process or
 product.
Qualities of a good metric
Thank you for your time

Contenu connexe

Tendances

Software maintenance Unit5
Software maintenance  Unit5Software maintenance  Unit5
Software maintenance Unit5Mohammad Faizan
 
Basic Software Effort Estimation
Basic Software Effort EstimationBasic Software Effort Estimation
Basic Software Effort Estimationumair khan
 
Phased life cycle model
Phased life cycle modelPhased life cycle model
Phased life cycle modelStephennancy
 
Software project estimation
Software project estimationSoftware project estimation
Software project estimationinayat khan
 
Designing Techniques in Software Engineering
Designing Techniques in Software EngineeringDesigning Techniques in Software Engineering
Designing Techniques in Software Engineeringkirupasuchi1996
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategiesSHREEHARI WADAWADAGI
 
Software Cost Estimation Techniques
Software Cost Estimation TechniquesSoftware Cost Estimation Techniques
Software Cost Estimation TechniquesSanthi thi
 
Software maintenance
Software maintenance Software maintenance
Software maintenance Rajeev Sharan
 
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
 
Software cost estimation techniques presentation
Software cost estimation techniques presentationSoftware cost estimation techniques presentation
Software cost estimation techniques presentationKudzai Rerayi
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costslalithambiga kamaraj
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metricsIndu Sharma Bhardwaj
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factorsNancyBeaulah_R
 
Regression testing
Regression testingRegression testing
Regression testingMohua Amin
 
Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimationNur Islam
 

Tendances (20)

Software maintenance Unit5
Software maintenance  Unit5Software maintenance  Unit5
Software maintenance Unit5
 
Basic Software Effort Estimation
Basic Software Effort EstimationBasic Software Effort Estimation
Basic Software Effort Estimation
 
Phased life cycle model
Phased life cycle modelPhased life cycle model
Phased life cycle model
 
Software project estimation
Software project estimationSoftware project estimation
Software project estimation
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Designing Techniques in Software Engineering
Designing Techniques in Software EngineeringDesigning Techniques in Software Engineering
Designing Techniques in Software Engineering
 
Chapter 13 software testing strategies
Chapter 13 software testing strategiesChapter 13 software testing strategies
Chapter 13 software testing strategies
 
Software Cost Estimation Techniques
Software Cost Estimation TechniquesSoftware Cost Estimation Techniques
Software Cost Estimation Techniques
 
Software maintenance
Software maintenance Software maintenance
Software maintenance
 
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
 
Software cost estimation techniques presentation
Software cost estimation techniques presentationSoftware cost estimation techniques presentation
Software cost estimation techniques presentation
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costs
 
Software Engineering by Pankaj Jalote
Software Engineering by Pankaj JaloteSoftware Engineering by Pankaj Jalote
Software Engineering by Pankaj Jalote
 
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
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factors
 
Regression testing
Regression testingRegression testing
Regression testing
 
Metrics for project size estimation
Metrics for project size estimationMetrics for project size estimation
Metrics for project size estimation
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
COCOMO model
COCOMO modelCOCOMO model
COCOMO model
 

Similaire à Software metrics

Managing software project, software engineering
Managing software project, software engineeringManaging software project, software engineering
Managing software project, software engineeringRupesh Vaishnav
 
software metrics(process,project,product)
software metrics(process,project,product)software metrics(process,project,product)
software metrics(process,project,product)Amisha Narsingani
 
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
 
Cost estimation techniques
Cost estimation techniquesCost estimation techniques
Cost estimation techniqueslokareminakshi
 
Software matrics and measurement
Software matrics and measurementSoftware matrics and measurement
Software matrics and measurementGurpreet Saini
 
Project Matrix and Measuring S/W
Project Matrix and Measuring S/WProject Matrix and Measuring S/W
Project Matrix and Measuring S/WAkash Maheshwari
 
Lecture 7 Software Metrics.ppt
Lecture 7 Software Metrics.pptLecture 7 Software Metrics.ppt
Lecture 7 Software Metrics.pptTalhaFarooqui12
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metricsPiyush Sohaney
 
IJSRED-V2I4P8
IJSRED-V2I4P8IJSRED-V2I4P8
IJSRED-V2I4P8IJSRED
 
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 everytbinglojob95766
 
Lecture3
Lecture3Lecture3
Lecture3soloeng
 
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
 

Similaire à Software metrics (20)

Managing software project, software engineering
Managing software project, software engineeringManaging software project, software engineering
Managing software project, software engineering
 
software metrics(process,project,product)
software metrics(process,project,product)software metrics(process,project,product)
software metrics(process,project,product)
 
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
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Unit2 - Metrics.pptx
Unit2 - Metrics.pptxUnit2 - Metrics.pptx
Unit2 - Metrics.pptx
 
Cost estimation techniques
Cost estimation techniquesCost estimation techniques
Cost estimation techniques
 
Software matrics and measurement
Software matrics and measurementSoftware matrics and measurement
Software matrics and measurement
 
Project Matrix and Measuring S/W
Project Matrix and Measuring S/WProject Matrix and Measuring S/W
Project Matrix and Measuring S/W
 
Lecture 7 Software Metrics.ppt
Lecture 7 Software Metrics.pptLecture 7 Software Metrics.ppt
Lecture 7 Software Metrics.ppt
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metrics
 
Ch26
Ch26Ch26
Ch26
 
IJSRED-V2I4P8
IJSRED-V2I4P8IJSRED-V2I4P8
IJSRED-V2I4P8
 
SE-Lecture-5.pptx
SE-Lecture-5.pptxSE-Lecture-5.pptx
SE-Lecture-5.pptx
 
55 sample chapter
55 sample chapter55 sample chapter
55 sample chapter
 
55 sample chapter
55 sample chapter55 sample chapter
55 sample chapter
 
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
 
242296
242296242296
242296
 
Lecture3
Lecture3Lecture3
Lecture3
 
Bca 5th sem seminar(software measurements)
Bca 5th sem seminar(software measurements)Bca 5th sem seminar(software measurements)
Bca 5th sem seminar(software measurements)
 
Software Engineering
Software EngineeringSoftware Engineering
Software Engineering
 

Dernier

Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja Nehwal
 
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Call Girls in Nagpur High Profile
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja Nehwal
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...Call Girls in Nagpur High Profile
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...home
 
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...ranjana rawat
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Pastel Portfolio _ by Slidesgo.pptx. Xxx
Pastel Portfolio _ by Slidesgo.pptx. XxxPastel Portfolio _ by Slidesgo.pptx. Xxx
Pastel Portfolio _ by Slidesgo.pptx. XxxSegundoManuelFaichin1
 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxjanettecruzeiro1
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...amitlee9823
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfAmirYakdi
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...RitikaRoy32
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️soniya singh
 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxsuhanimunjal27
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...kumaririma588
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...Delhi Call girls
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...amitlee9823
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdftbatkhuu1
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)amitlee9823
 
DragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxDragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxmirandajeremy200221
 

Dernier (20)

Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Hy...
 
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Saswad ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Gi...
 
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
VVIP Pune Call Girls Hadapsar (7001035870) Pune Escorts Nearby with Complete ...
 
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
Recommendable # 971589162217 # philippine Young Call Girls in Dubai By Marina...
 
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
(AISHA) Ambegaon Khurd Call Girls Just Call 7001035870 [ Cash on Delivery ] P...
 
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️call girls in Dakshinpuri  (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
call girls in Dakshinpuri (DELHI) 🔝 >༒9953056974 🔝 genuine Escort Service 🔝✔️✔️
 
Pastel Portfolio _ by Slidesgo.pptx. Xxx
Pastel Portfolio _ by Slidesgo.pptx. XxxPastel Portfolio _ by Slidesgo.pptx. Xxx
Pastel Portfolio _ by Slidesgo.pptx. Xxx
 
SD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptxSD_The MATATAG Curriculum Training Design.pptx
SD_The MATATAG Curriculum Training Design.pptx
 
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Jigani Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdfThe_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
The_Canvas_of_Creative_Mastery_Newsletter_April_2024_Version.pdf
 
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
UI:UX Design and Empowerment Strategies for Underprivileged Transgender Indiv...
 
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
Call Girls in Kalkaji Delhi 8264348440 call girls ❤️
 
infant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptxinfant assessment fdbbdbdddinal ppt.pptx
infant assessment fdbbdbdddinal ppt.pptx
 
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...Verified Trusted Call Girls Adugodi💘 9352852248  Good Looking standard Profil...
Verified Trusted Call Girls Adugodi💘 9352852248 Good Looking standard Profil...
 
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
call girls in Kaushambi (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝...
 
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
RT Nagar Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Bang...
 
Editorial design Magazine design project.pdf
Editorial design Magazine design project.pdfEditorial design Magazine design project.pdf
Editorial design Magazine design project.pdf
 
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Basapura ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
DragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptxDragonBall PowerPoint Template for demo.pptx
DragonBall PowerPoint Template for demo.pptx
 

Software metrics

  • 1. { Software Metrics Presented by: Mirza Talal Baig Mudassir Tufail
  • 2.  Measure - 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 - A quantitative measure of the degree to which a system, component, or process possesses a given attribute (IEEE Standard Glossary of Software Engineering Terms)  Indicator – An indicator is a metric or combination of metrics that provide insight into the software process, a software project or the product itself. Definitions
  • 3. 1. Process Metrics 2. Product Metrics 3. Project Metrics Types of Metrics
  • 4.  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 longterm software process improvement. Process Metrics
  • 5. To improve any process, the rational way is: –Measure Specific attributes of the process –Derive meaningful metrics from these attributes. –Use these metrics to provide indicators. –The indicators lead to a strategy for improvement. Process Metrics & Software Process Improvement
  • 6. Factors Affecting Software Quality Business Conditions Customers Characteristics Process TechnologyPeople Product Development Environment
  • 7. We measure the effectiveness of a software process indirectly  We derive a set of metrics based on the outcomes that can be derived from the process.  Outcomes include – Errors uncovered before release of the software – Defects delivered to and reported by end-users – Work products delivered (productivity) – Human effort expended – Calendar time expended etc. – Conformance to schedule How to Measure Effectiveness of a Software Process
  • 8.  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. Project Metrics
  • 9.  Used in estimation techniques & other technical work.  Metrics collected from past projects are used as a basis from which effort and time estimates are made for current software project.  As a project proceeds, actual values of human effort & calendar time expended are compared to the original estimates.  This data is used by the project manager to monitor & control the project. Project Metrics
  • 10.  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 Product metrics
  • 11.  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. Types of Software Measurements
  • 12. An Example  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 do you think is more effective in finding errors?
  • 13.  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 –Function Oriented Metrics –Size-Oriented Metrics Normalization of Metrics
  • 14. Size-Oriented Metrics Based on the “ size” of the software produced Project Effort (Person- Month) Cost ($) LOC kLOC DOC. (pages) Errors People A 24 168000 12100 12.1 365 29 3 B 62 440000 27200 27.2 1224 86 5
  • 15. 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.  Useful for projects with similar environment From the above data, simple size oriented metrics can be developed for each Project
  • 16.  Based on “functionality” delivered by the software  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 Function-Oriented Metrics
  • 17. 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] Steps In Calculating FP
  • 18. Parameter Count Simple Average Complex Inputs x 3 4 6 = Outputs x 4 5 7 = Inquiries x 3 4 6 = Files x 7 10 15 = Interfaces x 5 7 10 = Count-total (raw FP) Function Point Metrics
  • 19.  Number of user inputs  Number of user outputs  Number of user inquiries  Number of files  Number of external interfaces Software information domain values
  • 20. 1. Does the system require reliable backup and recovery? 2. Are data communications required? 3. Are there distributed processing functions? 4. Is performance critical? 5. Will the system run in an existing, heavily utilized operational environment? 6. Does the system require on-line data entry? 7. Does the on-line data entry require the input transaction to be built over multiple screens or operations? Complexity Adjustment Factors
  • 21. 1. Are the master files updated on-line? 2. Are the inputs, outputs, files, or inquiries complex? 3. Is the internal processing complex? 4. Is the code designed to be reusable? 5. Are conversion and installation included in the design? 6. Is the system designed for multiple installations in different organizations? 7. Is the application designed to facilitate change and ease of use by the user? Complexity Adjustment Factors(Continue…)
  • 22.  The rating for all the factors, F1 to F14, are summed to produce the complexity adjustment value (CAV)  CAV is then used in the calculation of the function point (FP) of the software Complexity Adjustment Value
  • 23.  Errors per FP  Defects per FP  $ per FP  Pages of documentation per FP  FP per person month Example of Function-Oriented Metrics
  • 24.  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) FP Characteristics
  • 25.  simple, precisely definable—so that it is  clear how the metric can be evaluated;  objective, to the greatest extent possible;  easily obtainable (i.e., at reasonable cost);  valid—the metric should measure what it  is intended to measure; and • robust—relatively insensitive to (intuitive• ly) insignificant changes in the process or  product. Qualities of a good metric
  • 26. Thank you for your time