Presentation is loading. Please wait.

Presentation is loading. Please wait.

These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.

Similar presentations


Presentation on theme: "These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by."— Presentation transcript:

1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 1 Quality Management based on Chapter 26 - Software Engineering: A Practitioner’s Approach, 6/e Quality Management based on Chapter 26 - Software Engineering: A Practitioner’s Approach, 6/e copyright © 1996, 2001, 2005 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.

2 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 2 Quality The American Heritage Dictionary defines quality as The American Heritage Dictionary defines quality as “a characteristic or attribute of something.” “a characteristic or attribute of something.” For software, ??? [Recall McCall’s Triangle of Quality] For software, ??? [Recall McCall’s Triangle of Quality] Conformance to explicitly stated functional and performance requirements, explicitly documented development standards, and implicit characteristics that are expected of all professionally developed software.

3 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 3 Software Quality Assurance Formal Technical Reviews Test Planning & Review Measurement Analysis & Reporting Process Definition & Standards

4 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 4 Role of the SQA Group Prepares an SQA plan for a project. Prepares an SQA plan for a project. The plan identifies The plan identifies Evaluations, audits and reviews to be performed Evaluations, audits and reviews to be performed standards that are applicable to the project standards that are applicable to the project procedures for error reporting and tracking procedures for error reporting and tracking documents to be produced by the SQA group documents to be produced by the SQA group Participates in the development of the project’s software process description. Participates in the development of the project’s software process description. The SQA group reviews the process description for compliance with organizational policy, internal sw standards, externally imposed standards (e.g., ISO-9001), and other parts of the software project plan. The SQA group reviews the process description for compliance with organizational policy, internal sw standards, externally imposed standards (e.g., ISO-9001), and other parts of the software project plan. Reviews sw eng activities to verify compliance with the defined sw process. Reviews sw eng activities to verify compliance with the defined sw process. identifies, documents, and tracks deviations from the process and verifies that corrections have been made. identifies, documents, and tracks deviations from the process and verifies that corrections have been made. Audits designated software work products to verify compliance with those defined as part of the software process. Audits designated software work products to verify compliance with those defined as part of the software process. reviews selected work products; identifies, documents, and tracks deviations; verifies that corrections have been made; periodically reports the results of its work to the project manager. reviews selected work products; identifies, documents, and tracks deviations; verifies that corrections have been made; periodically reports the results of its work to the project manager. Ensures that deviations in software work and work products are documented and handled according to a documented procedure. Ensures that deviations in software work and work products are documented and handled according to a documented procedure. Records any noncompliance and reports to senior management. Records any noncompliance and reports to senior management. Noncompliance items are tracked until they are resolved. Noncompliance items are tracked until they are resolved.

5 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 5 Why SQA Activities Pay Off? So, what is this telling us to do? [Chung RE Lecture Notes] Relative cost to repair errors: When introduced vs. when repaired. 100 2.5 5 10 25.5 - 1 Requirements Time Design Coding Unit Test Acceptance Test Maintenance “All together, the results show as much as a 200:1 cost ratio between finding errors in the requirements and maintenance stages of the software lifecycle.” [Boehm 1988] Average cost ratio 14:1 [Grady1989] The 1-10-100 Rule [Davis 1993]

6 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 6 Conducting the Review be prepared —evaluate product before the review review the product, not the producer keep your tone mild, ask questions instead of making accusations stick to the review agenda raise issues, don't resolve them avoid discussions of style—stick to technical correctness schedule reviews as project tasks record and report all review results 1. 2. 3. 4. 5. 6. 7. 8. review leader producer recorder reviewer standards bearer (SQA) maintenanceoracle user rep

