SlideShare una empresa de Scribd logo
1 de 19
Supplementary Slides for
             Software Engineering:
         A Practitioner's Approach, 5/
                        e
                                              copyright © 1996, 2001
                                 R.S. Pressman & Associates, Inc.

                        For University Use Only
       May be reproduced ONLY for student use at the university level
when used in conjunction with Software Engineering: A Practitioner's Approach.
            Any other reproduction or use is expressly prohibited.

            This presentation, slides, or hardcopy may NOT be used for
             short courses, industry seminars, or consulting purposes.

    These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
    5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                     1
Chapter 4
     Software Process and Project
                Metrics




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 2
Measurement &
                       Metrics
        ... collecting metrics is too hard ...
      it's too time-consuming ... it's too
      political ... it won't prove anything ...




                                 Anything that you need to
                                 quantify can be measured in
                                 some way that is superior to
                                 not measuring it at all ..
                                                  Tom Gilb

These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 3
Why do we
                                    Measure?
                                  t To characterize
                                  t To evaluate
                                  t To predict
                                  t To improve




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 4
A Good Manager
     process    Measures
                                                                process metrics
                                                                         project metrics
                         measurement
                                                                     product metrics
     product
                                          What do we
                                          use as a
                                          basis?
                                           • size?
                                           • function?

These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 5
Process Metrics
    t majority focus on quality achieved as a
      consequence of a repeatable or
      managed process
    t statistical SQA data
           ¶ error categorization & analysis
    t defect removal efficiency
           ¶ propagation from phase to phase
    t reuse data




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 6
Project Metrics
            t Effort/time per SE task
            t Errors uncovered per review hour
            t Scheduled vs. actual milestone dates
            t Changes (number) and their characteristics
            t Distribution of effort on SE tasks




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 7
Product Metrics
          t focus on the quality of deliverables
          t measures of analysis model
          t complexity of the design
                 ¶ internal algorithmic complexity
                 ¶ architectural complexity
                 ¶ data flow complexity
          t code measures (e.g., Halstead)
          t measures of process effectiveness
                 ¶ e.g., defect removal efficiency




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 8
Metrics
                 Guidelines
t Use common sense and organizational sensitivity when
    interpreting metrics data.
t   Provide regular feedback to the individuals and teams who
    have worked to collect measures and metrics.
t   Don’t use metrics to appraise individuals.
t   Work with practitioners and teams to set clear goals and
    metrics that will be used to achieve them.
t   Never use metrics to threaten individuals or teams.
t   Metrics data that indicate a problem area should not be
    considered “negative.” These data are merely an indicator
    for process improvement.
t   Don’t obsess on a single metric to the exclusion of other
    important metrics.


These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 9
Normalization for
                              Metrics




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 10
Typical Size-Oriented
                         Metrics
         t errors per KLOC (thousand lines of
           code)
         t defects per KLOC
         t $ per LOC
         t page of documentation per KLOC
         t errors / person-month
         t LOC per person-month
         t $ / page of documentation


These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 11
Typical Function-Oriented
                   Metrics
         t errors per FP (thousand lines of code)
         t defects per FP
         t $ per FP
         t pages of documentation per FP
         t FP per person-month




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 12
Why Opt for FP
                              Measures?




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 13
Computing Function
                         Points




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 14
Analyzing the Information Domain




 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                  15
Taking Complexity into
                      Account




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 16
Measuring
                                      Quality
t Correctness — the degree to which a
  program operates according to specification
t Maintainability—the degree to which a
  program is amenable to change
t Integrity—the degree to which a program is
  impervious to outside attack
t Usability—the degree to which a program is
  easy to use



These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 17
Defect Removal
                               Efficiency

               DRE = (errors) / (errors + defects)


               where
               errors = problems found before release
               defects = problems found after release




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 18
Managing
                                      Variation
             The mR Control Chart

                          6
                      r
                      u
                      o
                      h   5
                      w
                      e
                      i
                      v   4
                      e
                      r
                      /
                      d   3
                      n
                      u
                      o
                      f
                      s   2
                      r
                      o
                      r
                      r   1
                      E
                      ,
                      r
                      E   0
                              1   3     5     7     9      11    13    15    17     19

                                                     Projects




These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach,
5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001
                                                                                                                 19

Más contenido relacionado

La actualidad más candente

Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...JMP software from SAS
 
Parameter Estimation of Software Reliability Growth Models Using Simulated An...
Parameter Estimation of Software Reliability Growth Models Using Simulated An...Parameter Estimation of Software Reliability Growth Models Using Simulated An...
Parameter Estimation of Software Reliability Growth Models Using Simulated An...Editor IJCATR
 
