SlideShare a Scribd company logo
1 of 12
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

What's hot

Software Measurement and Metrics.pptx
Software Measurement and Metrics.pptxSoftware Measurement and Metrics.pptx
Software Measurement and Metrics.pptxubaidullah75790
 
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 Engineering (Project Planning & Estimation)
Software Engineering (Project Planning &  Estimation)Software Engineering (Project Planning &  Estimation)
Software Engineering (Project Planning & Estimation)ShudipPal
 
Software engineering project management
Software engineering project managementSoftware engineering project management
Software engineering project managementjhudyne
 
Spm software effort estimation
Spm software effort estimationSpm software effort estimation
Spm software effort estimationKanchana Devi
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project ManagementAyaz Shariff
 
Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)ShudipPal
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software EngineeringSaqib Raza
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)ShudipPal
 
Software matrics and measurement
Software matrics and measurementSoftware matrics and measurement
Software matrics and measurementGurpreet Saini
 
Software project planning
Software project planningSoftware project planning
Software project planningrajvir_kaur
 
Software Metrics - Software Engineering
Software Metrics - Software EngineeringSoftware Metrics - Software Engineering
Software Metrics - Software EngineeringDrishti Bhalla
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project ManagementNoorHameed6
 
Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)ShudipPal
 
Line of Code (LOC) Matric and Function Point Matric
Line of Code (LOC) Matric and Function Point MatricLine of Code (LOC) Matric and Function Point Matric
Line of Code (LOC) Matric and Function Point MatricAnkush Singh
 

What's hot (20)

Software Measurement and Metrics.pptx
Software Measurement and Metrics.pptxSoftware Measurement and Metrics.pptx
Software Measurement and Metrics.pptx
 
Formal Methods
Formal MethodsFormal Methods
Formal Methods
 
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 Engineering (Project Planning & Estimation)
Software Engineering (Project Planning &  Estimation)Software Engineering (Project Planning &  Estimation)
Software Engineering (Project Planning & Estimation)
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Software engineering project management
Software engineering project managementSoftware engineering project management
Software engineering project management
 
Spm software effort estimation
Spm software effort estimationSpm software effort estimation
Spm software effort estimation
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project Management
 
Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)
 
COCOMO MODEL 1 And 2
COCOMO MODEL 1 And 2COCOMO MODEL 1 And 2
COCOMO MODEL 1 And 2
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
Software Engineering (Testing techniques)
Software Engineering (Testing techniques)Software Engineering (Testing techniques)
Software Engineering (Testing techniques)
 
Software matrics and measurement
Software matrics and measurementSoftware matrics and measurement
Software matrics and measurement
 
Software project planning
Software project planningSoftware project planning
Software project planning
 
Software Metrics - Software Engineering
Software Metrics - Software EngineeringSoftware Metrics - Software Engineering
Software Metrics - Software Engineering
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project Management
 
Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)Software Engineering (Project Scheduling)
Software Engineering (Project Scheduling)
 
Line of Code (LOC) Matric and Function Point Matric
Line of Code (LOC) Matric and Function Point MatricLine of Code (LOC) Matric and Function Point Matric
Line of Code (LOC) Matric and Function Point Matric
 
Spm unit 1
Spm unit 1Spm unit 1
Spm unit 1
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 

Similar to Software metrics

Unit2 - Metrics.pptx
Unit2 - Metrics.pptxUnit2 - Metrics.pptx
Unit2 - Metrics.pptxrituah
 
Project Matrix and Measuring S/W
Project Matrix and Measuring S/WProject Matrix and Measuring S/W
Project Matrix and Measuring S/WAkash Maheshwari
 
Project Management (2).pdf
Project Management (2).pdfProject Management (2).pdf
Project Management (2).pdfShivareddyGangam
 
software metrics(process,project,product)
software metrics(process,project,product)software metrics(process,project,product)
software metrics(process,project,product)Amisha Narsingani
 
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
 
ITFT - Project planning
ITFT  -    Project planningITFT  -    Project planning
ITFT - Project planningShruti Kunwar
 
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
 
Software engineering 11 software quality assurance plans
Software engineering 11 software quality assurance plansSoftware engineering 11 software quality assurance plans
Software engineering 11 software quality assurance plansVaibhav Khanna
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metricsPiyush Sohaney
 
Software engineering 3 software process
Software engineering 3 software processSoftware engineering 3 software process
Software engineering 3 software processVaibhav Khanna
 

Similar to Software metrics (20)

Unit2 - Metrics.pptx
Unit2 - Metrics.pptxUnit2 - Metrics.pptx
Unit2 - Metrics.pptx
 
Project Matrix and Measuring S/W
Project Matrix and Measuring S/WProject Matrix and Measuring S/W
Project Matrix and Measuring S/W
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Project Management (2).pdf
Project Management (2).pdfProject Management (2).pdf
Project Management (2).pdf
 
Project Management.pdf
Project Management.pdfProject Management.pdf
Project Management.pdf
 
55 sample chapter
55 sample chapter55 sample chapter
55 sample chapter
 
55 sample chapter
55 sample chapter55 sample chapter
55 sample chapter
 
CH. 5.pdf
CH. 5.pdfCH. 5.pdf
CH. 5.pdf
 
software metrics(process,project,product)
software metrics(process,project,product)software metrics(process,project,product)
software metrics(process,project,product)
 
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
 
242296
242296242296
242296
 
Process and Project Metrics-1
Process and Project Metrics-1Process and Project Metrics-1
Process and Project Metrics-1
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
ITFT - Project planning
ITFT  -    Project planningITFT  -    Project planning
ITFT - Project planning
 
SE-Lecture-5.pptx
SE-Lecture-5.pptxSE-Lecture-5.pptx
SE-Lecture-5.pptx
 
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 11 software quality assurance plans
Software engineering 11 software quality assurance plansSoftware engineering 11 software quality assurance plans
Software engineering 11 software quality assurance plans
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metrics
 
Cost estimation
Cost estimationCost estimation
Cost estimation
 
Software engineering 3 software process
Software engineering 3 software processSoftware engineering 3 software process
Software engineering 3 software process
 

More from Sophia Girls' College(Autonomous), Ajmer (11)

Software testing strategies
Software testing strategiesSoftware testing strategies
Software testing strategies
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Quiz on XML
Quiz on XMLQuiz on XML
Quiz on XML
 
Quiz on Relational Algebra
Quiz on Relational AlgebraQuiz on Relational Algebra
Quiz on Relational Algebra
 
Dbms quiz
Dbms quiz Dbms quiz
Dbms quiz
 
Software Engineering Quiz
Software Engineering QuizSoftware Engineering Quiz
Software Engineering Quiz
 
Managment spectrum
Managment spectrumManagment spectrum
Managment spectrum
 
Software Process
Software ProcessSoftware Process
Software Process
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Group signature
Group signatureGroup signature
Group signature
 
Data Mining
Data Mining Data Mining
Data Mining
 

Recently uploaded

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 

Recently uploaded (20)

microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.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