The United States Government, as one of the largest developers and users of software in the world, has always been very concerned with improving software processes. As a result, the Software Engineering Institute (SEI) was created. The Institute is a federally funded research and development center which has been run under contract by Carnegie Mellon University since 1984. The SEI is staffed by software professionals from government, industry, and academia. The SEI's web site, at http://www.sei.cmu.edu, contains information about all the activities of the institute. One of the most important contributions to software development to come out of the SEI is its series of capability maturity models, which describe how to measure the maturity of software development organizations. The SEI has defined six capability maturity models:
SW-CMM: A capability maturity model for measuring software development organizations.
P-CMM: The people capability maturity model, for measuring an organization's maturity in managing its people.
SE-CMM: A capability maturity model for measuring system engineering organizations.
SA-CMM: A capability maturity model for how an organization acquires software.
IPD-CMM: A capability maturity model for measuring an organization's ability to perform integrated product development.
CMMI: The capability maturity model integration.
The CMMI is the most recent focus of the SEI's activities and currently exists in draft form. This project's objective is to develop a capability maturity model integrated product suite that provides industry and government with a set of integrated products to support process and product improvement. This project will serve to preserve government and industry investment in process improvement and enhance the use of multiple models. The project's output will consist of integrated models, assessment methods , and training materials.
The first capability maturity model developed by the SEI was the capability maturity model for software, also known as the SW-CMM. It was first developed in 1987 by Watts Humphrey and William Sweet. The SW-CMM defines five levels of maturity commonly found in software development organizations and describes processes required to increase maturity at each level. While concepts such as network computing and the Internet were unknown then, the SW-CMM remains a benchmark by which software development organizations are judged. The Software Engineering Institute has updated the model since then, with the latest version being the SW-CMM version 2 draft C, released in October of 1997. The basics of the model, however, have not changed. Now more than ever, as development organizations are forced to work to schedules on "Internet time," process maturity remains critical to software development organizations.
The capability maturity model for software categorizes software development organizations into one of five levels according to the maturity of their processes. A brief description of each of the five maturity levels is given below along with key process areas for each level. Within each process area, a few representative traits of organizations performing at this level are listed. The complete SW-CMM, of course, includes many more details than are possible to cover in this chapter.
At this level, software development is ad hoc and no well-defined processes are followed. As such, organization focus is typically placed on those key developers, or "heroes," who happen to fix the software bug of the day. Organizations at this level of maturity are not likely to be successful at delivering anything but the most simple software projects. An organization operating at this level might expect to take six to nine months to move to level two, assuming a proper management team was in place with a focused effort to improve the organization.
At this level, there is a focus on project management to bring repeatability to the software development processes. The key process areas expected to be mastered by organizations at this level are listed below.
Requirements Management: software requirements are developed prior to application design or coding; at each step in the software design process, requirements are mapped to software functions to assure all requirements are being met; software testing includes requirements tracability matrices.
Software Project Planning: software projects are scheduled and budgeted accurately; software engineers of the right skill mix and experience are assigned to each project.
Software Project Control: software projects are tracked against their plan; proper management oversight is used to identify project risks instead of waiting until delivery dates are missed.
Software Acquisition Management: any third party software acquired for use on the project is properly evaluated for training, performance, usability or other limitations it may impose on the project.
Software Quality Assurance: each developer is held accountable for software quality; quality metrics have been established and quality is tracked against these metrics.
Configuration Management: a software revision control system is used by all developers for all project code; software baselines are properly established and tracked.
Having these processes and their management in place will typically result in organizations who can deliver small to mid- sized projects in a repeatable fashion. Organizations at this level who do not move toward level three often fail when they undertake larger projects or fail to meet cost, quality, and schedule constraints that become imposed on them. Level two software groups are fairly common to find among the IT organizations of large corporations where software development management has been made a priority. Moving to the next level, however, requires a concentrated effort in software process development and might take anywhere from 12 to 24 months for a typical level three organization.
Organizations at level three have moved on from simple project management of software development to focus on the underlying engineering processes. The key process areas expected to be mastered by organizations at this level are listed below.
Organization Process Focus: a process focus is ingrained into the culture of the development organization.
Organization Process Definition: the organization translates its process focus into the clear definition of processes for all aspects of the software development process from initial requirements definition to production acceptance.
Organization Training Program: the organization not only trains all software engineers on the software technologies being used, but also on all processes.
Integrated Software Management: organizations have implemented the categorization, indexing, search, and retrieval of software components to foster reuse of software as much as possible
Software Product Engineering: individual software products are not simply developed in isolation, but are part of an overall software product engineering process that defines a business-wide applications architecture.
Project Interface Coordination: individual software projects are not defined in isolation.
Peer Reviews: peer reviews of software are accomplished at various places during the software life cycle, after design is complete, during coding, and prior to start of unit test.
Achieving level three of the capability maturity model is the goal of most large software development organizations. Levels four and five go on to define additional criteria that very few organizations are able to meet.
At this level, the entire software development process is not only defined but is managed in a proactive fashion. The key process areas expected to be mastered by organizations at this level are listed below.
Organization Software Asset Commonality: besides enabling reuse through software management, reuse is built into the design process by following common design standards, interfaces, programming guidelines, and other standards.
Organization Process Performance: the organization has established metrics for evaluating the performance of its software processes.
Statistical Process Management: statistical methods are used and managed in the development, implementation, and tracking of process use and effectiveness.
Organizations at level four thus not only manage the quality of their software products, but can manage the quality of their software processes and understand the second order affect of process quality on product quality.
This is the "Holy Grail" of software development. In fact, very few large organizations have ever achieved a level five score in SEI evaluations. To do so requires a demonstration of continuous process improvement in software development. The key process areas expected to be mastered by organizations at this level are listed below.
Defect Prevention: the organization not only focuses on quality assurance, that is, finding and correcting defects, but on defect prevention.
Organization Process and Technology Innovation: the organization continually innovates both in new processes that are developed and in new technology that is applied to the software development process.
Organization Improvement Deployment: continuous process improvement in software development is not just a buzzword but is planned, executed on, and tracked against the plan with ongoing feedback loops .
Certainly many organizations have achieved some of these criteria on some projects, however achievement of level five requires universal adherence by all software development groups and on every project.
The software processes of the SW-CMM can be applied across the entire software life cycle, from requirements gathering through final testing. The rest of this chapter provides a brief description of different stages of the software development process.