Root cause analysis master plan
Root cause analysis master planRoot cause analysis master plan
Root cause analysis master planGlen Alleman
 
From Principles to Strategies for Systems Engineering
From Principles to Strategies for Systems EngineeringFrom Principles to Strategies for Systems Engineering
From Principles to Strategies for Systems EngineeringGlen Alleman
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costslalithambiga kamaraj
 
New approach for solving software project scheduling problem using differenti...
New approach for solving software project scheduling problem using differenti...New approach for solving software project scheduling problem using differenti...
New approach for solving software project scheduling problem using differenti...ijfcstjournal
 
Software Project Estimation
Software Project EstimationSoftware Project Estimation
Software Project EstimationFrank Vogelezang
 
06 jerome crotteux - 3 e
06   jerome crotteux - 3 e06   jerome crotteux - 3 e
06 jerome crotteux - 3 eLinea Trovata
 
Integrating cost, schedule, and technical performance
Integrating cost, schedule, and technical performanceIntegrating cost, schedule, and technical performance
Integrating cost, schedule, and technical performanceGlen Alleman
 

La actualidad más candente (10)

Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
Exploring Best Practises in Design of Experiments: A Data Driven Approach to ...
 
Parameter Estimation of Software Reliability Growth Models Using Simulated An...
Parameter Estimation of Software Reliability Growth Models Using Simulated An...Parameter Estimation of Software Reliability Growth Models Using Simulated An...
Parameter Estimation of Software Reliability Growth Models Using Simulated An...
 
Root cause analysis master plan
Root cause analysis master planRoot cause analysis master plan
Root cause analysis master plan
 
Staffing level estimation
Staffing level estimation Staffing level estimation
Staffing level estimation
 
From Principles to Strategies for Systems Engineering
From Principles to Strategies for Systems EngineeringFrom Principles to Strategies for Systems Engineering
From Principles to Strategies for Systems Engineering
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costs
 
New approach for solving software project scheduling problem using differenti...
New approach for solving software project scheduling problem using differenti...New approach for solving software project scheduling problem using differenti...
New approach for solving software project scheduling problem using differenti...
 
Software Project Estimation
Software Project EstimationSoftware Project Estimation
Software Project Estimation
 
06 jerome crotteux - 3 e
06   jerome crotteux - 3 e06   jerome crotteux - 3 e
06 jerome crotteux - 3 e
 
Integrating cost, schedule, and technical performance
Integrating cost, schedule, and technical performanceIntegrating cost, schedule, and technical performance
Integrating cost, schedule, and technical performance
 

Destacado

Destacado (7)

Chapter03
Chapter03Chapter03
Chapter03
 
What is mri
What is mriWhat is mri
What is mri
 
Chapter05
Chapter05Chapter05
Chapter05
 
Chapter02
Chapter02Chapter02
Chapter02
 
Chapter10
Chapter10Chapter10
Chapter10
 
Chapter01
Chapter01Chapter01
Chapter01
 
Chapter01
Chapter01Chapter01
Chapter01
 

Similar a Chapter04 (20)

Chapter03
Chapter03Chapter03
Chapter03
 
Chapter05
Chapter05Chapter05
Chapter05
 
Chapter10
Chapter10Chapter10
Chapter10
 
Chapter 08wht
Chapter 08whtChapter 08wht
Chapter 08wht
 
Chapter 06wht
Chapter 06whtChapter 06wht
Chapter 06wht
 
Chapter 07wht
Chapter 07whtChapter 07wht
Chapter 07wht
 
the product.ppt
the product.pptthe product.ppt
the product.ppt
 
Chapter_01wht.pdf
Chapter_01wht.pdfChapter_01wht.pdf
Chapter_01wht.pdf
 
Ch03 process models
Ch03 process modelsCh03 process models
Ch03 process models
 
Risk Management by Roger S. Pressman
Risk Management by Roger S. PressmanRisk Management by Roger S. Pressman
Risk Management by Roger S. Pressman
 
Risk Management by Roger Pressman
Risk Management by Roger PressmanRisk Management by Roger Pressman
Risk Management by Roger Pressman
 
Risk Management by Roger Pressman
Risk Management by Roger PressmanRisk Management by Roger Pressman
Risk Management by Roger Pressman
 
