SlideShare a Scribd company logo
9
Most read
10
Most read
11
Most read
Software
Metrics
BY- RAVINA JESWANI
Once a project is found to be feasible, software
project managers undertake project planning. Project
planning is undertaken and completed even before
any development activity starts. Project planning
consists of the following essential activities:
• Estimating the following attributes of the project:
1. Project size: What will be problem complexity in
terms of the effort and time required to develop
the product?
2. Cost: How much is it going to cost to develop the
project?
3. Duration: How long is it going to take to complete
development?
4. Effort: How much effort would be required?
The effectiveness of the subsequent planning
activities is based on the accuracy of these
estimations.
• Scheduling manpower and other resources
• Staff organization and staffing plans
• Risk identification, analysis, and abatement planning
• Miscellaneous plans such as quality assurance plan,
configuration management plan, etc.
Project Planning :
Measures, Metrics, Measurements and Indicators:
 A measure provides a quantitative indication of the extent, dimension, size, capacity, efficiency, productivity or
reliability of some attributes of a product or process.
Example: Number of defects found in component testing. LOC of each component
 Measurement is the act of determining a measure.
Example: Collecting the defect counts. Counting LOC.
 A metric is a quantitative measure of the degree to which a system, component or process possesses a given
attribute.
Example: defects found in component testing/LOC of code tested.
 A Indicator is a metrics or series of metrics that provide insight into a process, project or product.
Software Metrics :
Software Metrics refers to a range of measurements for computer software that
enable software people to gain insight into the project :
To improve the Process and the Product
Assist in Estimation
Productivity Assessment
Quality Control
Project Control
Why do we Measure?
1. To characterize
• To gain understanding of Product, Process, and ?
• To establish baseline for future comparisons
2. To evaluate
• To determine status within the plan
3. To predicate
• So that we can plan. Update estimates
4. To improve
• We would have more information “quantitative” to help determine root causes
Categories of
Metrics
Product Metrics:
 These measurements relate to SW product and all related artifacts.
 Examples: code, design docs, test plan, user manual …LOC, # of objects, #
# of pages, # of files.
Process Metrics:
 These measures used to quantify characteristics of the SW process.
 Usually related to events or things that occur.
 Examples: # defects found in test, # requirements changes, # days to
complete task …
Project Metrics:
 used to manage the SW project “Tactic”.
 Estimating cost is the first application of Project Metrics.
 Examples: estimates of SW development time based on past projects.
• Product Metrics
• Process Metrics
• Project Metrics
Software Measurements :
Two categories of measurement :
1. Direct measures - measurements that are more tangible.
o Cost, time, and efforts are Direct Process measures
o LOC, memory size are examples of Direct Product measures
2. Indirect measures - measurements of things that describe the characteristics of
a product or process. These are the "abilities".
o Functionality, quality, complexity, efficiency, reliability
Normalization for Metrics :
Normalized data are used to evaluate the process and the
product.
 Size-oriented normalization - line-of-code approach
 Function-oriented normalization - function point approach
Size-Oriented Metrics :
 Size‐oriented software metrics are derived by normalizing quality and/or productivity measures by
considering the size of the software that has been produced.
 This metrics is one of simplest and earliest metrics that is used for computer program to measure size.
 The size measurement is based on lines of code computation.
 There are thousand lines of code (KLOC) which are often chosen as the normalization value.
 While counting lines of code, simplest standard is:
 Don’t count blank lines
 Don’t count comments
 Count everything else
 The size-oriented measure is not a universally accepted method.
Metrics include:
Size = Kilo(1000) Lines of Code (KLOC)
Effort = Person / month
Productivity = KLOC / person-month
Quality = Errors/ KLOC
Cost = $ / KLOC
Documentation = Pages of documentation / KLOC
This metric is not universally accepted as the best way to measure the software
process.
Example : For a size oriented metrics, software organization maintains
records in tabular form. The typical table entries are: Project Name, LOC,
Efforts, Pages of documents, Errors, Defects, Total number of people working
on it.
 Possible data to collect :
• number of lines of code
• number of person-months to
complete
• cost of the project
• number of pages of documentation
• number of errors corrected before
release
• number of bugs found post release
1. Using these metrics, it is very simple to measure
size.
2. Artefact of Software development which is easily
counted.
3. LOC is used by many methods that are already
existing as a key input.
4. A large body of literature and data based on LOC
already exists.
1. This measure is dependent upon programming language.
2. This method is well designed upon programming
language.
3. It does not accommodate non-procedural languages.
4. Sometimes, it is very difficult to estimate LOC in early
stage of development.
5. Though it is simple to measure but it is very hard to
understand it for users.
6. It cannot measure size of specification as it is defined on
code.
Advantages Disadvantages
Size-Oriented Metric’s
Software metrics

