Académique Documents
Professionnel Documents
Culture Documents
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
Software Quality
Code Complexity
(8)
Douglas Hoffman
Slide 8
Introductions
Me You
Douglas Hoffman
Slide 9
Class Objectives
Survey the SQE Body of Knowledge
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
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
Evaluation
Douglas Hoffman
Douglas Hoffman
Slide 20
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
Douglas Hoffman
Philip
Four Absolutes:
* Crosby
Quality Means Conformance to Requirements Quality Comes from Prevention Zero Defects Quality Measurement is the Price of Nonconformance
14 Steps to Improvement
*
Douglas Hoffman
Dr. W. Edwards
* Deming
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
Dr. Joseph
Fitness for Use
* Juran
Douglas Hoffman
Prevention
Start Earlier Look Upstream for Improvements
Douglas Hoffman
Slide 30
Software TQM
* Principles
Continuous Improvement
Management by Facts
Measurement of Progress
Quality Teams
Management of Resources
Leadership
*
Douglas Hoffman
Types of Quality
Quality Council
* Teams
Douglas Hoffman
Software TQM
Assessments
* Applications
Activities
Plan-Do-Check-Act
SEI CMM
Goal/Question/Metric Paradigm
*
Douglas Hoffman
Strategic Benchmarking
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 34
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
Douglas Hoffman Copyright 1997-2004, SQM, LLC. 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
ANSI/IEEE 610.12: Standard Glossary of Software Engineering Terminology ANSI/IEEE 730: Software QA Plans ANSI/IEEE 828: Software CM Plans ANSI/IEEE 830: Requirements Specifications ANSI/IEEE 1028: Reviews and Audits ANSI/IEEE 1012: Software V & V Plans ANSI/IEEE 1074: Life Cycle Processes
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 43
Douglas Hoffman
Slide 44
Bellcore TR-179
Based on ISO 9001 and 9000-3
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
Level 3: Defined
Level 4: Managed
Level 5: Optimizing
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 48
Douglas Hoffman
Process Areas
Organizational: Process Focus, Process Definition, Training, Process Performance, and Innovation and Deployment
Engineering Support
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
Slide 51
Douglas Hoffman
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
Level 3: Defined
Level 4: Quantitatively Managed Level 5: Optimizing
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 56
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
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
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
Quality Initiatives
Cross-Functional Collaboration Knowledge Management Motivation Techniques
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 64
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
Leader
Team member Recorder Timekeeper
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 67
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
Team Tools
Nominal Group Technique (NGT)
Multivoting
Brainstorming
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
Practice Delivery
Use Visual Aids
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 75
Douglas Hoffman
Slide 76
Interviewing Skills
Organize the Interview
Have a Plan Simple Questions Stay Focused Dont Threaten Ask Permission Avoid Ambiguity Avoid Manipulation
Stay In-Bounds
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 77
Active Listener
Douglas Hoffman
Slide 78
Ethical Conduct
Professional codes of ethics
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
SQE Professional
Societies Technical Associations Organizations
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 84
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
Planning
Software quality management systems documentation Customer requirements
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 90
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
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
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
Development Costs
User Concerns
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 99
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
Testability
Understandability
Capacity
Standards compliance
Maintainability
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 106
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
Behavior
Problem partitioning
Representing requirements
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 109
Quality
Use Changes Storage Maintenance Retention
* Records
Douglas Hoffman
Change Control
Data Availability Data Integrity Data Security
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 111
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
Douglas Hoffman
Slide 115
Douglas Hoffman
Slide 116
Tests
Assessments
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 117
Cost of Quality
Traditional Concepts Levels Locations
Douglas Hoffman
Slide 118
A key goal of the quality engineer is to help the company minimize its cost of quality.
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 119
Quality-Related Costs
Prevention Cost of preventing customer dissatisfaction, including errors or weaknesses in software, design, documentation, and support. Appraisal Cost of inspection (testing, reviews, etc.).
Internal Failure
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
Douglas Hoffman
Slide 129
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]
SEI (CMMI)
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 134
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
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:
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
Observations
Documents and records
Interviews
Patterns of information
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
Requirements management
Requirements engineering
Life cycles
Systems architecture
Douglas Hoffman
Slide 153
Set Milestones
Reduces Ambiguity Defines Roles Surfaces Issues
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 154
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
What information What functions What interfaces What design constraints What validation criteria
Development phase
How data is structured How system is architected How procedures work How programmed How tested
Related activities
Quality assurance Configuration management Project monitoring Measurement
Slide 156
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
Phases
Douglas Hoffman
Slide 158
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
Concept
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
Design Development
Unit Test
Douglas Hoffman
Slide 163
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
No Go
Customer Evaluation
OOD
Not in Library
Reuse Component
OK
Put in Library
Put in Use
Construct Prototype
Test
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
Evaluating
Reviewing Scheduling
Implementing
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 174
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
specifications
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 176
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
* ISO/IEC
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
Requirements Obstacles
User procedures
Current capabilities
Douglas Hoffman
Slide 182
Planned enhancements
Offline processes Rogue applications
Local policy
Industry standards Partnering agreements Regulations
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 185
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
Product Features
Importance of Needs Needs
CUSTOMER NEEDS COMPREHENSIVE LOW COST UP-TO-DATE EASILY AVAILABLE TEST QUESTIONS RATINGS 4 2 5 4 5 5 0 4 0 5
DESIGN FEATURES
COMPETITION COMPA RISON
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
Model
System data Functions Behaviors
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
Pr oc ess Ac tivate
Op er ator Com man ds Opera tor Settin gs Pr oe cess Rob o t Con tr ol s Rob o t Movem ent Reco rd Po si tio n Com man ds
Rob o t Co mman d fi l e
Douglas Hoffman
Slide 191
Data Dictionary
Represents data content of objects
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
Sh ip men t Order No. Sales Cl erk recei ves reco rd s o rd er Ord er # Title Auth or 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
Behavioral
Domain
Use-Case
Textual
Structured
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 198
Qualification requirements
Douglas Hoffman
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
Identify Structures
Identify Subjects Define Attributes Define Services
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 205
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
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
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
Douglas Hoffman
Slide 217
Development Tools
Management
Modeling
Design
Databases
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 218
Maintenance Processes
Steps
Defect report Impact analysis
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
Testing
Simulator Test case generator Test path generators
Other
CM Documentation Complexity assessment
Slide 224
Transformation tool
Douglas Hoffman
Project Management
General Knowledge, Conduct, and Ethics Software Quality Management Software Engineering Processes
Douglas Hoffman
Slide 226
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
Estimates
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 231
Scope Management
Estimation - Forecasting Definition Phase Customer Goals Contract Review
Project Initiation
Contract
Project Factors
Douglas Hoffman
Work to be done Risks Required resources Tasks Milestones Effort required Schedule
Copyright 1997-2004, SQM, LLC. Slide 234
Goal Setting
Goal Deployment
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 235
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
Slide 239
Douglas Hoffman
Slide 240
Milestones
Events
PERT Example
Task3 (5) Task6
(4) Task7 (4) Task2 (3) B Task5 (3) Task4 (4) D F
Task1 (2)
Start
Task9 (3) G
Task11 (6)
Task8 (4)
Douglas Hoffman
Slide 243
PERT/CPM
2 Task1 3 Task2 5 Task3 4 4 Task4 3 Task5 4 Task6 3 Task10 3 Task9 4 Task8
Task7
6
Task11
Douglas Hoffman
Slide 245
Douglas Hoffman
Slide 246
Add count of internal [logical] files (X10) Summed values adjusted by experience
Resource planning
Cost estimation
Cost budgeting
Cost Control
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
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
Oversee accuracy
Analyze data
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
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 Track Control Mitigate
Identify
Communicate
Track
Mitigate
Control
Communicat e
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 273
Uncertainty in Quantification
Product requirements
Variability in personal performance
Inaccuracies in measurements
Judgement variations
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
Risk identification
Transference: shift the consequence elsewhere Mitigation: reduce the likelihood or consequence
Acceptance: decision not to change
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 276
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
Real-time logic
Petri net models
Douglas Hoffman
Slide 282
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
Standard Deviation
Coefficient of Variation
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 290
Psychology of Metrics
Potential for problems
Results based
Clear objectives
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
effectiveness
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 293
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
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
General Software
Correctness Reliability Efficiency Integrity Security Usability Maintainability
* Factors
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
Blank field
Transfer data (prior project) Entry error Transfer data (this project) Impossible values
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 98 100 100
Count
38
Douglas Hoffman
%
Slide 312
Histogram
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
Defects
20 15 10 5 0 0 1 2 3 4 5 6
Complexity Index
Douglas Hoffman
Slide 315
Control Chart
20 15
UCL
# Failures
10 5
LCL
0 0 2 4 6
Time
Douglas Hoffman
Slide 316
Insufficient Preparation
Graphs not available
Poor Overview
No background
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
Merge
Extract Delay
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
Repeated Questioning
When was the problem found?
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
Slide 323
Affinity Diagrams
Exam Prep Example
Resources
CSQE Primer Literature Group study ASQ BOK Textbooks
Learn
CSQE class Watch video SQE Classes Tutor
Mentor
Self study
Preparation
Teach BOK Experience Start early Practice exams
Douglas Hoffman
Motivation
Bonus $ Motivate self Develop pride Improve work
Slide 324
Study intensively
Study subjects separately
Listen to CSQEs
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
A4
A5
Result RA5
Contingency
B4
Result RB4
Contingency
B1
B3 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
Douglas Hoffman
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
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
Defect Rate
Effectiveness Ratio
Trends
Technical Accomplishments
Resource Utilization
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 346
Entry criteria
Exit criteria Techniques and methods Participant roles
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 348
Inspection measures
Phase containment Data management Reporting
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 349
Douglas Hoffman
Types of Tests
Functional Performance Regression Load Worst case Perfective Exploratory Random-Input Certification Stress Usability Real Time Life* Collision* Security* Installation* Recovery*
* Not included in Primer
Slide 351
Douglas Hoffman
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 Fault-Error handling Equivalence class partitioning Boundary value analysis Cause effect graphing Error guessing
Simulation
I/O first Alpha/Beta testing Fault insertion
Douglas Hoffman
Customer defects
Slide 353
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 Copyright 1997-2004, SQM, LLC. 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-5 N-2 R-4 E-6 N-3 E-9 R-6 N-6 E-11 N-7 E-10 E-7 E-1 R-2 E-3 E-4 R-5 N-4 N-1
E-2
E(G) = 11
V(G) = R(G) = 6 V(G) = E - N + 2 = 11 - 7 + 2 = 6 E-8
R-3
N-5
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
Configuration management Library/repository processes Defect tracking and library tools
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
Configurations
Processes
Tool integration
Builds
Change control
Team support Library/Repository Security/Protection
Douglas Hoffman
Releases
Customization GUI
Slide 378
Configuration Identification
Douglas Hoffman
Configuration items Structure Identification of items Baselines Accessibility Traceability Software builds Methods
Copyright 1997-2004, SQM, LLC. Slide 379
Technical factors
Hierarchy External objects Internal objects Environment and Tools
Douglas Hoffman Copyright 1997-2004, SQM, LLC. Slide 380
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
Douglas Hoffman
Slide 389
Douglas Hoffman
Slide 390