Bab 2 Rekayasa Perangkat Lunak 3
Bab 2   Rekayasa Perangkat Lunak  3Bab 2   Rekayasa Perangkat Lunak  3
Bab 2 Rekayasa Perangkat Lunak 3
 
Chapter_25.ppt
Chapter_25.pptChapter_25.ppt
Chapter_25.ppt
 
Ch04 agile development models
Ch04 agile development modelsCh04 agile development models
Ch04 agile development models
 
Chapter 01wht
Chapter 01whtChapter 01wht
Chapter 01wht
 
Ppt on Design engineering which is chapter 9
Ppt on Design engineering  which is chapter 9Ppt on Design engineering  which is chapter 9
Ppt on Design engineering which is chapter 9
 
Chapter 09wht
Chapter 09whtChapter 09wht
Chapter 09wht
 
PR-Ch01.ppt
PR-Ch01.pptPR-Ch01.ppt
PR-Ch01.ppt
 
PR-Ch01.ppt
PR-Ch01.pptPR-Ch01.ppt
PR-Ch01.ppt
 

Último

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Último (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
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
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
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
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Chapter04

  • 1. Supplementary Slides for Software Engineering: A Practitioner's Approach, 5/ e copyright © 1996, 2001 R.S. Pressman & Associates, Inc. For University Use Only May be reproduced ONLY for student use at the university level when used in conjunction with Software Engineering: A Practitioner's Approach. Any other reproduction or use is expressly prohibited. This presentation, slides, or hardcopy may NOT be used for short courses, industry seminars, or consulting purposes. These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 1
  • 2. Chapter 4 Software Process and Project Metrics These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 2
  • 3. Measurement & Metrics ... collecting metrics is too hard ... it's too time-consuming ... it's too political ... it won't prove anything ... Anything that you need to quantify can be measured in some way that is superior to not measuring it at all .. Tom Gilb These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 3
  • 4. Why do we Measure? t To characterize t To evaluate t To predict t To improve These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 4
  • 5. A Good Manager process Measures process metrics project metrics measurement product metrics product What do we use as a basis? • size? • function? These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 5
  • 6. Process Metrics t majority focus on quality achieved as a consequence of a repeatable or managed process t statistical SQA data ¶ error categorization & analysis t defect removal efficiency ¶ propagation from phase to phase t reuse data These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 6
  • 7. Project Metrics t Effort/time per SE task t Errors uncovered per review hour t Scheduled vs. actual milestone dates t Changes (number) and their characteristics t Distribution of effort on SE tasks These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 7
  • 8. Product Metrics t focus on the quality of deliverables t measures of analysis model t complexity of the design ¶ internal algorithmic complexity ¶ architectural complexity ¶ data flow complexity t code measures (e.g., Halstead) t measures of process effectiveness ¶ e.g., defect removal efficiency These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 8
  • 9. Metrics Guidelines t Use common sense and organizational sensitivity when interpreting metrics data. t Provide regular feedback to the individuals and teams who have worked to collect measures and metrics. t Don’t use metrics to appraise individuals. t Work with practitioners and teams to set clear goals and metrics that will be used to achieve them. t Never use metrics to threaten individuals or teams. t Metrics data that indicate a problem area should not be considered “negative.” These data are merely an indicator for process improvement. t Don’t obsess on a single metric to the exclusion of other important metrics. These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 9
  • 10. Normalization for Metrics These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 10
  • 11. Typical Size-Oriented Metrics t errors per KLOC (thousand lines of code) t defects per KLOC t $ per LOC t page of documentation per KLOC t errors / person-month t LOC per person-month t $ / page of documentation These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 11
  • 12. Typical Function-Oriented Metrics t errors per FP (thousand lines of code) t defects per FP t $ per FP t pages of documentation per FP t FP per person-month These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 12
  • 13. Why Opt for FP Measures? These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 13
  • 14. Computing Function Points These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 14
  • 15. Analyzing the Information Domain These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 15
  • 16. Taking Complexity into Account These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 16
  • 17. Measuring Quality t Correctness — the degree to which a program operates according to specification t Maintainability—the degree to which a program is amenable to change t Integrity—the degree to which a program is impervious to outside attack t Usability—the degree to which a program is easy to use These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 17
  • 18. Defect Removal Efficiency DRE = (errors) / (errors + defects) where errors = problems found before release defects = problems found after release These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 18
  • 19. Managing Variation The mR Control Chart 6 r u o h 5 w e i v 4 e r / d 3 n u o f s 2 r o r r 1 E , r E 0 1 3 5 7 9 11 13 15 17 19 Projects These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001 19