Chapter-2-all
Chapter-2-all
Plan-driven processes are processes where all of the process activities are planned
in advance and progress is measured against this plan. In agile processes, planning
is incremental and it is easier to change the process to reflect changing customer
requirements. In practice, most practical processes include elements of both plan-
driven and agile approaches.
Software process models
The waterfall models
Plan-driven model. Separate and distinct phases of specification, software
design, implementation, testing, and maintenance.
Incremental development
Specification, development and validation are interleaved. The system is
developed as a series of versions (increments), with each version adding
functionality to the previous version. May be plan-driven or agile.
Integration and configuration
Based on the existence of a significant number of reusable
components/systems. The system development process focuses on
integrating these components into a system rather than developing them
from scratch. May be plan-driven or agile.
In practice, most large systems are developed using a process that incorporates
elements from all of these models.
The waterfall model
This approach is based on systematic reuse where systems are integrated from
existing components or COTS (Commercial-off-the-shelf) systems. Process stages
include:
• Component analysis;
• Requirement’s modification;
• System design with reuse;
• Development and integration.
Reuse is now the standard approach for building many types of business system.
Types of software components:
The activities of design and implementation are closely related and may be
interleaved.
Design activities include:
Software validation
Verification and validation (V & V) are intended to show that a system
conforms to its specification and meets the requirements of the system
customer.
• Validation: are we building the right product (what the customer wants)?
• Verification: are we building the product, right?
V & V involves checking and review processes and system testing. System
testing involves executing the system with test cases that are derived from
the specification of the real data to be processed by the system.
Testing is the most commonly used V & V activity and includes the
following stages:
Software evolution
Software is inherently flexible and can change. As requirements change
through changing business circumstances, the software that supports the
business must also evolve and change. Although there has been a
demarcation between development and evolution (maintenance) this is
increasingly irrelevant as fewer and fewer systems are completely new.
Coping with change
Change is inevitable in all large software projects. Business changes lead to new
and changed system requirements new technologies open up new possibilities for
improving implementations. Changing platforms require application changes.
Change leads to rework so the costs of change include both rework (e.g., re-
analyzing requirements) as well as the costs of implementing new functionality.
Two strategies to reduce the costs of rework:
Change avoidance
The software process includes activities that can anticipate possible changes
before significant rework is required. For example, a prototype system may
be developed to show some key features of the system to customers.
Change tolerance
The process is designed so that changes can be accommodated at relatively
low cost. This normally involves some form of incremental development.
Proposed changes may be implemented in increments that have not yet been
developed. If this is impossible, then only a single increment (a small part of
the system) may have been altered to incorporate the change.
Software prototyping
A prototype is an initial version of a system used to demonstrate concepts and try
out design options. A prototype can be used in:
• The requirements engineering process to help with requirements
elicitation and validation;
• In design processes to explore options and develop a UI design;
• In the testing process to run back-to-back tests.
Benefits of prototyping:
• Prototype should focus on areas of the product that are not well-
understood;
• Error checking and recovery may not be included in the prototype;
• Focus on functional rather than non-functional requirements such as
reliability and security.
Prototypes should be discarded after development as they are not a good basis for
a production system:
Incremental development/delivery
Rather than deliver the system as a single delivery, the development and delivery is
broken down into increments with each increment delivering part of the required
functionality. User requirements are prioritized and the highest priority
requirements are included in early increments. Once the development of an
increment is started, the requirements are frozen though requirements for later
increments can continue to evolve.
Advantages of incremental delivery:
• Customer value can be delivered with each increment so system
functionality is available earlier.
• Early increments act as a prototype to help elicit requirements for later
increments.
• Lower risk of overall project failure.
• The highest priority system services tend to receive the most testing.
• Most systems require a set of basic facilities that are used by different
parts of the system. As requirements are not defined in detail until an
increment is to be implemented, it can be hard to identify common
facilities that are needed by all increments.
• The essence of iterative processes is that the specification is developed in
conjunction with the software. However, this conflicts with the
procurement model of many organizations, where the complete system
specification is part of the system development contract.
Process improvement
Many software companies have turned to software process improvement as a way
of enhancing the quality of their software, reducing costs or accelerating their
development processes. Process improvement means understanding existing
processes and changing these processes to increase product quality and/or reduce
costs and development time.
Process maturity approach
Focuses on improving process and project management and introducing
good software engineering practice. The level of process maturity reflects
the extent to which good technical and management practice has been
adopted in organizational software development processes.
Agile approach
Focuses on iterative development and the reduction of overheads in the
software process. The primary characteristics of agile methods are rapid
delivery of functionality and responsiveness to changing customer
requirements.
Process improvement activities form a continuous cycle with a feedback loop:
Process measurement