7 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 7 Sample-Driven Reviews (SDRs) SDRs attempt to quantify those work products that are primary targets for full FTRs. SDRs attempt to quantify those work products that are primary targets for full FTRs. To accomplish this … Inspect a fraction a i of each software work product, i. Record the number of faults, f i found within a i. Inspect a fraction a i of each software work product, i. Record the number of faults, f i found within a i. Develop a gross estimate of the number of faults within work product i by multiplying f i by 1/ a i. e i = f i x 1/ a i Develop a gross estimate of the number of faults within work product i by multiplying f i by 1/ a i. e i = f i x 1/ a i Sort the work products in descending order according to the gross estimate of the number of faults in each. Sort the work products in descending order according to the gross estimate of the number of faults in each. Focus available review resources on those work products that have the highest estimated number of faults.max({e i | e i in E}) Focus available review resources on those work products that have the highest estimated number of faults.max({e i | e i in E})

8 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 8 Statistical SQA Product & Process measurement... an understanding of how to improve quality... Collect information on all defects Find the causes of the defects Move to provide fixes for the process

9 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 9 Six-Sigma for Software Engineering The term “six sigma” is derived from six standard deviations— 3.4 instances (defects) per million occurrences—implying an extremely high quality standard. The term “six sigma” is derived from six standard deviations— 3.4 instances (defects) per million occurrences—implying an extremely high quality standard. The Six Sigma methodology defines five core steps: The Six Sigma methodology defines five core steps: Define customer requirements and deliverables and project goals via well- defined methods of customer communication Define customer requirements and deliverables and project goals via well- defined methods of customer communication Measure the existing process and its output to determine current quality performance (collect defect metrics) Measure the existing process and its output to determine current quality performance (collect defect metrics) Analyze defect metrics and determine the vital few causes. Analyze defect metrics and determine the vital few causes. Improve the process by eliminating the root causes of defects. Improve the process by eliminating the root causes of defects. Control the process to ensure that future work does not reintroduce the causes of defects.

10 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 10 Software Reliability A simple measure of reliability is mean-time-between-failure (MTBF), where A simple measure of reliability is mean-time-between-failure (MTBF), where MTBF = MTTF + MTTR mean-time-to-failure, mean-time-to-repair Software availability is the probability that a program is operating according to requirements at a given point in time and is defined as Software availability is the probability that a program is operating according to requirements at a given point in time and is defined as Availability = [MTTF/(MTTF + MTTR)] x 100% Is the definition agreeable?  Software Reliability is the probability of failure-free software operation for a specified period of time in a specified environment  Bebugging process  … MTBF MTTF MTTR

11 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 11 Counting Bugs Sometimes reliability requirements take the form: Sometimes reliability requirements take the form: "The software shall have no more than X bugs/1K LOC" But how do we measure bugs at delivery time? Bebugging Process - based on a Monte Carlo technique for statistical analysis of random events. Bebugging Process - based on a Monte Carlo technique for statistical analysis of random events. 1. before testing, a known number of bugs (seeded bugs) are secretly inserted. 2. estimate the number of bugs in the system 3. remove (both known and new) bugs. # of detected seeded bugs/ # of seeded bugs = # of detected bugs/ # of bugs in the system # of bugs in the system = # of seeded bugs x # of detected bugs /# of detected seeded bugs Example: secretely seed 10 bugs an independent test team detects 120 bugs (6 for the seeded) # of bugs in the system = 10 x 120/6 = 200 # of bugs in the system after removal = 200 - 120 - 4 = 76 But, deadly bugs vs. insignifant ones; not all bugs are equally detectable; ( Suggestion [Musa87]: But, deadly bugs vs. insignifant ones; not all bugs are equally detectable; ( Suggestion [Musa87]: "No more than X bugs/1K LOC may be detected during testing" "No more than X bugs/1K LOC may be remain after delivery, as calculated by the Monte Carlo seeding technique" NFRs: Reliability [Chung, RE Lecture Notes]] original seeded seeded original = : : 6 10 114 ? 190 - 114

