CSQE Exam Preparation: Douglas Hoffman
CSQE Exam Preparation: Douglas Hoffman
Douglas Hoffman
BACS, MSEE, MBA, ASQ-CSQE, ASQ-CQMgr, ASQ Fellow Software Quality Methods, LLC. 24646 Heather Heights Place Saratoga, California 95070-9710 doug.hoffman@acm.org www.SoftwareQualityMethods.com 408-741-4830
Copyright Notice
These slides are distributed under the Creative Commons License. In brief summary, you may make and distribute copies of these slides so long as you give the original author credit and, if you alter, transform or build upon this work, you distribute the resulting work only under a license identical to this one. For the rest of the details of the license, see http://creativecommons.org/licenses/by-sa/2.0/legalcode. These notes include examples which are context specific. In class discussions I may respond to questions and provide information on approaches and solutions to students problems. I may answer questions in a way that I believe would normally be true but our answer could be completely inappropriate for your particular situation. I cannot accept any responsibility for any actions that you might take in response to my comments in this course. Courses such as this one would not be needed if the problems addressed were simple enough to analyze and resolve in a few minutes.
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 2
s mpile of Co er Numb
Pat hC ove rag e
Software Quality
Lines o f Docum entatio n Numbe r of Pro cedure s
Code Complexity
e od of C es Lin
Introduction; General Knowledge Software Quality Management Software Engineering Processes Program and Project Management Software Metrics, Measurement, and Analytical Methods Software Verification and Validation Configuration Management; Exam Strategies; Review
Copyright 1997-2004, SQM, LLC. Slide 8
Introductions
Me You
Douglas Hoffman
Slide 9
Class Objectives
Survey the SQE Body of Knowledge Prepare for CSQE Examination Share quality related experiences Gain information on selected SQ topics
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 10
Expectations
Mine Yours
Douglas Hoffman
Slide 11
General Knowledge
General Knowledge, Conduct, and Ethics
Software Quality Management Software Engineering Processes Program and Project Management Software Metrics, Measurement, and Analytical Methods Software Verification and Validation (V&V) Software Configuration Management
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 12
CSQE Requirements
Obtaining CSQE Certificate Maintaining Certification
Blooms Levels Of Cognition CSQE Subject Areas
Douglas Hoffman
Slide 13
Certification Requirements
Education and/or Experience
8 years in quality field up to 5 years credit for degrees
Recertification Requirements
Recertify every 3 years 18 points needed
Douglas Hoffman
Levels of Cognition1
Knowledge Comprehension Application Analysis Synthesis Evaluation
1Bloom,
B. S., Engelhart, M. D., Furst, E. J., Hill, W. H., & Krathwohl, D. R. (1956). Taxonomy of educational objectives handbook 1: Cognitive domain. New York: McKay.
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 18
Levels of Cognition
Level
Knowledge Comprehension Application Analysis Synthesis Evaluation
Douglas Hoffman
Verbs
- write, list, name, define, label, state - explain, describe, summarize, illustrate, paraphrase - use, solve, apply, construct, demonstrate, compute - analyze, compare, contrast, separate - create, design, invent, develop - judge, recommend, critique, justify
Copyright 1997-2004, SQM, LLC. Slide 19
Douglas Hoffman
Slide 20
Benefits of software quality Prevention vs. Detection philosophies Software TQM principles and applications Organization and process benchmarking
Douglas Hoffman
Slide 21
Douglas Hoffman
Slide 22
Meeting Customer Requirements Stable Requirements Verification that Requirements are Met Consistent Application of Processes Improvement Over Time Quality of Life *
*
Quality philosophies*
Philip Crosby (Conformance to Requirements) Dr. W. Edwards Deming
(Never Ending Improvement)
Douglas Hoffman
Philip Crosby*
Four Absolutes:
Quality Means Conformance to Requirements Quality Comes from Prevention Zero Defects Quality Measurement is the Price of Nonconformance
14 Steps to Improvement
*
Douglas Hoffman
Douglas Hoffman
Constancy of Purpose for Improvement. Adopt the New Philosophy. Cease Dependence on Mass Inspection. Cease Doing Business on Price Tag Alone. Continual Improvement of Process. Institute Training on the Job. Institute Leadership. Drive Out Fear. Break Down Barriers Between Departments. Eliminate Slogans, Exhortations, and Targets. Eliminate Numerical Quotas. Allow Pride in Workmanship. Institute a Program of Self-Improvement. * Not part of CSQE 2002 BOK Do It.
Copyright 1997-2004, SQM, LLC. Slide 27
Douglas Hoffman
Douglas Hoffman
Prevention
Start Earlier Look Upstream for Improvements
Douglas Hoffman
Slide 30
Douglas Hoffman
Douglas Hoffman
Douglas Hoffman
IEEE
40 Standards in a 4 volume set (1999)
ISO 9000
Family of Standards and Guides First approved in 1987, latest revision 2000 Process (not product) focus Covers all processes affecting quality of goods and services of organization Open ended Descriptive (not prescriptive)
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 38
ISO 9000-1987
9000 Guidelines for Selection and Use 9001 Model for Design, Development, Production, Installation, and Servicing 9002 Model for Production, Installation, and Servicing 9003 Model for Final Inspection and Test 9004 Guidelines for Quality Management and Quality System Elements
O S
E L
E T
Douglas Hoffman
Slide 39
ISO 9000:2000
9000 Quality Management Systems Fundamentals and Vocabulary 9001 Quality Management Systems Requirements Adds process improvement Combines 9001, 9002, and 9003 9004 Quality Management Systems Guidelines for Performance Improvements
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 40
Douglas Hoffman
Slide 41
ISO/IEC JTC 1
ISO and International Electrotechnical Commission Develops standards for information technology Subcommittee SC7 for software engineering standards Working Groups for specific standards ISO/TC176 to harmonize activities
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 42
Douglas Hoffman
Slide 44
Bellcore TR-179
Based on ISO 9001 and 9000-3 Bellcore Capability Assessment Bellcore Model
Quality System Framework Quality System Life Cycle Activities Quality System Supporting Activities
TL 9000 Standards
Quality Excellence for Suppliers of Telecommunications (QuEST) Forum Set of common standards including ISO 9000 (both 1994 and 2000) Quality System Requirements Quality System Metrics
Douglas Hoffman
Douglas Hoffman
Process Areas
Organizational: Process Focus , Process Definition, Training, Process Performance, and Innovation and Deployment Project Planning and Monitoring and Control Supplier Agreement Management Integrated Project Management Risk Management Integrated Teaming Quantitative Project Management Requirements Development and Management Technical Solution Product Integration Verification and Validation Configuration Management Process and Product Quality Assurance Measurement and Analysis Organizational Environment for Integration Decision Analysis and Resolution Causal Analysis and Resolution
Engineering Support
Douglas Hoffman
Slide 51
Staged
Proven sequence of improvements Permits comparisons of maturity levels Single summary rating Easy migration from SW-CMM to CMMI
Douglas Hoffman
Slide 52
Douglas Hoffman
Slide 55
Douglas Hoffman
Slide 57
ISO SPICE
Software Process Improvement for Capability Determination ISO 15504 To Harmonize CMM-Based Efforts Used For:
Douglas Hoffman
Process Assessment Process Improvement Capability Determination Qualification and Training of Assessors
Copyright 1997-2004, SQM, LLC. Slide 58
Trillium Model
Trillium Scale
Level 1: Unstructured Level 2: Repeatable and Project Oriented Level 3: Defined and Process Oriented Level 4: Managed and Integrated Level 5: Fully Integrated
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 59
Trillium Model
Capability Areas
Douglas Hoffman
Organizational Process Quality CHR Development and Management Process Management Quality System Development Practices Development Environment Customer Support
Copyright 1997-2004, SQM, LLC. Slide 60
Trillium Model
Capability Evaluation/Joint-Assessment Capability Assessment and Improvement Capability Self-Assessment Continuous Improvement (CI) Program Capability Profile, Levels, Road Maps, and Practices
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 61
BOOTSTRAP
AKA ESPRIT Bootstrap Assessment Bootstrap Evaluation Process Improvements
Douglas Hoffman
Slide 62
BOOTSTRAP Assessment
Assesses Organization and Projects Quality-Attribute Hierarchy
Clusters Elementary Attributes
Process Dimensions
Organization Methodology Technology
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 63
SWOT Analysis
Douglas Hoffman
Slide 65
Management Science
Fredrick Taylor (time and motion) Hawthorne Studies (cause and effect) Abraham Maslow (need hierarchy) Douglas McGregor (Theory X and Y) Frederick Herzberg (2 motivation factors) Organizational Empowerment Motivating the Work Force
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 66
Team Applications
Team Type Structure
department 8-10 from a department
Applications
Quality or productivity issues
Initially quality or performance; can evolve to self directed teams ranges; may be part Focus on a specific project; Project or all managers disbands when done 8-12 from different Like project teams but for Cross areas policies and operational issues Functional Can work from objectives; Self Directed 6-15; usually a natural area team requires training
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 69
Team Dynamics
Selecting Team Members Team Size Team Diversity Dominant or Disruptive Team Members Common Team Problems Dealing with Team Problems
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 70
Team Tools
Nominal Group Technique (NGT) Multivoting Brainstorming Joint Application Development (JAD) Rapid Application Development (RAD) Facilitated Application Specification Technique (FAST)
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 71
Facilitation skills
Team leader Facilitator Team participants Avoiding chaos Maintaining balance Keeping focused
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 72
Conflicts
Expect them Manage conflicts Resolve conflicts Handle conflicts Force Field Analysis Negotiation
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 73
Meetings
Meeting Management Team performance Operating guidelines Meeting structure
Douglas Hoffman
Slide 74
Douglas Hoffman
Slide 76
Interviewing Skills
Organize the Interview
Have a Plan Simple Questions Stay Focused Dont Threaten Ask Permission Avoid Ambiguity Avoid Manipulation
Douglas Hoffman
Slide 78
Ethical Conduct
Professional codes of ethics ASQ Code of Ethics Professional conduct and competence Conflicts of interests Software Licensing Software Copyrights
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 79
Professional Development
Software Quality Training Quality Auditor Training Software Engineering Training Professional Certification Training Needs Analysis
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 83
Design of Experiments Failure Mode Analysis Internal Auditing Reliability Engineering Statistical Process Control Software Quality Engineering Strategic Quality Planning
Copyright 1997-2004, SQM, LLC. Slide 85
Douglas Hoffman
Slide 86
Douglas Hoffman
Slide 87
Quality Management
General Knowledge, Conduct, and Ethics
Goals and objectives Principals Policies Strategic quality goals Tactical quality goals Process quality Tools and methods Audits
Copyright 1997-2004, SQM, LLC. Slide 89
SQA Tasks
Generation of QA Documentation Review of Project Materials Auditing Monitoring of Project Status Inspection of Delivered Items Monitoring Corrective Actions Participation in Project Activities Guidance of Project Testing Oversight
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 91
Outsourced Services
Process work (operations) Project work Global (strategic) Tactical (partial) Subcontracting (targeted) Offshore outsourcing Subcontractor management (SW-CMM)
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 92
Forces against:
Higher costs Risk exposure Dis economies of scale Limited access to knowledge Loss of intellectual capital Conflicting agendas
Douglas Hoffman
Slide 94
SQ Management Planning
Product and Project SQ Goals and Objectives Customer Requirements for Quality Quality and Customer Support Activities Software Security, Safety, and Hazard Analysis
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 95
Planning Issues
Software Development is Private Traditional Programmer Training Misses Planning and Measurement Standards not Followed Cowboy Culture QE Considered an Outsider
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 96
Planning Solutions
On the Job Training Positive Experience with Standards and Metrics Professional Attitude Discipline Planning Initiative (WWWWWH)
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 97
Defect Prevention Identification of Problem Areas Risk Analysis and Mitigation Correct Reviews and Inspections Documentation of Required Procedures
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 98
Douglas Hoffman
Slide 100
Policies
Standard Processes
Procedure Artifacts
Douglas Hoffman
Slide 101
Documentation
SQM Plan (IEEE 730) Requirements
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 103
Requirements*
Solve a problem Must be met to satisfy the contract Requirements analysis vs. Requirements specification Problem analysis vs. Product description
* IEEE 610.12
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 104
Requirements Analysis
Object Oriented Function Oriented State Oriented Behavioral Analysis Nonbehavioral Analysis
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 105
Requirements Elicitation
Problem recognition Evaluation and synthesis Modeling Specification Review
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 107
Customer/User Reviews
JAD RAD QFD FAST Context-free questions
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 108
Quality Records*
Records and Data Collection Use Changes Storage Maintenance Retention
*
Douglas Hoffman
SQA Tools
Standards Analyzer Data-flow Analyzer Interface Analyzer Test Generator Test Management System
Requirements Tracer Database Analyzer Complexity Analyzer Logic Analyzer Reliability Model Simulators
Douglas Hoffman
Slide 113
Program development and administration Audit preparation and execution Audit reporting and follow up
Douglas Hoffman
Slide 115
Douglas Hoffman
Slide 116
Cost of Quality
Traditional Concepts Levels Locations
Douglas Hoffman
Slide 118
Quality-Related Costs
Prevention Cost of preventing customer dissatisfaction, including errors or weaknesses in software, design, documentation, and support. Internal Failure Appraisal Cost of inspection (testing, reviews, etc.).
External Failure
Cost of dealing with errors Cost of dealing with errors discovered during development that affect your customers, and testing. Note that the after the product is released. company loses money as a user (who cant make the product work) and as a developer (who has to investigate, and possibly fix and retest it).
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 120
Douglas Hoffman
Wasted time Lost data Lost business Embarrassment Frustrated employees quit Failure during one-time-only tasks, e.g. demos to prospective customers Cost of replacing product Reconfiguring the system Cost of recovery software Tech support fees Injury / death
Slide 122
The $q / $Q Debate
Topic
Products Processes Customer Industries Cost of Poor Quality
Douglas Hoffman
Little Q
Manufactured goods Process directly related to production Clients who buy the products Manufacturing
Big Q
All products, goods, and services All processes, support, business, etc. All who are affected All industries
Costs associated with All costs that would deficient manufactured disappear if everything goods were perfect
Copyright 1997-2004, SQM, LLC. Slide 123
Supporting Activities
Defect Tracking Technical Support Change Control Board (CCB)
Douglas Hoffman
Slide 127
Software Audits
Douglas Hoffman
Slide 128
Software Audits
Program Development and Administration Audit Preparation and Execution Audit Reporting and Follow-up
Douglas Hoffman
Slide 129
Auditing stages
Planning and preparation Performance Reporting Corrective action and follow-up
Douglas Hoffman
Slide 130
Audit Objectives
Compliance with standards Effectiveness of controls Opportunity for improvement Regulatory requirements Permit registration
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 131
Audit Responsibilities
Audit team member Lead Auditor Client Auditee
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 133
Auditing Standards
ANSI/ISO/ASQC Q10011-1994 Guideline for Auditing QMS ISO 9001:2000
[ISO 9000-3 Guideline]
Software Audits
Terms Types Methods Steps Process Planning
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 135
Audit Terms
Audit Checklists Compliance Conformance Customers Interviews Objective Evidence
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 136
Audit Types
First party Second party Third party Internal External
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 137
Audit Types
(Continued) System Process Product Compliance Regulatory
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 138
Audit Types
(Continued) Management Quality Functional configuration Physical configuration Administrative Audit etc.
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 139
Audit Methodology
Purpose Perspectives Frequency Criteria Procedures
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 140
Audit Precepts
Function of management Qualified auditors Measures against standards Objective evidence Focus on control system
Douglas Hoffman Copyright 1997-2004, SQM, LLC.
Slide 141
Management Audits
To determine that: Adequate controls exist Controls are being implemented Controls really work
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 142
Audit Perspectives
Customers
Auditee Client Organization
Auditor
Douglas Hoffman
Slide 143
Audit Process
Objectives Scope Entry criteria Assessment criteria Exit criteria
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 144
Audit Frequency
Project milestone Quality milestone External requirements Internal request Major organizational change
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 145
Audit Tools
Checklists Authoritative Documents Flowcharts Interviewing Data Collection
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 146
Data Collection
Interviews
Data gathering Not objective evidence Conducting an interview
Douglas Hoffman
Slide 148
Audit Phases
Preparation Performance Reporting Closure
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 149
Audit steps
Douglas Hoffman
Engineering Processes
General Knowledge, Conduct, and Ethics Software Quality Management
Life cycles
Systems architecture
Douglas Hoffman
Slide 153
Many models
Balance among tradeoffs Choose one that adjusts to expected changes
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 155
Maintenance
Error corrections Adaptations evolved Enhancements made
Development phase
Douglas Hoffman
Related activities
Quality assurance Configuration management Project monitoring Measurement
Slide 156
How data is structured How system is architected How procedures work How programmed How tested
Waterfall Prototyping* and Mock-ups Spiral Incremental Development Decomposition/Integration Cleanroom* Fourth Generation Techniques* Object-Oriented Hybrid Models *
Copyright 1997-2004, SQM, LLC.
Waterfall
Feasibility Requirements Product Design Detailed Design Code/Unit Test Integration/Product Verification Implementation/System Test Operation and Maintenance/ Revalidation Time
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 158
Phases
Prototyping
Start Stop Determine Requirements Rapid Design Complete the Engineering
Mock-Up Approach
Revise Requirements Evaluate Prototype Detailed Design Code/Unit Test Integration/Product Verification Implementation/System Test Operation and Maintenance/ Revalidation
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 160
Revise Prototype
Spiral Model
Determine objectives, alternatives, constraints Evaluate Alternatives, Identify and Resolve Risks
Risk Analysis Risk Analysis Risk Analysis Prototype Prototype Operational Prototype
Re Pla quirem n ent De s Concept vel Pla op s me n ent nt rem ui Inte Req gra Te st P tion a lan nd
Initial Design
Detailed Design
Implementation
Incremental Development
Component 1 System Engineering Component 2 System Engineering
... ...
Phases
Analysis Design
...
Code
Analysis
...
Design
... ...
Component Test
Component Test
...
Time
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 162
Decomposition/Integration
Operation System Test Integration
Requirements Specification
Douglas Hoffman
n tio osi mp co De
Analysis
Design Development
Unit Test
Cleanroom
Development Team
Des and Dev 1st Module Baselined S/W Specification Development Planning Des and Dev 1st & 2nd Module Test & Proof 1st & 2nd Modules Test & Proof Modules 1, 2, 3
Verification/Certification Team
Slide 164
Douglas Hoffman
Fourth Generation
Douglas Hoffman
Slide 165
Object-Oriented
OOA OOD Component Library Examine for a Reusable Component
No Go
Customer Evaluation
Not in Library
OK
Put in Use
Construct Prototype
Douglas Hoffman
Slide 166
Lifecycle Selection
Life Cycle
Waterfall Decomposition/ Integration Prototyping Spiral Cleanroom
Douglas Hoffman
Project Requirements
Known, unchanging Known, unchanging Unknown, changing Unknown, unchanging Known, provable
Slide 167
Douglas Hoffman
Slide 168
Pitfalls In SDLCs
Poor Choice of SDLC Lack of Understanding Conflicts of Interest Violation of Process Poor Feedback
Douglas Hoffman
Slide 169
Systems Architecture
Collection of components Interactions between components Patterns of similar components and interactions
Douglas Hoffman
Douglas Hoffman
Slide 172
Requirements Prioritization
Critical, Important, Desirable Required, Conditionally Required, Objective Assignment to future releases Requirements should be:
Unambiguous Correct Verifiable Consistent Complete
Copyright 1997-2004, SQM, LLC. Slide 173
Douglas Hoffman
Bi-directional Traceability
Of: Customer Requirements Engineering Requirements Design Components Code Tests V & V Results Built one way (top-down) Bottom-up trace derived
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 175
Verifying: Requirements to Design Design to Code Requirements to Tests Validating: Requirements to Test Results
Types of Requirements
Input Output Reliability Availability Maintainability Performance Accessibility Environmental conditions Ergonomic Safety Security Facility requirements Transportability Training Documentation External interfaces Testing Quality provisions Policy and regulatory Compatibility to existing systems Standards and technical policies Conversion Growth capacity Installation Contractual Regulatory
Slide 177
Douglas Hoffman
Quality Requirements*
Product description
General requirements Identifications and indications Functionality Reliability Usability Efficiency Maintainability Portability Completeness Correctness Consistency Understandability Ease of overview
User Documentation
Douglas Hoffman
Requirements Elicitation
Problem recognition Evaluation and synthesis Modeling Specification Review
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 179
Interviews Document Analysis Brainstorming Requirements Workshop Prototyping Use Cases Storyboards Interfaces Analysis Modeling
Copyright 1997-2004, SQM, LLC. Slide 180
9. Use reviews and inspections 10. Use a requirements tool 11. Use proven techniques 12. Include domain experts 13. Evolve mechanisms 14. Use CPI 15. Involve users throughout 16. V&V requirements
*
Requirements Obstacles
User procedures Current capabilities Formal business rules Gold plating
Douglas Hoffman
Slide 182
Gold Plating
Cutting-edge technology User desired features Management information Technical staff desire to provide better products Requirements creep
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 186
DESIGN FEATURES
COMPETITION COMPARISON
1 4 1 1 0
2 3 0 3 2
1 1 3 0 5
1 5 0 4 1
3 3 2 0 5
Competitive Position
65 21 36 46 35 53 70
Computed Rating
TARGET VALUES
Measurable Outcomes
Douglas Hoffman
Contribution
House of Quality
Copyright 1997-2004, SQM, LLC. Slide 187
Partition into layers Move from essential descriptions toward implementation details
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 188
Douglas Hoffman
A producer or consumer of information that resides outside the bounds of the system to be modeled. A transformer of information that resides within the bounds of the system to be modeled. A data item or collection of data items; the arrowhead indicates the direction of data flow. A repository of data that is to be stored for use by one or more processes; may be as simple as a buffer or queue or as sophisticated as a relational data base.
Copyright 1997-2004, SQM, LLC. Slide 190
Process
Data item
Data store
Douglas Hoffman
Start/Stop Flag
Process Activate
Operator Commands Operator Settings Proecess Robot Controls Robot Movement Record Position Commands
Douglas Hoffman
Slide 191
Data Dictionary
Represents data content of objects Lists all data elements Rigorously defines
Douglas Hoffman
WRITERS
CREATE
TRAINING MANUAL
TITLE SECTIONS
QUESTIONS
EDIT
REVIEW
ETC.
Characteristics: Mechanisms for analysis Represent functions and/or behaviors Define interfaces Partition the problem Support abstraction Represent essential and implementation views
Slide 194
Warnier-Orr Method (DSSD) Jackson System Development (JSD) Object Oriented Requirements Analysis
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 195
Shipment Order No. Sales Clerk receives records order Order # Title Author Unit $ Total
UPS
Douglas Hoffman
Slide 196
Notation
Bus
Leave (1)
Midtown Route
Arrive(1)
Garage (i)
Move vehicle
* Accelerate
Illustration
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 197
Information Domain
Information flow
Transformations Introduced data Output data
Information content
Individual data and control items Combined into records
Models
Aid in understanding system
Information Functions Behavior
Become the focal point for review and testing Are the foundation for the design
(Pressman, 1993)
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 204
External Entity
External Entity
External Entity
External Entity
Douglas Hoffman
Slide 206
Defines the language for specifying metamodels. metamodel An instance of a metametamodel. Defines the language for specifying a model. An instance of a metamodel. model Defines a language to describe an information domain. An instance of a model. user Defines a specific information objects (user data) domain.
Douglas Hoffman
UML Representations
Static Diagrams; classes and objects Use-Case Diagram; systems functions and actors Sequence Diagrams; sequential interactions and messages Collaboration Diagram; objects interactions that together perform a function non-sequentially Statechart Diagram; the state machine Activity Diagram; a state machine where states are activities, and operations and transitions are triggered on activity completion (a.k.a swimlane diagram) Implementation Diagram; component source code structure and runtime processing descriptions
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 208
UML Perspectives
Logical View; the structure of the model (for analysts and designers) Process View; the performance, scalability, and throughput (for system integrators) Implementation View; the software components (for programmers) Use-Case View; the system functionality (for end-users) Deployment View; the system topology and installation (for system engineers)
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 209
Software Reuse
Development activity Components designed for more than one use Benefits
Cost savings Reliability Efficiency
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 210
Software Reengineering
Maintaining Functionality Inventory Analysis Documentation Analysis Code Restructuring Data Restructuring
Reverse Engineering
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 211
Reverse Engineering
Design Recovery
Code and Data structures Code and Data flows E-R Models
Re-implementation
Douglas Hoffman
Slide 212
Defect Prevention
Use Standards
Life Cycle Models CM Documentation Testing
Douglas Hoffman
Slide 213
Classical Cleanroom
Development Team
Des and Dev 1st Module Baselined S/W Specification Development Planning Des and Dev 1st & 2nd Module Test & Proof 1st & 2nd Modules Test & Proof Modules 1, 2, 3
Verification/Certification Team
Slide 214
Douglas Hoffman
Modified Cleanroom
Explicit component and functional requirements Explicit detailed design Explicit correctness arguments for design Formal inspections of code
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 215
Defect Removal
Detection plus Repair Testing Reviews
Peer or independent Formal or informal Document or code
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 216
Technical Reviews
Three to five people Advance preparation Maximum of two hour sessions Peers only
Douglas Hoffman
Slide 217
Development Tools
Management Modeling Design Code analysis and Testing Documentation Databases
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 218
Maintenance Processes
Steps
Defect report Impact analysis Implement the fix Test Issue revisions
Types
Corrective Adaptive Perfective Preventative
Douglas Hoffman
Slide 219
Maintainability
Factors that control maintainability
Qualified staff System structure System handling (CM) Standards use Structure of documentation Test cases
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 220
Side effects
Code Data Documentation
Operational Maintenance
Framework
User Environment Maintenance processes Software product Personnel
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 221
Maintenance Documents
Requirements System architecture Program architectures Specifications and designs Source code Validation documents Maintenance guide
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 222
Maintenance Factors
System documentation Lehmans Laws
Continuing change Increasing complexity Large program evolution Organizational stability Conservation of familiarity
Maintenance Tools
Reverse Engineering
Program slicer Static analyzer Dynamic analyzer Data flow analyzer Cross-referencer Dependency analyzer Transformation tool
Douglas Hoffman
Testing
Simulator Test case generator Test path generators
Other
CM Documentation Complexity assessment
Slide 224
Project Management
General Knowledge, Conduct, and Ethics Software Quality Management Software Engineering Processes
Douglas Hoffman
Slide 226
Planning
Project planning elements Goal-setting and deployment Project planning tools Cost and value data
Douglas Hoffman
Slide 227
Planning
Project Plan document Project planning factors Project planning methods and tools Goal setting and deployment factors Maintenance types Software maintenance and adaptability program planning Supplier management methodologies
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 228
Contract Review
Douglas Hoffman
Scope Standards Deliverables Risks and Contingencies Proprietary information Resources identified Subcontractor requirements
Copyright 1997-2004, SQM, LLC. Slide 229
Douglas Hoffman
Project Initiation
Contract Request for quote/proposal Feasibility study R&D Customer request Business need Strategic need
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 233
Project Factors
Douglas Hoffman
Work to be done Risks Required resources Tasks Milestones Effort required Schedule
Copyright 1997-2004, SQM, LLC. Slide 234
Estimation Elements
Effort Resources Scheduled deliveries
Douglas Hoffman
Slide 236
Estimation Means
Analogy Engineering assessment Subject Matter Experts (SME) Parametric Modeling
Douglas Hoffman
Slide 237
COCOMO Before You Leap (BYL) Wang Institute Cost Model (WICOMO) DEC Plan SLIM Checkpoint
Copyright 1997-2004, SQM, LLC. Slide 238
Scheduling Projects
Critical path scheduling Resource availability Task cost estimates Task crashing times Task crashing costs
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 239
Douglas Hoffman
Slide 240
Milestones
Events Entry and exit criteria Correspond with phase transitions Key for process control
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 241
PERT Example
Task3 (5) Task6 (4) Task7 (4) Task2 (3) B Task5 (3) Task4 (4) D F
Task9 (3) G
Task11 (6)
Task8 (4)
Douglas Hoffman
Slide 243
PERT/CPM
2 Task1 3 Task2 5 Task3 4 4 Task4 3 Task5 Task7 3 Task9 4 Task8 6 Task11 4 Task6 3 Task10
Douglas Hoffman
Slide 245
Douglas Hoffman
Slide 246
Add count of internal [logical] files (X10) Summed values adjusted by experience All values weighted by complexity
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 247
Douglas Hoffman
Slide 248
Resource Planning
Input data:
Task duration from WBS Project scope statement Activity duration estimates
Output data:
Resource requirements
People Platforms Equipment Materials
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 249
Cost Estimation
Input data:
WBS Resource requirements Historical data and information Resource rates Risks considered for cost estimates
Output data:
Cost estimates (as cost and schedule)
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 250
Cost Budgeting
Input data:
Cost estimates WBS Project schedule Risk management plan
Output data:
Cost baseline
Douglas Hoffman
Slide 251
Earned value
Physical work accomplished Estimated value of the work
Actual costs
Amount of resources consumed
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 253
Project Progress
Phase transitioning control techniques Collecting Cost of Quality data Cost of Quality categories Cost, progress, and deliverable tracking
Douglas Hoffman
Slide 254
Douglas Hoffman
Slide 255
Douglas Hoffman
Slide 257
Scheduling Factors
Development environment Programmer skill levels Language and compiler stability Adjunct resources (e.g., test beds) Schedule commitments SDLC Corporate culture
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 258
Budgeting
BCWP ACWP BCWS Earned Value Analysis
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 259
Douglas Hoffman
Slide 260
Earned Values
Cost Variance = BCWP ACWP Schedule Variance = BCWP BCWS Cost Performance Index = BCWP/ACWP Earned Value = BCWP
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 261
BCWS
BCWP
Slippage
Time
Douglas Hoffman
Target Completion
Overrun Date
Slide 262
Douglas Hoffman
Douglas Hoffman
Slide 264
Douglas Hoffman
Slide 265
Douglas Hoffman
Slide 266
100% Bad
Douglas Hoffman Copyright 1997-2004, SQM, LLC.
100% Good
Slide 267
Project Reviews
Senior Management Review Project Status Review Closed Loop Methodologies
Project Plan updates Corrective action plans Lessons learned
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 268
Implementation
Project management tools Reporting Cost of Quality data Trade-offs in release decisions
Douglas Hoffman
Slide 269
Risk Management
Risk management planning methods Risk probability Product release decisions Software security, safety, and hazard analysis issues
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 270
Risk areas
Douglas Hoffman
Risk Management
Features - Costs - Schedule Uncertainties
Requirements People Metrics Data Subjective values Model correctness
Analyze
Plan
Identify
Communicate
Track
Mitigate
Control
Uncertainty in Quantification
Douglas Hoffman
Slide 274
Risk Probabilities
Components of risk
An [unwanted] event A likelihood of occurrence The impact of the event Ability to notice the event
Release Criteria
Identified deliverables Documents reviewed Testing complete with acceptable pass rate Regression testing complete Prioritized defects resolved Planned release criteria all met Risks identified and mitigated Exceptions to plans are resolved Customer notified Product Support plan in place Quality criteria have been met
Slide 277
Douglas Hoffman
Typical decisions
Outsourcing software development (contractors) Phased deliveries of increasing functionality Phased delivery of customer requirements Delivery with known non-critical defects Re-negotiating cost or schedule
Slide 278
Douglas Hoffman
Slide 282
How much do we need to know before measuring How do we know what weve measured What do the measures really mean What arithmetic makes sense
Douglas Hoffman
Slide 283
Software Metrics Defect Error Failure Fault KCSI KLOC KSLOC Dependent/Independent Variables
Copyright 1997-2004, SQM, LLC. Slide 285
Measurement Theory
Conditions for measurement
Sets Relations Axioms Functions
Douglas Hoffman
Slide 286
Types of Measures
Scale Nominal Ordinal Interval Description Example Names or Colors categories Defect Ordered classifications Differences Temperature can be (F) measured Inherent zero Money start value Dispersion Tests Information Mode Chi-square only Sign or run Median Percentages test Standard or Arithmetic t-test average Mean F test deviation correlation Geometric or Percent analysis harmonic variation mean Center
Ratio
Douglas Hoffman
Slide 287
Mode
most frequent
Median
middle value (when ordered)
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 289
Measures of Dispersion
Range
largest - smallest
Psychology of Metrics
Potential for problems Results based Clear objectives Process and product focus Avoid misuse Hawthorne effect
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 291
Question
What answer you need to know
Metric
How to measure/ compute it
*
Douglas Hoffman
Designing Measures
Types of software measures
Product Process Resources
Purpose of metrics
Assessment Prediction
Model is required
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 294
Douglas Hoffman
Slide 295
Designing Measures
IEEE Standard 1061 Software Metrics Methodology IEEE Standard 982.1 Standard Dictionary of Measures IEEE Standard 982.2 Guide to using IEEE 982.1
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 296
Metrics Examples
Halstead - Software Science Boehm - COCOMO Albrecht - Function Points McCabe - Cyclomatic Complexity De Marco - Bang Metrics LOC Measures
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 298
Metrics
Number of implementable requirements Average number of errors made by users in a given time Value of resources saved Number of requirements with test criteria; number of requirements planned Amount of spare capacity available Number of transactions per second Time to restart after system failure Number of requirements included in, assigned to, or tested
Faults/LOC Correctness Faults/Requirements Faults/Standards Actual or Allocated Efficiency Utilization Average labor days to Flexibility change Faults/Lines Integrity Faults relative to security Effort to couple or Inter-operability develop Maintainability Average labor days to fix Effort to transport or to Portability develop Reliability Faults/LOC
(IEEE 610.12)
Slide 299
Douglas Hoffman
Rayleigh Model
Defect Rate
A = high level design inspection B = low level design inspection C = code inspection D = component test E = system test F = customer usage
D Development Stage
Douglas Hoffman
Slide 301
Exponential Distribution
Time --> Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 302
Software Models
Time Between Failures (TBF) Fault Counts (FC) Examples
Douglas Hoffman
Jelinski-Moranda (J-M) (TBF) Littlewood (LW) (TBF) Goel-Okumoto (G-O) (FC) Goel-Okumoto (NHPP) (FC) Musa-Okumoto (FC) Delayed S and Inflection S (FC)
Copyright 1997-2004, SQM, LLC. Slide 303
Errors _ found _ by _ inspection Error detection effectiveness = Total _ errors _ before _ inspection
Douglas Hoffman
Slide 304
Phase Containment
Development Phase
Requirements High level design Low level design Coding Unit test Integration System test
Defect Cause
Defect Detection
Requirements gathering Requirements analysis Requirements specification Requirements review Design work Design work Coding Bad defect fixes Bad defect fixes Bad defect fixes Inspection Inspection Inspection Unit testing Integration testing System testing
Douglas Hoffman
Slide 305
Process Measures
Steps *
Actual vs. Plan Extrapolate Assess impact of problems ID and evaluate alternatives Make decisions Monitor for changes
McGarry, 2002
Slide 306
Process Effectiveness
ISO 9000-2000
Procedures followed Measured results Process ownership Management support Incentive alignment Proper training Feedback encouraged Improvement results Uses technology
Measurements
Performance Reliability Usability Cost of process Cost of Quality Responsiveness Adaptability Dependability Applicability Accuracy Quality of products
Slide 307
CMM/CMMI Level
Douglas Hoffman
Data quality
Bias Rounding Sequence Timeliness Population statistics Entry errors Hunches Environment
Slide 308
Douglas Hoffman
Disney, 1998
Slide 309
Check Sheet Pareto Diagram Histogram Scatter Diagram Graph Control Chart Cause and Effect Diagram
*
Copyright 1997-2004, SQM, LLC.
Ishikawa, 1991
Slide 310
Douglas Hoffman
Slide 311
Pareto Diagram
93 76 59 86 80 60 40 20 0 C1 C2 C3 C4 Causes C5 C6 C7 %
Copyright 1997-2004, SQM, LLC. Slide 312
98
100
100
Douglas Hoffman
Count
38
Histogram
% OF TOTAL DEFECTS 50 40 30 20 10 0 5 10 15 20 25 30 35 40 45
Douglas Hoffman
Slide 313
Graphs
Line Graph 40 B 30 C A 20 10 0 1 3 5 7 9 D E F
Pie Chart
Douglas Hoffman
Slide 314
Scatter Diagram
35 30 25 20 15 10 5 0 0 1 2 3 4 5 6
Defects
Complexity Index
Douglas Hoffman
Slide 315
Control Chart
20 # Failures 15 10 5
LCL UCL
0 0 2 Time 4 6
Douglas Hoffman
Slide 316
Insufficient Preparation
Graphs not available
Poor Overview
Ineffective Inspection
No process for defect certification Defect opened > 120 days
Moderator
Inspection Meeting
Follow-up
Douglas Hoffman
Slide 317
Predefined Process
Document
Terminator
Preparation
Manual Input
Delay Extract
Douglas Hoffman
Slide 319
Clearly defined problem Participation w/out criticism Address root causes (not symptoms) Data-driven decisions State problem from customer view Generate a list of root causes Solutions to address largest causes Prioritize solutions
Copyright 1997-2004, SQM, LLC. Slide 320
Process
Do:
Carry out the change or test
P A C D
Check:
Observe the effects of the change or test
Act:
Study the results. What lessons? What predictions? What improvements or changes (if any)?
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 322
American counterpart
2. Affinity diagram 3. Tree diagram 6. Process decision program chart (PDPC) 5. Matrix diagram 1. Interrelationship digraph (I.D.) 4. Prioritization matrices 7. Activity network diagram
Copyright 1997-2004, SQM, LLC. Slide 323
Affinity Diagrams
Exam Prep Example
Resources
CSQE Primer Literature Group study ASQ BOK Textbooks Mentor Self study
Learn
CSQE class Watch video SQE Classes Tutor
Preparation
Teach BOK Experience Start early Practice exams
Douglas Hoffman
Motivation
Bonus $ Listen to CSQEs Motivate self Develop pride Improve work
Slide 324
Get Primer
Group study
College classes
Bonus
Get BOK
Self motivate
Douglas Hoffman
Slide 325
Tree Diagrams
CSQE Test Prep Pass CSQE Exam
Recources
Prepare
Motivate
Douglas Hoffman
Criteria Work Experience Have a Tutor Study in Group Attend CSQE Refresher Study Old Tests High Motivation Total
Perosn 1 Perosn 2 Perosn 3 Perosn 4 Total Ranking Ranking Ranking Ranking 0.05 0.10 0.15 0.10 0.20 0.10 0.10 0.30 0.05 0.20 0.10 0.20 0.45 0.70 0.50
Douglas Hoffman
Slide 328
0.45 Work Experience 0.45 0.90 1.80 1.35 3.15 2.70 2.25 3.60
0.70 Have a Tutor 1.40 2.10 0.70 2.80 4.90 5.60 4.20 3.50
0.50 Study in Group 1.50 0.50 1.00 2.00 4.00 3.50 2.50 3.00
0.95 0.65 0.75 Attend Total Study Old High CSQE Tests Motivation Refresher 1.90 2.85 0.95 3.80 6.65 7.60 5.70 4.75 0.65 1.95 1.30 3.25 3.90 5.20 4.55 2.60 2.25 3.00 1.50 3.75 6.00 5.25 4.50 0.75 8.2 11.3 7.3 17.0 28.6 29.9 23.7 18.2
Knowledge and Ethics Quality Management Audits Engineering Processes Program Management Software Metrics Verification & Validation Configuration Management
Douglas Hoffman
Slide 329
Matrix Diagrams
L-type
Standard, two factor matrix
T-type
Two factors on Y-axis, one on X-axis
X-type
Two factors on each Y-axis and X-axis
Y-type
Two L-type matrices with common Y-axis Standard, three dimensional matrix
C-type
Two L-type matrices with common Y-axis Three dimensional matrix with unique values
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 330
Team 1
Team 2 O
Team 3
X O ?
Douglas Hoffman
Slide 331
Solutions to What-ifs
Contingency
A2 A1 A3 Start Goal B2 B1 B3
A4
A5
Contingency
B4
Contingency
B5
Result RB5
Contingency
Douglas Hoffman
Slide 332
Get a Tutor Obtain Resources No CSQE Classes Study Alone Find Others
Study via Tutor Study via Tutor Find a CSQE Call Expert
Douglas Hoffman
Slide 333
Douglas Hoffman
Slide 334
Sampling Errors
Actual Quality
Called Good Called Bad Good 1-
producer's confidence
Bad
Type II Error
Type I Error
1
consumer's confidence
Slide 336
Douglas Hoffman
V&V Theory
V&V planning procedures and tasks V&V program Evaluating software products and processes Interfaces
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 338
Portability Readability Reusability Reliability Safety Security Survivability Testability Usability * IEEE 1059
Slide 339
Vocabulary
Inspection Walkthrough Review Test V&V Regression
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 340
V & V Planning
Scope for V & V Establish objectives Analyze project inputs Select techniques and tools Develop the plan
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 341
V & V Methods
Evaluating products and processes Requirements traceability Evaluating requirements Evaluating interfaces Evaluating test plans Evaluating the severity of anomalies Assessing proposed modifications Which V & V tasks should be iterated
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 342
V & V Interfaces
Douglas Hoffman
Slide 344
Inspection Types
Desk check (walkthrough) Walkthrough (evaluate) Inspection (debug) Management review Technical review
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 345
Douglas Hoffman
Types of Tests
Douglas Hoffman
Functional Performance Regression Load Worst case Perfective Exploratory Random-Input Certification
Test Levels
Unit Component Integration System Field
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 352
Test Strategies
Top down Bottom Up Black box White box Simulation I/O first Alpha/Beta testing Fault insertion
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 353
Fault-Error handling Equivalence class partitioning Boundary value analysis Cause effect graphing Error guessing Customer defects
Test Design
Excellent test cases Equivalence classes Scenarios Customer defects Test coverage Fault insertion
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 354
Kaner (1993)
Slide 355
Douglas Hoffman
Test Environments
Test Libraries Drivers and Stubs Harnesses Compatibility Labs Simulators Other tools
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 357
Supplier Quality
Testing supplier components
COTS MOTS Fully Developed
Test Planning
Types of plans
System Acceptance Validation
Implementation Scheduling Freezing Dependencies V-model Error repair models Acceptance testing Resources Analysis of test results
Slide 359
Douglas Hoffman
Test Documentation
Defect recording Defect tracking Test Plan Test Log Test Design Test Case Test Procedure
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 360
Test Reports
Defect report Test result Test report Traceability matrix Test completion metrics Trouble reports
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 361
Test Management
Scheduling Freezing Resource Management Dependencies Analysis of Results
Douglas Hoffman
Slide 362
Methods
Management review Technical review Inspection Walkthrough Test Audit
Douglas Hoffman
Slide 363
Branch Condition Domain Cyclomatic complexity Boundary Path Individual predicates Data Functions
Copyright 1997-2004, SQM, LLC. Slide 364
Cyclomatic Complexity
R-1 R(G) = 6 N(G) = 7 E(G) = 11 V(G) = R(G) = 6 V(G) = E - N + 2 = 11 - 7 + 2 = 6 E-8 R-6 N-6 E-11 N-7 E-5 N-2 R-3 N-5 E-9 E-10 R-4 E-6 N-3 E-7 E-1 R-2 E-3 E-4 R-5 N-4 N-1 E-2
V(G) = 6
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 365
Severity of Anomalies*
Criticality
High Major Moderate
Description
Selected function affects critical performance of the system. Selected function affects important system performance. Selected function affects critical system performance, but workaround strategies can be implemented to compensate for loss of performance. Selected function has a noticeable effect on system performance, but only creates inconvenience to the user if the function does not perform in accordance with requirements.
*
Level
4 3 2
Low
Douglas Hoffman
Configuration Management
General Knowledge, Conduct, and Ethics Software Quality Management Software Engineering Processes Program and Project Management Software Metrics, Measurement, and Analytical Methods Software Verification and Validation (V&V)
Configuration Management
Douglas Hoffman
Slide 368
Benefits from CM
Product attributes defined Documented product configuration Labeled and correlated Change evaluation Change management Configuration captured Configuration verification
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 369
Rationale for CM
Change inevitable Complexity increases Simultaneous updates Double maintenance Shared code Common code Versions evolve
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 370
CM Terms1
Baseline: A uniquely identified consistent group of related SCIs captured as a milestone. A specification or product that has been reviewed and agreed upon as a basis for future development, which can be changed only through procedures CASE: Computer Aided Software Engineering; Use of software tools to design, requirements tracing, code production, testing, doc generation, and other software activities Configuration: Functional and physical characteristics of hardware or software as set forth in technical docs or achieved in a product Configuration Control: Element of CM; Evaluation, coordination, approval (or dis-), and implementation of changes to CItems after establishment of C ID. Configuration Control Board (CCB): Group responsible for evaluating and approving (or dis-) proposed changes to C Items and ensuring implementation of approved changes
Copyright 1997-2004, SQM, LLC. Slide 371
Douglas Hoffman
CM Terms2
Configuration Identification: selecting the C Items for a system and recording their functional and physical characteristics in technical docs Configuration Item (CI): Hardware or Software (or both) designated for CM and treated as a single entity in the CM process Configuration Management (CM): Discipline applying technical and admin direction and surveillance to ID and doc the functional and physical characteristics of a C Item, control changes, record and report change processing and implementation status, and verify compliance with requirements Configuration Status Accounting: Element of CM: recording and reporting info to effectively manage a config; includes config ID, status of proposed changes, and implementation status of approved changes Patch: 1) Modification to object program by replacing code; 2) Modification to object program without recompiling from source Release: Formal notification and distribution of approved version
Copyright 1997-2004, SQM, LLC. Slide 372
Douglas Hoffman
CM Terms3
Software Configuration: programs, documents, data structures; all items produced as part of software engineering process Software Configuration Item (SCI): Information produced, such as source code, design documents, test suite, or program modules. The software subset of CI. That which is managed together. (SCI often includes tools so versions can be reproduced) Software Development Life Cycle (SDLC): Period of time begins at concept and ends when software is no longer available for use Software Engineering environment: Hardware, software, and firmware used for SE effort; includes equipment, compilers, assemblers, OS, debuggers, simulators, emulators, test tools, documentation tools, and DBMS Software Library: Controlled collection of software and related documents to aid Software development, use, or maintenance. Types: master, production, library, software development library, software repository, and system library Versions: named SCI set with a defined set of functional capabilities
Copyright 1997-2004, SQM, LLC. Slide 373
Douglas Hoffman
Configuration Infrastructure
Douglas Hoffman
Slide 374
SCM Responsibilities
Configuration identification Configuration control Status accounting Co-chair audits and reviews Co-chair CCB Maintain baselines Implement SCM plan
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 375
SCM Tools
SEIs 15 concepts SEIs four SCM models
Check out/in Composition Long transactions Change sets
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 376
Douglas Hoffman
Slide 377
Configuration Identification
Douglas Hoffman
Configuration items Structure Identification of items Baselines Accessibility Traceability Software builds Methods
Copyright 1997-2004, SQM, LLC. Slide 379
Configuration Control
Version control Naming Configuration ID Library control Release process Patching
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 381
Configuration Control
Item and baseline control Proposed modifications Review and configuration control boards (CCBs) Concurrent development Traceability Version control Configuration item interfaces
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 382
Change Control
Change process Change review Change approval Baselines Impact analysis Change management Verification
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 384
CM Issues
Definition of configuration Status of configuration Change control Communication of changes Release and distribution issues
Product release process issues Packaging, production, and distribution
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 385
Exam Preparation
Get good rest Be prepared to focus Bring indexed library Clear your head Relax and stay cool Soft pencils, calculator, munchies
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 386
Douglas Hoffman
Slide 389
Douglas Hoffman
Slide 390