More Related Content

PPTX
Software quality assurance
PPTX
Staffing level estimation
PPTX
Software project estimation
PPTX
Software Engineering
PPTX
Software Configuration Management
PPT
Software Quality Assurance
PPT
Chapter 15 software product metrics
PPTX
Software project management- Software Engineering
Software quality assurance
Staffing level estimation
Software project estimation
Software Engineering
Software Configuration Management
Software Quality Assurance
Chapter 15 software product metrics
Software project management- Software Engineering

What's hot (20)

PPTX
software project management Waterfall model
PPTX
Software process
PPTX
Software Engineering Process Models
PPT
SOFTWARE QUALITY ASSURANCE.ppt
PPTX
Software Configuration Management (SCM)
PPT
Software design
PPT
Software design, software engineering
PPT
Requirement Analysis - Software Enigneering
PPT
Lecture 12 requirements modeling - (system analysis)
PPTX
Lect4 software economics
PPTX
Software requirements specification
PPTX
Software Measurement and Metrics.pptx
PPT
Software Testing Strategies
PDF
MG6088 SOFTWARE PROJECT MANAGEMENT
PPT
Risk management in software engineering
PPTX
Risk Management
PDF
Software Engineering : Requirement Analysis & Specification
PPT
Software quality
PPT
TESTING STRATEGY.ppt
PPT
Risk management(software engineering)
software project management Waterfall model
Software process
Software Engineering Process Models
SOFTWARE QUALITY ASSURANCE.ppt
Software Configuration Management (SCM)
Software design
Software design, software engineering
Requirement Analysis - Software Enigneering
Lecture 12 requirements modeling - (system analysis)
Lect4 software economics
Software requirements specification
Software Measurement and Metrics.pptx
Software Testing Strategies
MG6088 SOFTWARE PROJECT MANAGEMENT
Risk management in software engineering
Risk Management
Software Engineering : Requirement Analysis & Specification
Software quality
TESTING STRATEGY.ppt
Risk management(software engineering)
Ad

Similar to Software metrics (20)

PPTX
Unit2 - Metrics.pptx
PPT
Project Matrix and Measuring S/W
PPTX
Software engineering
PDF
Project Management (2).pdf
PPTX
Software Project Management Unit 2 chapters
PDF
Project Management.pdf
PDF
55 sample chapter
PDF
55 sample chapter
PDF
CH. 5.pdf
PPTX
Software Engineering Chapter 4 Part 1 Euu
PPTX
software metrics(process,project,product)
PPT
Pressman ch-22-process-and-project-metrics
PPTX
Software matrics and measurement
PPTX
242296
PPTX
Software Engineering Software Engineering
PPTX
UNIT4(2) OB UNIT II NOTESOB UNIT II NOTES
PPTX
Process and Project Metrics-1
PDF
458821217-Software-Project-Management-Chapter-4-Software-Metrics.pdf
PPTX
Software metrics
PDF
ITFT - Project planning
Unit2 - Metrics.pptx
Project Matrix and Measuring S/W
Software engineering
Project Management (2).pdf
Software Project Management Unit 2 chapters
Project Management.pdf
55 sample chapter
55 sample chapter
CH. 5.pdf
Software Engineering Chapter 4 Part 1 Euu
software metrics(process,project,product)
Pressman ch-22-process-and-project-metrics
Software matrics and measurement
242296
Software Engineering Software Engineering
UNIT4(2) OB UNIT II NOTESOB UNIT II NOTES
Process and Project Metrics-1
458821217-Software-Project-Management-Chapter-4-Software-Metrics.pdf
Software metrics
ITFT - Project planning
Ad

Recently uploaded (20)

PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial diseases, their pathogenesis and prophylaxis
Pharmacology of Heart Failure /Pharmacotherapy of CHF
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
FourierSeries-QuestionsWithAnswers(Part-A).pdf
Supply Chain Operations Speaking Notes -ICLT Program
Week 4 Term 3 Study Techniques revisited.pptx
2.FourierTransform-ShortQuestionswithAnswers.pdf
TR - Agricultural Crops Production NC III.pdf
Pre independence Education in Inndia.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
O7-L3 Supply Chain Operations - ICLT Program
102 student loan defaulters named and shamed – Is someone you know on the list?
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Basic Mud Logging Guide for educational purpose
VCE English Exam - Section C Student Revision Booklet
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx

Software metrics

  • 2. Once a project is found to be feasible, software project managers undertake project planning. Project planning is undertaken and completed even before any development activity starts. Project planning consists of the following essential activities: • Estimating the following attributes of the project: 1. Project size: What will be problem complexity in terms of the effort and time required to develop the product? 2. Cost: How much is it going to cost to develop the project? 3. Duration: How long is it going to take to complete development? 4. Effort: How much effort would be required? The effectiveness of the subsequent planning activities is based on the accuracy of these estimations. • Scheduling manpower and other resources • Staff organization and staffing plans • Risk identification, analysis, and abatement planning • Miscellaneous plans such as quality assurance plan, configuration management plan, etc. Project Planning :
  • 3. Measures, Metrics, Measurements and Indicators:  A measure provides a quantitative indication of the extent, dimension, size, capacity, efficiency, productivity or reliability of some attributes of a product or process. Example: Number of defects found in component testing. LOC of each component  Measurement is the act of determining a measure. Example: Collecting the defect counts. Counting LOC.  A metric is a quantitative measure of the degree to which a system, component or process possesses a given attribute. Example: defects found in component testing/LOC of code tested.  A Indicator is a metrics or series of metrics that provide insight into a process, project or product.
  • 4. Software Metrics : Software Metrics refers to a range of measurements for computer software that enable software people to gain insight into the project : To improve the Process and the Product Assist in Estimation Productivity Assessment Quality Control Project Control
  • 5. Why do we Measure? 1. To characterize • To gain understanding of Product, Process, and ? • To establish baseline for future comparisons 2. To evaluate • To determine status within the plan 3. To predicate • So that we can plan. Update estimates 4. To improve • We would have more information “quantitative” to help determine root causes
  • 6. Categories of Metrics Product Metrics:  These measurements relate to SW product and all related artifacts.  Examples: code, design docs, test plan, user manual …LOC, # of objects, # # of pages, # of files. Process Metrics:  These measures used to quantify characteristics of the SW process.  Usually related to events or things that occur.  Examples: # defects found in test, # requirements changes, # days to complete task … Project Metrics:  used to manage the SW project “Tactic”.  Estimating cost is the first application of Project Metrics.  Examples: estimates of SW development time based on past projects. • Product Metrics • Process Metrics • Project Metrics
  • 7. Software Measurements : Two categories of measurement : 1. Direct measures - measurements that are more tangible. o Cost, time, and efforts are Direct Process measures o LOC, memory size are examples of Direct Product measures 2. Indirect measures - measurements of things that describe the characteristics of a product or process. These are the "abilities". o Functionality, quality, complexity, efficiency, reliability
  • 8. Normalization for Metrics : Normalized data are used to evaluate the process and the product.  Size-oriented normalization - line-of-code approach  Function-oriented normalization - function point approach
  • 9. Size-Oriented Metrics :  Size‐oriented software metrics are derived by normalizing quality and/or productivity measures by considering the size of the software that has been produced.  This metrics is one of simplest and earliest metrics that is used for computer program to measure size.  The size measurement is based on lines of code computation.  There are thousand lines of code (KLOC) which are often chosen as the normalization value.  While counting lines of code, simplest standard is:  Don’t count blank lines  Don’t count comments  Count everything else  The size-oriented measure is not a universally accepted method.
  • 10. Metrics include: Size = Kilo(1000) Lines of Code (KLOC) Effort = Person / month Productivity = KLOC / person-month Quality = Errors/ KLOC Cost = $ / KLOC Documentation = Pages of documentation / KLOC This metric is not universally accepted as the best way to measure the software process. Example : For a size oriented metrics, software organization maintains records in tabular form. The typical table entries are: Project Name, LOC, Efforts, Pages of documents, Errors, Defects, Total number of people working on it.  Possible data to collect : • number of lines of code • number of person-months to complete • cost of the project • number of pages of documentation • number of errors corrected before release • number of bugs found post release
  • 11. 1. Using these metrics, it is very simple to measure size. 2. Artefact of Software development which is easily counted. 3. LOC is used by many methods that are already existing as a key input. 4. A large body of literature and data based on LOC already exists. 1. This measure is dependent upon programming language. 2. This method is well designed upon programming language. 3. It does not accommodate non-procedural languages. 4. Sometimes, it is very difficult to estimate LOC in early stage of development. 5. Though it is simple to measure but it is very hard to understand it for users. 6. It cannot measure size of specification as it is defined on code. Advantages Disadvantages Size-Oriented Metric’s