12 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 12 ISO 9001:2000 Standard ISO 9001:2000 is the quality assurance standard that applies to software engineering. ISO 9001:2000 is the quality assurance standard that applies to software engineering. The standard contains 20 requirements that must be present for an effective quality assurance system. The standard contains 20 requirements that must be present for an effective quality assurance system. The requirements delineated by ISO 9001:2000 address topics such as The requirements delineated by ISO 9001:2000 address topics such as management responsibility, quality system, contract review, design control, document and data control, product identification and traceability, process control, inspection and testing, corrective and preventive action, control of quality records, internal quality audits, training, servicing, and statistical techniques. management responsibility, quality system, contract review, design control, document and data control, product identification and traceability, process control, inspection and testing, corrective and preventive action, control of quality records, internal quality audits, training, servicing, and statistical techniques.

13 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 13 Metrics Derived from Reviews inspection time per page of documentation inspection time per KLOC or FP errors uncovered per reviewer hour errors uncovered per SE task (e.g., design) number of minor/major errors (e.g., nonconformance to req.) (e.g., nonconformance to req.)

14 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 14 Software Safety Software safety is a software quality assurance activity that focuses on the identification and assessment of potential hazards that may affect software negatively and cause an entire system to fail. Software safety is a software quality assurance activity that focuses on the identification and assessment of potential hazards that may affect software negatively and cause an entire system to fail. If hazards can be identified early in the software process, software design features can be specified that will either eliminate or control potential hazards. If hazards can be identified early in the software process, software design features can be specified that will either eliminate or control potential hazards.

