The Cleanroom Strategy
26.1.1 The Cleanroom Strategy
The cleanroom approach makes use of a specialized version of the incremental soft- ware model (Chapter 2). A “pipeline of software increments” [LIN94] is developed by small independent software engineering teams. As each increment is certified, it is integrated in the whole. Hence, functionality of the system grows with time.
The sequence of cleanroom tasks for each increment is illustrated in Figure 26.1. Overall system or product requirements are developed using the system engineering methods discussed in Chapter 10. Once functionality has been assigned to the soft- ware element of the system, the pipeline of cleanroom increments is initiated. The following tasks occur:
? Increment planning. A project plan that adopts the incremental strategy is
What are
the major
developed. The functionality of each increment, its projected size, and a
tasks conducted
cleanroom development schedule are created. Special care must be taken to
as part of cleanroom
ensure that certified increments will be integrated in a timely manner.
software
Requirements gathering. Using techniques similar to those introduced in
engineering?
Chapter 11, a more-detailed description of customer-level requirements (for each increment) is developed.
Box structure specification. A specification method that makes use of box structures [HEV93] is used to describe the functional specification. Conforming
TP Increment 2
TP Increment 3
SE — system engineering
CG — code generation
RG — requirements gathering
CI — code inspection
SUT — statistical use testing The cleanroom
F I G U R E 26.1
BSS — box structure specification
C — certification process model
FD — formal design
CV — correctness verification
TP — test planning TP — test planning
WebRef
at each level of refinement.” An excellent source of
Formal design. Using the box structure approach, cleanroom design is a information and resources
for cleanroom software natural and seamless extension of specification. Although it is possible to engineering can be found
make a clear distinction between the two activities, specifications (called at
black boxes) are iteratively refined (within an increment) to become analo-
www.cleansoft.com
gous to architectural and component-level designs (called state boxes and clear boxes, respectively).
Correctness verification. The cleanroom team conducts a series of rigor- ous correctness verification activities on the design and then the code. Verifi- cation (Sections 26.3 and 26.4) begins with the highest-level box structure (specification) and moves toward design detail and code. The first level of
“Quality is not an act. correctness verification occurs by applying a set of “correctness questions” It is a habit.”
[LIN88]. If these do not demonstrate that the specification is correct, more
Aristotle
formal (mathematical) methods for verification are used. Code generation, inspection, and verification. The box structure specifi-
cations, represented in a specialized language, are translated into the appropriate programming language. Standard walkthrough or inspection techniques (Chapter 8) are then used to ensure semantic conformance of the code and box structures and syntactic correctness of the code. Then correct- ness verification is conducted for the source code.
Statistical test planning. The projected usage of the software is analyzed and
a suite of test cases that exercise a “probability distribution” of usage are planned and designed (Section 26.4). Referring to Figure 26.1, this cleanroom activity is
Cleanroom emphasizes conducted in parallel with specification, verification, and code generation. tests that exercise the way the software is
Statistical use testing. Recalling that exhaustive testing of computer soft- really used. Use-cases
ware is impossible (Chapter 17), it is always necessary to design a finite num- provide excellent input
ber of test cases. Statistical use techniques [POO88] execute a series of tests to the statistical test
derived from a statistical sample (the probability distribution noted earlier) of planning process.
all possible program executions by all users from a targeted population (Sec- tion 26.4).
Certification. Once verification, inspection, and usage testing have been completed (and all errors are corrected), the increment is certified as ready for integration.
Like other software process models discussed elsewhere in this book, the cleanroom process relies heavily on the need to produce high-quality analysis and design models. As we will see later in this chapter, box structure notation is simply another way for a software engineer to represent requirements and design. The real distinction of the cleanroom approach is that formal verification is applied to engineering models.
Parts
» The Concurrent Development Model
» SUMMARY Software engineering is a discipline that integrates process, methods, and tools for
» PEOPLE In a study published by the IEEE [CUR88], the engineering vice presidents of three
» THE PROCESS The generic phases that characterize the software process—definition, development,
» THE PROJECT In order to manage a successful software project, we must understand what can go
» METRICS IN THE PROCESS AND PROJECT DOMAINS
» Extended Function Point Metrics
» METRICS FOR SOFTWARE QUALITY
» INTEGRATING METRICS WITHIN THE SOFTWARE PROCESS
» METRICS FOR SMALL ORGANIZATIONS
» ESTABLISHING A SOFTWARE METRICS PROGRAM
» Obtaining Information Necessary for Scope
» An Example of LOC-Based Estimation
» QUALITY CONCEPTS 1 It has been said that no two snowflakes are alike. Certainly when we watch snow
» SUMMARY Software quality assurance is an umbrella activity that is applied at each step in the
» R diagram 1.4 <part-of> data model; data model <part-of> design specification;
» SYSTEM MODELING Every computer-based system can be modeled as an information transform using an
» Facilitated Application Specification Techniques
» Data Objects, Attributes, and Relationships
» Entity/Relationship Diagrams
» Hatley and Pirbhai Extensions
» Creating an Entity/Relationship Diagram
» SUMMARY Design is the technical kernel of software engineering. During design, progressive
» Data Modeling, Data Structures, Databases, and the Data Warehouse
» Data Design at the Component Level
» A Brief Taxonomy of Styles and Patterns
» Quantitative Guidance for Architectural Design
» Isolate the transform center by specifying incoming and outgoing
» SUMMARY Software architecture provides a holistic view of the system to be built. It depicts the
» The User Interface Design Process
» Defining Interface Objects and Actions
» D E S I G N E VA L U AT I O N
» Testing for Real-Time Systems
» Organizing for Software Testing
» Criteria for Completion of Testing
» The Transition to a Quantitative View
» The Attributes of Effective Software Metrics
» Architectural Design Metrics
» Component-Level Design Metrics
» SUMMARY Software metrics provide a quantitative way to assess the quality of internal product
» Encapsulation, Inheritance, and Polymorphism
» Identifying Classes and Objects
» The Common Process Framework for OO
» OO Project Metrics and Estimation
» Event Identification with Use-Cases
» SUMMARY Object-oriented analysis methods enable a software engineer to model a problem by
» Partitioning the Analysis Model
» Designing Algorithms and Data Structures
» Program Components and Interfaces
» SUMMARY Object-oriented design translates the OOA model of the real world into an
» Testing Surface Structure and Deep Structure
» Deficiencies of Less Formal Approaches 1
» What Makes Cleanroom Different?
» Design Refinement and Verification
» SUMMARY Cleanroom software engineering is a formal approach to software development that
» Structural Modeling and Structure Points
» Describing Reusable Components
» SUMMARY Component-based software engineering offers inherent benefits in software quality,
» Guidelines for Distributing Application Subsystems
» Middleware and Object Request Broker Architectures
» An Overview of a Design Approach
» Consider expert Web developer will create a complete design, but time and cost can be appropriate
» A Software Reengineering Process Model
» Reverse Engineering to Understand Data
» Forward Engineering for Client/Server Architectures
» SUMMARY Reengineering occurs at two different levels of abstraction. At the business level,
Show more