Lecture 3– Software Processes
30/10/2014 Chapter 2 Software Processes 1
The software process
A structured set of activities required to develop a
software system.
Many different software processes but all involve:
Specification – defining what the system should do;
Design and implementation – defining the organization of the
system and implementing the system;
Validation – checking that it does what the customer wants;
Evolution – changing the system in response to changing
customer needs.
A software process model is an abstract representation
of a process. It presents a description of a process from
some particular perspective.
30/10/2014 Chapter 2 Software Processes 2
Software process models
30/10/2014 Chapter 2 Software Processes 3
Software process models
The waterfall model
Plan-driven model. Separate and distinct phases of specification
and development.
Incremental development
Specification, development and validation are interleaved. May
be plan-driven or agile.
Integration and configuration
The system is assembled from existing configurable
components. May be plan-driven or agile.
In practice, most large systems are developed using a
process that incorporates elements from all of these
models.
30/10/2014 Chapter 2 Software Processes 4
The waterfall model
30/10/2014 Chapter 2 Software Processes 5
Waterfall model phases
There are separate identified phases in the waterfall
model:
Requirements analysis and definition
System and software design
Implementation and unit testing
Integration and system testing
Operation and maintenance
The main drawback of the waterfall model is the difficulty
of accommodating change after the process is underway.
In principle, a phase has to be complete before moving
onto the next phase.
30/10/2014 Chapter 2 Software Processes 6
Waterfall model problems
Inflexible partitioning of the project into distinct stages
makes it difficult to respond to changing customer
requirements.
Therefore, this model is only appropriate when the requirements
are well-understood and changes will be fairly limited during the
design process.
Few business systems have stable requirements.
The waterfall model is mostly used for large systems
engineering projects where a system is developed at
several sites.
In those circumstances, the plan-driven nature of the waterfall
model helps coordinate the work.
30/10/2014 Chapter 2 Software Processes 7
The V-Model
In software development, the V-model[2]
represents a development process that
may be considered an extension of the
waterfall model, and is an example of the
more general V-model. Instead of moving
down in a linear way, the process steps are
bent upwards after the coding phase, to
form the typical V shape. The V-Model
demonstrates the relationships between
each phase of the development life cycle
and its associated phase of testing.
8
Evolutionary Models: The Spiral
The spiral model is a planning
estimation
risk-driven
scheduling
software development risk analysis
process
model. Based on the communication
unique risk patterns of
a given project, the modeling
spiral model guides a analysis
design
team to adopt elements
of one or more process start
models, such as
incremental, waterfall,
or
deployment
evolutionary prototypin construction
g delivery
code
feedback
. test
9
Incremental model
The incremental build model is a method of
software development where the product is designed,
implemented and tested incrementally (a little more is
added each time) until the product is finished. It involves
both development and maintenance. The product is
defined as finished when it satisfies all of its
requirements. This model combines the elements of the
waterfall model with the iterative philosophy of
prototyping.
30/10/2014 Chapter 2 Software Processes 10
Incremental development
30/10/2014 Chapter 2 Software Processes 11
Incremental development benefits
The cost of accommodating changing customer
requirements is reduced.
The amount of analysis and documentation that has to be
redone is much less than is required with the waterfall model.
It is easier to get customer feedback on the development
work that has been done.
Customers can comment on demonstrations of the software and
see how much has been implemented.
More rapid delivery and deployment of useful software to
the customer is possible.
Customers are able to use and gain value from the software
earlier than is possible with a waterfall process.
30/10/2014 Chapter 2 Software Processes 12
Incremental 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 prioritised 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.
30/10/2014 Chapter 2 Software Processes 13
Incremental development and delivery
Incremental development
Develop the system in increments and evaluate each increment
before proceeding to the development of the next increment;
Normal approach used in agile methods;
Evaluation done by user/customer proxy.
Incremental delivery
Deploy an increment for use by end-users;
More realistic evaluation about practical use of software;
Difficult to implement for replacement systems as increments
have less functionality than the system being replaced.
30/10/2014 Chapter 2 Software Processes 14
Incremental delivery
30/10/2014 Chapter 2 Software Processes 15
Incremental delivery advantages
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.
30/10/2014 Chapter 2 Software Processes 16
Incremental delivery problems
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.
30/10/2014 Chapter 2 Software Processes 17
Integration and configuration
Based on software reuse where systems are integrated
from existing components or application systems
(sometimes called COTS -Commercial-off-the-shelf)
systems).
Reused elements may be configured to adapt their
behaviour and functionality to a user’s requirements
Reuse is now the standard approach for building many
types of business system
Reuse covered in more depth in Chapter 15.
30/10/2014 Chapter 2 Software Processes 18
Reuse-oriented software engineering
30/10/2014 Chapter 2 Software Processes 19
Advantages and disadvantages
Reduced costs and risks as less software is developed
from scratch
Faster delivery and deployment of system
But requirements compromises are inevitable so system
may not meet real needs of users
Loss of control over evolution of reused system elements
30/10/2014 Chapter 2 Software Processes 20
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.
30/10/2014 Chapter 2 Software Processes 21
Benefits of prototyping
Improved system usability.
A closer match to users’ real needs.
Improved design quality.
Improved maintainability.
Reduced development effort.
30/10/2014 Chapter 2 Software Processes 22
The process of prototype development
30/10/2014 Chapter 2 Software Processes 23
Prototype development
May be based on rapid prototyping languages or tools
May involve leaving out functionality
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
30/10/2014 Chapter 2 Software Processes 24
Throw-away prototypes
Prototypes should be discarded after development as
they are not a good basis for a production system:
It may be impossible to tune the system to meet non-functional
requirements;
Prototypes are normally undocumented;
The prototype structure is usually degraded through rapid
change;
The prototype probably will not meet normal organisational
quality standards.
30/10/2014 Chapter 2 Software Processes 25