15 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by R.S. Pressman & Associates, Inc., copyright © 1996, 2001, 2005 15 Software Safety: MIL-STD-882 http://www.ssq.org/links/safety.html The purpose of Task 202 is to perform and document a Preliminary Hazard Analysis (PHA) to identify safety critical areas, to provide an initial assessment of hazards, and to identify requisite hazard controls and follow-on actions The purpose of Task 202 is to perform and document a Preliminary Hazard Analysis (PHA) to identify safety critical areas, to provide an initial assessment of hazards, and to identify requisite hazard controls and follow-on actions TASK DESCRIPTION The contractor shall perform and document a preliminary hazard analysis to obtain an initial risk assessment of a concept or system. Based on the best available data, including mishap data (if assessable) from similar systems and other lessons learned, hazards associated with the proposed design or function shall be evaluated for hazard severity, hazard probability, and operational constraint. Safety provisions and alternatives needed to eliminate hazards or reduce their associated risk to a level acceptable to the MA shall be included. The PHA shall consider the following for identification and evaluation of hazards as a minimum The contractor shall perform and document a preliminary hazard analysis to obtain an initial risk assessment of a concept or system. Based on the best available data, including mishap data (if assessable) from similar systems and other lessons learned, hazards associated with the proposed design or function shall be evaluated for hazard severity, hazard probability, and operational constraint. Safety provisions and alternatives needed to eliminate hazards or reduce their associated risk to a level acceptable to the MA shall be included. The PHA shall consider the following for identification and evaluation of hazards as a minimum Hazardous components (e.g., fuels, propellants, lasers, explosives, toxic substances, hazardous construction materials, pressure systems, and other energy sources). Hazardous components (e.g., fuels, propellants, lasers, explosives, toxic substances, hazardous construction materials, pressure systems, and other energy sources). Safety related interface considerations among various elements of the system (e.g., material compatibilities, electromagnetic interference, inadvertent activation, fire/explosive initiation and propagation, and hardware and software controls). This shall include consideration of the potential contribution by software (including software developed by other contractors/sources) to subsystem/system mishaps. Safety design criteria to control safety-critical software commands and responses (e.g., inadvertent command, failure to command, untimely command or responses, inappropriate magnitude, or MA-designated undesired events) shall be identified and appropriate action taken to incorporate them in the software (and related hardware) specifications. Safety related interface considerations among various elements of the system (e.g., material compatibilities, electromagnetic interference, inadvertent activation, fire/explosive initiation and propagation, and hardware and software controls). This shall include consideration of the potential contribution by software (including software developed by other contractors/sources) to subsystem/system mishaps. Safety design criteria to control safety-critical software commands and responses (e.g., inadvertent command, failure to command, untimely command or responses, inappropriate magnitude, or MA-designated undesired events) shall be identified and appropriate action taken to incorporate them in the software (and related hardware) specifications. Environmental constraints including the operating environments (e.g., drop, shock, vibration, extreme temperatures, noise, exposure to toxic substances, health hazards, fire, electrostatic discharge, lightning, electromagnetic environmental effects, ionizing and non-ionizing radiation including laser radiation). Environmental constraints including the operating environments (e.g., drop, shock, vibration, extreme temperatures, noise, exposure to toxic substances, health hazards, fire, electrostatic discharge, lightning, electromagnetic environmental effects, ionizing and non-ionizing radiation including laser radiation). Operating, test, maintenance, built-in-tests, diagnostics, and emergency procedures (e.g., human factors engineering, human error analysis of operator functions, tasks, and requirements; effect of factors such as equipment layout, lighting requirements, potential exposures to toxic materials, effects of noise or radiation on human performance; explosive ordnance render safe and emergency disposal procedures; life support requirements and their safety implications in manned systems, crash safety, egress, rescue, survival, and salvage). Those test unique hazards which will be a direct result of the test and evaluation of the article or vehicle. Operating, test, maintenance, built-in-tests, diagnostics, and emergency procedures (e.g., human factors engineering, human error analysis of operator functions, tasks, and requirements; effect of factors such as equipment layout, lighting requirements, potential exposures to toxic materials, effects of noise or radiation on human performance; explosive ordnance render safe and emergency disposal procedures; life support requirements and their safety implications in manned systems, crash safety, egress, rescue, survival, and salvage). Those test unique hazards which will be a direct result of the test and evaluation of the article or vehicle. Facilities, real property installed equipment, support equipment (e.g., provisions for storage, assembly, checkout, prooftesting of hazardous systems/assemblies which may involve toxic, flammable, explosive, corrosive or cryogenic materials/wastes; radiation or noise emitters; electrical power sources) and training (e.g. training and certification pertaining to safety operations and maintenance). Facilities, real property installed equipment, support equipment (e.g., provisions for storage, assembly, checkout, prooftesting of hazardous systems/assemblies which may involve toxic, flammable, explosive, corrosive or cryogenic materials/wastes; radiation or noise emitters; electrical power sources) and training (e.g. training and certification pertaining to safety operations and maintenance). Safety related equipment, safeguards, and possible alternate approaches (e.g., interlocks; system redundancy; fail safe design considerations using hardware or software controls; subsystem protection; fire detection and suppression systems; personal protective equipment; heating, ventilation, and air-conditioning; and noise or radiation barriers). Safety related equipment, safeguards, and possible alternate approaches (e.g., interlocks; system redundancy; fail safe design considerations using hardware or software controls; subsystem protection; fire detection and suppression systems; personal protective equipment; heating, ventilation, and air-conditioning; and noise or radiation barriers). Malfunctions to the system, subsystems, or software. Each malfunction shall be specified, the causing and resulting sequence of events determined, the degree of hazard determined, and appropriate specification and/or design changes developed. focuses on the identification and assessment of potential hazards that may affect software negatively and cause an entire system to fail. If hazards can be identified early in the software process, software design features can be specified that will either eliminate or control potential hazards. Malfunctions to the system, subsystems, or software. Each malfunction shall be specified, the causing and resulting sequence of events determined, the degree of hazard determined, and appropriate specification and/or design changes developed. focuses on the identification and assessment of potential hazards that may affect software negatively and cause an entire system to fail. If hazards can be identified early in the software process, software design features can be specified that will either eliminate or control potential hazards.


Download ppt "These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by."

Similar presentations


Ads by Google