SlideShare a Scribd company logo
1 of 58
Chapter 2 – Software Processes
Chapter 2 Software Processes 1
30/10/2014
Topics covered
ī‚˛ Software process models
ī‚˛ Process activities
ī‚˛ Coping with change
ī‚˛ Process improvement
Chapter 2 Software Processes 2
30/10/2014
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.
Chapter 2 Software Processes 3
30/10/2014
Software process descriptions
ī‚˛ When we describe and discuss processes, we usually
talk about the activities in these processes such as
specifying a data model, designing a user interface, etc.
and the ordering of these activities.
ī‚˛ Process descriptions may also include:
ī‚§ Products, which are the outcomes of a process activity;
ī‚§ Roles, which reflect the responsibilities of the people involved in
the process;
ī‚§ Pre- and post-conditions, which are statements that are true
before and after a process activity has been enacted or a
product produced.
Chapter 2 Software Processes 4
30/10/2014
Plan-driven and agile processes
ī‚˛ 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.
ī‚˛ There are no right or wrong software processes.
Chapter 2 Software Processes 5
30/10/2014
Software process models
Chapter 2 Software Processes 6
30/10/2014
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.
Chapter 2 Software Processes 7
30/10/2014
The waterfall model
Chapter 2 Software Processes 8
30/10/2014
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.
Chapter 2 Software Processes 9
30/10/2014
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.
Chapter 2 Software Processes 10
30/10/2014
Incremental development
Chapter 2 Software Processes 11
30/10/2014
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.
Chapter 2 Software Processes 12
30/10/2014
Incremental development problems
ī‚˛ The process is not visible.
ī‚§ Managers need regular deliverables to measure progress. If
systems are developed quickly, it is not cost-effective to produce
documents that reflect every version of the system.
ī‚˛ System structure tends to degrade as new increments
are added.
ī‚§ Unless time and money is spent on refactoring to improve the
software, regular change tends to corrupt its structure.
Incorporating further software changes becomes increasingly
difficult and costly.
Chapter 2 Software Processes 13
30/10/2014
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.
Chapter 2 Software Processes 14
30/10/2014
Types of reusable software
ī‚˛ Stand-alone application systems (sometimes called
COTS) that are configured for use in a particular
environment.
ī‚˛ Collections of objects that are developed as a package
to be integrated with a component framework such as
.NET or J2EE.
ī‚˛ Web services that are developed according to service
standards and which are available for remote invocation.
Chapter 2 Software Processes 15
30/10/2014
Reuse-oriented software engineering
Chapter 2 Software Processes 16
30/10/2014
Key process stages
ī‚˛ Requirements specification
ī‚˛ Software discovery and evaluation
ī‚˛ Requirements refinement
ī‚˛ Application system configuration
ī‚˛ Component adaptation and integration
Chapter 2 Software Processes 17
30/10/2014
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
Chapter 2 Software Processes 18
30/10/2014
Process activities
Chapter 2 Software Processes 19
30/10/2014
Process activities
ī‚˛ Real software processes are inter-leaved sequences of
technical, collaborative and managerial activities with the
overall goal of specifying, designing, implementing and
testing a software system.
ī‚˛ The four basic process activities of specification,
development, validation and evolution are organized
differently in different development processes.
ī‚˛ For example, in the waterfall model, they are organized
in sequence, whereas in incremental development they
are interleaved.
Chapter 2 Software Processes 20
30/10/2014
The requirements engineering process
Chapter 2 Software Processes 21
30/10/2014
Software specification
ī‚˛ The process of establishing what services are required
and the constraints on the system’s operation and
development.
ī‚˛ Requirements engineering process
ī‚§ Requirements elicitation and analysis
â€ĸ What do the system stakeholders require or expect from the system?
ī‚§ Requirements specification
â€ĸ Defining the requirements in detail
ī‚§ Requirements validation
â€ĸ Checking the validity of the requirements
Chapter 2 Software Processes 22
30/10/2014
Software design and implementation
ī‚˛ The process of converting the system specification into
an executable system.
ī‚˛ Software design
ī‚§ Design a software structure that realises the specification;
ī‚˛ Implementation
ī‚§ Translate this structure into an executable program;
ī‚˛ The activities of design and implementation are closely
related and may be inter-leaved.
Chapter 2 Software Processes 23
30/10/2014
A general model of the design process
Chapter 2 Software Processes 24
30/10/2014
Design activities
ī‚˛ Architectural design, where you identify the overall
structure of the system, the principal components
(subsystems or modules), their relationships and how
they are distributed.
ī‚˛ Database design, where you design the system data
structures and how these are to be represented in a
database.
ī‚˛ Interface design, where you define the interfaces
between system components.
ī‚˛ Component selection and design, where you search for
reusable components. If unavailable, you design how it
will operate.
Chapter 2 Software Processes 25
30/10/2014
System implementation
ī‚˛ The software is implemented either by developing a
program or programs or by configuring an application
system.
ī‚˛ Design and implementation are interleaved activities for
most types of software system.
ī‚˛ Programming is an individual activity with no standard
process.
ī‚˛ Debugging is the activity of finding program faults and
correcting these faults.
Chapter 2 Software Processes 26
30/10/2014
Software validation
ī‚˛ Verification and validation (V & V) is intended to show
that a system conforms to its specification and meets the
requirements of the system customer.
ī‚˛ 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.
Chapter 2 Software Processes 27
30/10/2014
Stages of testing
Chapter 2 Software Processes 28
30/10/2014
Testing stages
ī‚˛ Component testing
ī‚§ Individual components are tested independently;
ī‚§ Components may be functions or objects or coherent groupings
of these entities.
ī‚˛ System testing
ī‚§ Testing of the system as a whole. Testing of emergent properties
is particularly important.
ī‚˛ Customer testing
ī‚§ Testing with customer data to check that the system meets the
customer’s needs.
Chapter 2 Software Processes 29
30/10/2014
Testing phases in a plan-driven software
process (V-model)
Chapter 2 Software Processes 30
30/10/2014
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.
Chapter 2 Software Processes 31
30/10/2014
System evolution
Chapter 2 Software Processes 32
30/10/2014
Coping with change
Chapter 2 Software Processes 33
30/10/2014
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-analysing requirements) as well as
the costs of implementing new functionality
Chapter 2 Software Processes 34
30/10/2014
Reducing the costs of rework
ī‚˛ Change anticipation, where 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, where 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 be altered to
incorporate the change.
Chapter 2 Software Processes 35
30/10/2014
Coping with changing requirements
ī‚˛ System prototyping, where a version of the system or
part of the system is developed quickly to check the
customer’s requirements and the feasibility of design
decisions. This approach supports change anticipation.
ī‚˛ Incremental delivery, where system increments are
delivered to the customer for comment and
experimentation. This supports both change avoidance
and change tolerance.
Chapter 2 Software Processes 36
30/10/2014
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.
Chapter 2 Software Processes 37
30/10/2014
Benefits of prototyping
ī‚˛ Improved system usability.
ī‚˛ A closer match to users’ real needs.
ī‚˛ Improved design quality.
ī‚˛ Improved maintainability.
ī‚˛ Reduced development effort.
Chapter 2 Software Processes 38
30/10/2014
The process of prototype development
Chapter 2 Software Processes 39
30/10/2014
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
Chapter 2 Software Processes 40
30/10/2014
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.
Chapter 2 Software Processes 41
30/10/2014
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.
Chapter 2 Software Processes 42
30/10/2014
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.
Chapter 2 Software Processes 43
30/10/2014
Incremental delivery
Chapter 2 Software Processes 44
30/10/2014
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.
Chapter 2 Software Processes 45
30/10/2014
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.
Chapter 2 Software Processes 46
30/10/2014
Process improvement
Chapter 2 Software Processes 47
30/10/2014
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.
Chapter 2 Software Processes 48
30/10/2014
Approaches to improvement
ī‚˛ The process maturity approach, which 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.
ī‚˛ The agile approach, which 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.
Chapter 2 Software Processes 49
30/10/2014
The process improvement cycle
Chapter 2 Software Processes 50
30/10/2014
Process improvement activities
ī‚˛ Process measurement
ī‚§ You measure one or more attributes of the software process or
product. These measurements forms a baseline that helps you
decide if process improvements have been effective.
ī‚˛ Process analysis
ī‚§ The current process is assessed, and process weaknesses and
bottlenecks are identified. Process models (sometimes called
process maps) that describe the process may be developed.
ī‚˛ Process change
ī‚§ Process changes are proposed to address some of the identified
process weaknesses. These are introduced and the cycle
resumes to collect data about the effectiveness of the changes.
Chapter 2 Software Processes 51
30/10/2014
Process measurement
ī‚˛ Wherever possible, quantitative process data
should be collected
ī‚§ However, where organisations do not have clearly defined
process standards this is very difficult as you don’t know what to
measure. A process may have to be defined before any
measurement is possible.
ī‚˛ Process measurements should be used to
assess process improvements
ī‚§ But this does not mean that measurements should drive the
improvements. The improvement driver should be the
organizational objectives.
Chapter 2 Software Processes 52
30/10/2014
Process metrics
ī‚˛ Time taken for process activities to be
completed
ī‚§ E.g. Calendar time or effort to complete an activity or process.
ī‚˛ Resources required for processes or activities
ī‚§ E.g. Total effort in person-days.
ī‚˛ Number of occurrences of a particular event
ī‚§ E.g. Number of defects discovered.
Chapter 2 Software Processes 53
30/10/2014
Capability maturity levels
Chapter 2 Software Processes 54
30/10/2014
The SEI capability maturity model
ī‚˛ Initial
ī‚§ Essentially uncontrolled
ī‚˛ Repeatable
ī‚§ Product management procedures defined and used
ī‚˛ Defined
ī‚§ Process management procedures and strategies defined
and used
ī‚˛ Managed
ī‚§ Quality management strategies defined and used
ī‚˛ Optimising
ī‚§ Process improvement strategies defined and used
Chapter 2 Software Processes 55
30/10/2014
Key points
ī‚˛ Software processes are the activities involved in
producing a software system. Software process models
are abstract representations of these processes.
ī‚˛ General process models describe the organization of
software processes.
ī‚§ Examples of these general models include the ‘waterfall’ model,
incremental development, and reuse-oriented development.
ī‚˛ Requirements engineering is the process of developing a
software specification.
Chapter 2 Software Processes 56
30/10/2014
Key points
ī‚˛ Design and implementation processes are concerned
with transforming a requirements specification into an
executable software system.
ī‚˛ Software validation is the process of checking that the
system conforms to its specification and that it meets the
real needs of the users of the system.
ī‚˛ Software evolution takes place when you change
existing software systems to meet new requirements.
The software must evolve to remain useful.
ī‚˛ Processes should include activities such as prototyping
and incremental delivery to cope with change.
Chapter 2 Software Processes 57
30/10/2014
Key points
ī‚˛ Processes may be structured for iterative development
and delivery so that changes may be made without
disrupting the system as a whole.
ī‚˛ The principal approaches to process improvement are
agile approaches, geared to reducing process
overheads, and maturity-based approaches based on
better process management and the use of good
software engineering practice.
ī‚˛ The SEI process maturity framework identifies maturity
levels that essentially correspond to the use of good
software engineering practice.
Chapter 2 Software Processes 58
30/10/2014

More Related Content

What's hot (20)

Ch3 - Agile SW Dev
Ch3 - Agile SW DevCh3 - Agile SW Dev
Ch3 - Agile SW Dev
 
Ch11 reliability engineering
Ch11 reliability engineeringCh11 reliability engineering
Ch11 reliability engineering
 
Ch2-Software Engineering 9
Ch2-Software Engineering 9Ch2-Software Engineering 9
Ch2-Software Engineering 9
 
Ch25 configuration management
Ch25 configuration managementCh25 configuration management
Ch25 configuration management
 
Ch4 req eng
Ch4 req engCh4 req eng
Ch4 req eng
 
Ch9-Software Engineering 9
Ch9-Software Engineering 9Ch9-Software Engineering 9
Ch9-Software Engineering 9
 
Ch7 implementation
Ch7 implementationCh7 implementation
Ch7 implementation
 
Ch22 project management
Ch22 project managementCh22 project management
Ch22 project management
 
Ian Sommerville, Software Engineering, 9th Edition Ch2
Ian Sommerville,  Software Engineering, 9th Edition Ch2Ian Sommerville,  Software Engineering, 9th Edition Ch2
Ian Sommerville, Software Engineering, 9th Edition Ch2
 
Ch8.testing
Ch8.testingCh8.testing
Ch8.testing
 
Ch1 introduction
Ch1 introductionCh1 introduction
Ch1 introduction
 
Ch10 dependable systems
Ch10 dependable systemsCh10 dependable systems
Ch10 dependable systems
 
Ch7 - Implementation
Ch7 - ImplementationCh7 - Implementation
Ch7 - Implementation
 
Ch18 - Service Oriented Software Engineering
Ch18 - Service Oriented Software EngineeringCh18 - Service Oriented Software Engineering
Ch18 - Service Oriented Software Engineering
 
Ch15 software reuse
Ch15 software reuseCh15 software reuse
Ch15 software reuse
 
Ch9 - Evolution
Ch9 - EvolutionCh9 - Evolution
Ch9 - Evolution
 
Ch6 - Architectural Design
Ch6 - Architectural DesignCh6 - Architectural Design
Ch6 - Architectural Design
 
Ch5 - System Modeling
Ch5 - System ModelingCh5 - System Modeling
Ch5 - System Modeling
 
Ch23 project planning
Ch23 project planningCh23 project planning
Ch23 project planning
 
Ch22 - Project Management
Ch22 - Project ManagementCh22 - Project Management
Ch22 - Project Management
 

Similar to Ch2 - SW Processes

SE Sumerville 9th Chp 2
SE Sumerville 9th Chp 2SE Sumerville 9th Chp 2
SE Sumerville 9th Chp 2Kashif Sohail
 
SOFTWARE ENGINEERING PART 1
SOFTWARE ENGINEERING PART 1SOFTWARE ENGINEERING PART 1
SOFTWARE ENGINEERING PART 1ravi gupta
 
Ch 2 Software Engineering
Ch 2 Software EngineeringCh 2 Software Engineering
Ch 2 Software EngineeringImran Mirza
 
Ch2
Ch2Ch2
Ch2Limkri
 
Lecture - 7-10.pptx
Lecture - 7-10.pptxLecture - 7-10.pptx
Lecture - 7-10.pptxFarHana74914
 
Software Engineering Process
Software Engineering ProcessSoftware Engineering Process
Software Engineering ProcessAbdul Naqashbandi
 
04_Materi Software Proses-Models(1).pptx
04_Materi Software Proses-Models(1).pptx04_Materi Software Proses-Models(1).pptx
04_Materi Software Proses-Models(1).pptxMarwondoMarwondo
 
Lecture - 11-15.pptx
Lecture - 11-15.pptxLecture - 11-15.pptx
Lecture - 11-15.pptxFarHana74914
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptxAmnaAhsaan1
 
Ch2.Part2.Modified.ppt
Ch2.Part2.Modified.pptCh2.Part2.Modified.ppt
Ch2.Part2.Modified.pptMelisa521270
 
Waterfall model
Waterfall modelWaterfall model
Waterfall modelManusha Dilan
 
Chapter-2 ppt for the MBA 4rh seme6y.pdf
Chapter-2 ppt for the MBA 4rh seme6y.pdfChapter-2 ppt for the MBA 4rh seme6y.pdf
Chapter-2 ppt for the MBA 4rh seme6y.pdfVikasRai405977
 
Software Process Model.ppt
Software Process Model.pptSoftware Process Model.ppt
Software Process Model.pptDrJasmineBeulahG
 
Process in Software Engineering/4'ps in Software Engineerin
Process in Software Engineering/4'ps in Software EngineerinProcess in Software Engineering/4'ps in Software Engineerin
Process in Software Engineering/4'ps in Software EngineerinMuhammadSufianJani
 
Fundamental software engineering activities
Fundamental software engineering activitiesFundamental software engineering activities
Fundamental software engineering activitiessommerville-videos
 

Similar to Ch2 - SW Processes (20)

Ch2-2.pptx
Ch2-2.pptxCh2-2.pptx
Ch2-2.pptx
 
SE Sumerville 9th Chp 2
SE Sumerville 9th Chp 2SE Sumerville 9th Chp 2
SE Sumerville 9th Chp 2
 
SOFTWARE ENGINEERING PART 1
SOFTWARE ENGINEERING PART 1SOFTWARE ENGINEERING PART 1
SOFTWARE ENGINEERING PART 1
 
Ch2
Ch2Ch2
Ch2
 
Ch 2 Software Engineering
Ch 2 Software EngineeringCh 2 Software Engineering
Ch 2 Software Engineering
 
Ch2
Ch2Ch2
Ch2
 
Software process
Software processSoftware process
Software process
 
Software Process Model
Software Process ModelSoftware Process Model
Software Process Model
 
Lecture - 7-10.pptx
Lecture - 7-10.pptxLecture - 7-10.pptx
Lecture - 7-10.pptx
 
Software Engineering Process
Software Engineering ProcessSoftware Engineering Process
Software Engineering Process
 
SE2.ppt
SE2.pptSE2.ppt
SE2.ppt
 
04_Materi Software Proses-Models(1).pptx
04_Materi Software Proses-Models(1).pptx04_Materi Software Proses-Models(1).pptx
04_Materi Software Proses-Models(1).pptx
 
Lecture - 11-15.pptx
Lecture - 11-15.pptxLecture - 11-15.pptx
Lecture - 11-15.pptx
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Ch2.Part2.Modified.ppt
Ch2.Part2.Modified.pptCh2.Part2.Modified.ppt
Ch2.Part2.Modified.ppt
 
Waterfall model
Waterfall modelWaterfall model
Waterfall model
 
Chapter-2 ppt for the MBA 4rh seme6y.pdf
Chapter-2 ppt for the MBA 4rh seme6y.pdfChapter-2 ppt for the MBA 4rh seme6y.pdf
Chapter-2 ppt for the MBA 4rh seme6y.pdf
 
Software Process Model.ppt
Software Process Model.pptSoftware Process Model.ppt
Software Process Model.ppt
 
Process in Software Engineering/4'ps in Software Engineerin
Process in Software Engineering/4'ps in Software EngineerinProcess in Software Engineering/4'ps in Software Engineerin
Process in Software Engineering/4'ps in Software Engineerin
 
Fundamental software engineering activities
Fundamental software engineering activitiesFundamental software engineering activities
Fundamental software engineering activities
 

More from Harsh Verdhan Raj

Ch25 - Configuration Management
Ch25 - Configuration ManagementCh25 - Configuration Management
Ch25 - Configuration ManagementHarsh Verdhan Raj
 
Ch24 - Quality Management
Ch24 - Quality ManagementCh24 - Quality Management
Ch24 - Quality ManagementHarsh Verdhan Raj
 
Ch23 - Project Planning
Ch23 - Project PlanningCh23 - Project Planning
Ch23 - Project PlanningHarsh Verdhan Raj
 
Ch21 - Real Time Software Engineering
Ch21 - Real Time Software EngineeringCh21 - Real Time Software Engineering
Ch21 - Real Time Software EngineeringHarsh Verdhan Raj
 
Ch20 - Systems of Systems
Ch20 - Systems of SystemsCh20 - Systems of Systems
Ch20 - Systems of SystemsHarsh Verdhan Raj
 
Ch19 - Systems Engineering
Ch19 - Systems EngineeringCh19 - Systems Engineering
Ch19 - Systems EngineeringHarsh Verdhan Raj
 
Ch17 - Distributed Software Engineering
Ch17 - Distributed Software EngineeringCh17 - Distributed Software Engineering
Ch17 - Distributed Software EngineeringHarsh Verdhan Raj
 
Ch16 - Component Based Software Engineering
Ch16 - Component Based Software EngineeringCh16 - Component Based Software Engineering
Ch16 - Component Based Software EngineeringHarsh Verdhan Raj
 
Ch14 - Resilience Engineering
Ch14 - Resilience EngineeringCh14 - Resilience Engineering
Ch14 - Resilience EngineeringHarsh Verdhan Raj
 
Ch13 - Security Engineering
Ch13 - Security EngineeringCh13 - Security Engineering
Ch13 - Security EngineeringHarsh Verdhan Raj
 
Ch12 - Safety Engineering
Ch12 - Safety EngineeringCh12 - Safety Engineering
Ch12 - Safety EngineeringHarsh Verdhan Raj
 
Ch11 - Reliability Engineering
Ch11 - Reliability EngineeringCh11 - Reliability Engineering
Ch11 - Reliability EngineeringHarsh Verdhan Raj
 
Ch10 - Dependable Systems
Ch10 - Dependable SystemsCh10 - Dependable Systems
Ch10 - Dependable SystemsHarsh Verdhan Raj
 
FDS (Sixth Edition) | C1 | Databases and Database Users
FDS (Sixth Edition) | C1 | Databases and Database UsersFDS (Sixth Edition) | C1 | Databases and Database Users
FDS (Sixth Edition) | C1 | Databases and Database UsersHarsh Verdhan Raj
 

More from Harsh Verdhan Raj (17)

Ch25 - Configuration Management
Ch25 - Configuration ManagementCh25 - Configuration Management
Ch25 - Configuration Management
 
Ch24 - Quality Management
Ch24 - Quality ManagementCh24 - Quality Management
Ch24 - Quality Management
 
Ch23 - Project Planning
Ch23 - Project PlanningCh23 - Project Planning
Ch23 - Project Planning
 
Ch21 - Real Time Software Engineering
Ch21 - Real Time Software EngineeringCh21 - Real Time Software Engineering
Ch21 - Real Time Software Engineering
 
Ch20 - Systems of Systems
Ch20 - Systems of SystemsCh20 - Systems of Systems
Ch20 - Systems of Systems
 
Ch19 - Systems Engineering
Ch19 - Systems EngineeringCh19 - Systems Engineering
Ch19 - Systems Engineering
 
Ch17 - Distributed Software Engineering
Ch17 - Distributed Software EngineeringCh17 - Distributed Software Engineering
Ch17 - Distributed Software Engineering
 
Ch16 - Component Based Software Engineering
Ch16 - Component Based Software EngineeringCh16 - Component Based Software Engineering
Ch16 - Component Based Software Engineering
 
Ch15 - Software Reuse
Ch15 - Software ReuseCh15 - Software Reuse
Ch15 - Software Reuse
 
Ch14 - Resilience Engineering
Ch14 - Resilience EngineeringCh14 - Resilience Engineering
Ch14 - Resilience Engineering
 
Ch13 - Security Engineering
Ch13 - Security EngineeringCh13 - Security Engineering
Ch13 - Security Engineering
 
Ch12 - Safety Engineering
Ch12 - Safety EngineeringCh12 - Safety Engineering
Ch12 - Safety Engineering
 
Ch11 - Reliability Engineering
Ch11 - Reliability EngineeringCh11 - Reliability Engineering
Ch11 - Reliability Engineering
 
Ch10 - Dependable Systems
Ch10 - Dependable SystemsCh10 - Dependable Systems
Ch10 - Dependable Systems
 
Ch8 - Testing
Ch8 - TestingCh8 - Testing
Ch8 - Testing
 
Ch4 - Req Eng
Ch4 - Req EngCh4 - Req Eng
Ch4 - Req Eng
 
FDS (Sixth Edition) | C1 | Databases and Database Users
FDS (Sixth Edition) | C1 | Databases and Database UsersFDS (Sixth Edition) | C1 | Databases and Database Users
FDS (Sixth Edition) | C1 | Databases and Database Users
 

Recently uploaded

DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoÃŖo Esperancinha
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Study on Air-Water & Water-Water Heat Exchange in a Finned īģŋTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned īģŋTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned īģŋTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned īģŋTube ExchangerAnamika Sarkar
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Call Us â‰Ŋ 8377877756 â‰ŧ Call Girls In Shastri Nagar (Delhi)
Call Us â‰Ŋ 8377877756 â‰ŧ Call Girls In Shastri Nagar (Delhi)Call Us â‰Ŋ 8377877756 â‰ŧ Call Girls In Shastri Nagar (Delhi)
Call Us â‰Ŋ 8377877756 â‰ŧ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Gurgaon ✡ī¸9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡ī¸9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡ī¸9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡ī¸9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 

Recently uploaded (20)

DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Study on Air-Water & Water-Water Heat Exchange in a Finned īģŋTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned īģŋTube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned īģŋTube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned īģŋTube Exchanger
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Call Us â‰Ŋ 8377877756 â‰ŧ Call Girls In Shastri Nagar (Delhi)
Call Us â‰Ŋ 8377877756 â‰ŧ Call Girls In Shastri Nagar (Delhi)Call Us â‰Ŋ 8377877756 â‰ŧ Call Girls In Shastri Nagar (Delhi)
Call Us â‰Ŋ 8377877756 â‰ŧ Call Girls In Shastri Nagar (Delhi)
 
Gurgaon ✡ī¸9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡ī¸9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡ī¸9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡ī¸9711147426✨Call In girls Gurgaon Sector 51 escort service
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 

Ch2 - SW Processes

  • 1. Chapter 2 – Software Processes Chapter 2 Software Processes 1 30/10/2014
  • 2. Topics covered ī‚˛ Software process models ī‚˛ Process activities ī‚˛ Coping with change ī‚˛ Process improvement Chapter 2 Software Processes 2 30/10/2014
  • 3. 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. Chapter 2 Software Processes 3 30/10/2014
  • 4. Software process descriptions ī‚˛ When we describe and discuss processes, we usually talk about the activities in these processes such as specifying a data model, designing a user interface, etc. and the ordering of these activities. ī‚˛ Process descriptions may also include: ī‚§ Products, which are the outcomes of a process activity; ī‚§ Roles, which reflect the responsibilities of the people involved in the process; ī‚§ Pre- and post-conditions, which are statements that are true before and after a process activity has been enacted or a product produced. Chapter 2 Software Processes 4 30/10/2014
  • 5. Plan-driven and agile processes ī‚˛ 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. ī‚˛ There are no right or wrong software processes. Chapter 2 Software Processes 5 30/10/2014
  • 6. Software process models Chapter 2 Software Processes 6 30/10/2014
  • 7. 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. Chapter 2 Software Processes 7 30/10/2014
  • 8. The waterfall model Chapter 2 Software Processes 8 30/10/2014
  • 9. 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. Chapter 2 Software Processes 9 30/10/2014
  • 10. 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. Chapter 2 Software Processes 10 30/10/2014
  • 11. Incremental development Chapter 2 Software Processes 11 30/10/2014
  • 12. 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. Chapter 2 Software Processes 12 30/10/2014
  • 13. Incremental development problems ī‚˛ The process is not visible. ī‚§ Managers need regular deliverables to measure progress. If systems are developed quickly, it is not cost-effective to produce documents that reflect every version of the system. ī‚˛ System structure tends to degrade as new increments are added. ī‚§ Unless time and money is spent on refactoring to improve the software, regular change tends to corrupt its structure. Incorporating further software changes becomes increasingly difficult and costly. Chapter 2 Software Processes 13 30/10/2014
  • 14. 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. Chapter 2 Software Processes 14 30/10/2014
  • 15. Types of reusable software ī‚˛ Stand-alone application systems (sometimes called COTS) that are configured for use in a particular environment. ī‚˛ Collections of objects that are developed as a package to be integrated with a component framework such as .NET or J2EE. ī‚˛ Web services that are developed according to service standards and which are available for remote invocation. Chapter 2 Software Processes 15 30/10/2014
  • 16. Reuse-oriented software engineering Chapter 2 Software Processes 16 30/10/2014
  • 17. Key process stages ī‚˛ Requirements specification ī‚˛ Software discovery and evaluation ī‚˛ Requirements refinement ī‚˛ Application system configuration ī‚˛ Component adaptation and integration Chapter 2 Software Processes 17 30/10/2014
  • 18. 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 Chapter 2 Software Processes 18 30/10/2014
  • 19. Process activities Chapter 2 Software Processes 19 30/10/2014
  • 20. Process activities ī‚˛ Real software processes are inter-leaved sequences of technical, collaborative and managerial activities with the overall goal of specifying, designing, implementing and testing a software system. ī‚˛ The four basic process activities of specification, development, validation and evolution are organized differently in different development processes. ī‚˛ For example, in the waterfall model, they are organized in sequence, whereas in incremental development they are interleaved. Chapter 2 Software Processes 20 30/10/2014
  • 21. The requirements engineering process Chapter 2 Software Processes 21 30/10/2014
  • 22. Software specification ī‚˛ The process of establishing what services are required and the constraints on the system’s operation and development. ī‚˛ Requirements engineering process ī‚§ Requirements elicitation and analysis â€ĸ What do the system stakeholders require or expect from the system? ī‚§ Requirements specification â€ĸ Defining the requirements in detail ī‚§ Requirements validation â€ĸ Checking the validity of the requirements Chapter 2 Software Processes 22 30/10/2014
  • 23. Software design and implementation ī‚˛ The process of converting the system specification into an executable system. ī‚˛ Software design ī‚§ Design a software structure that realises the specification; ī‚˛ Implementation ī‚§ Translate this structure into an executable program; ī‚˛ The activities of design and implementation are closely related and may be inter-leaved. Chapter 2 Software Processes 23 30/10/2014
  • 24. A general model of the design process Chapter 2 Software Processes 24 30/10/2014
  • 25. Design activities ī‚˛ Architectural design, where you identify the overall structure of the system, the principal components (subsystems or modules), their relationships and how they are distributed. ī‚˛ Database design, where you design the system data structures and how these are to be represented in a database. ī‚˛ Interface design, where you define the interfaces between system components. ī‚˛ Component selection and design, where you search for reusable components. If unavailable, you design how it will operate. Chapter 2 Software Processes 25 30/10/2014
  • 26. System implementation ī‚˛ The software is implemented either by developing a program or programs or by configuring an application system. ī‚˛ Design and implementation are interleaved activities for most types of software system. ī‚˛ Programming is an individual activity with no standard process. ī‚˛ Debugging is the activity of finding program faults and correcting these faults. Chapter 2 Software Processes 26 30/10/2014
  • 27. Software validation ī‚˛ Verification and validation (V & V) is intended to show that a system conforms to its specification and meets the requirements of the system customer. ī‚˛ 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. Chapter 2 Software Processes 27 30/10/2014
  • 28. Stages of testing Chapter 2 Software Processes 28 30/10/2014
  • 29. Testing stages ī‚˛ Component testing ī‚§ Individual components are tested independently; ī‚§ Components may be functions or objects or coherent groupings of these entities. ī‚˛ System testing ī‚§ Testing of the system as a whole. Testing of emergent properties is particularly important. ī‚˛ Customer testing ī‚§ Testing with customer data to check that the system meets the customer’s needs. Chapter 2 Software Processes 29 30/10/2014
  • 30. Testing phases in a plan-driven software process (V-model) Chapter 2 Software Processes 30 30/10/2014
  • 31. 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. Chapter 2 Software Processes 31 30/10/2014
  • 32. System evolution Chapter 2 Software Processes 32 30/10/2014
  • 33. Coping with change Chapter 2 Software Processes 33 30/10/2014
  • 34. 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-analysing requirements) as well as the costs of implementing new functionality Chapter 2 Software Processes 34 30/10/2014
  • 35. Reducing the costs of rework ī‚˛ Change anticipation, where 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, where 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 be altered to incorporate the change. Chapter 2 Software Processes 35 30/10/2014
  • 36. Coping with changing requirements ī‚˛ System prototyping, where a version of the system or part of the system is developed quickly to check the customer’s requirements and the feasibility of design decisions. This approach supports change anticipation. ī‚˛ Incremental delivery, where system increments are delivered to the customer for comment and experimentation. This supports both change avoidance and change tolerance. Chapter 2 Software Processes 36 30/10/2014
  • 37. 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. Chapter 2 Software Processes 37 30/10/2014
  • 38. Benefits of prototyping ī‚˛ Improved system usability. ī‚˛ A closer match to users’ real needs. ī‚˛ Improved design quality. ī‚˛ Improved maintainability. ī‚˛ Reduced development effort. Chapter 2 Software Processes 38 30/10/2014
  • 39. The process of prototype development Chapter 2 Software Processes 39 30/10/2014
  • 40. 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 Chapter 2 Software Processes 40 30/10/2014
  • 41. 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. Chapter 2 Software Processes 41 30/10/2014
  • 42. 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. Chapter 2 Software Processes 42 30/10/2014
  • 43. 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. Chapter 2 Software Processes 43 30/10/2014
  • 44. Incremental delivery Chapter 2 Software Processes 44 30/10/2014
  • 45. 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. Chapter 2 Software Processes 45 30/10/2014
  • 46. 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. Chapter 2 Software Processes 46 30/10/2014
  • 47. Process improvement Chapter 2 Software Processes 47 30/10/2014
  • 48. 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. Chapter 2 Software Processes 48 30/10/2014
  • 49. Approaches to improvement ī‚˛ The process maturity approach, which 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. ī‚˛ The agile approach, which 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. Chapter 2 Software Processes 49 30/10/2014
  • 50. The process improvement cycle Chapter 2 Software Processes 50 30/10/2014
  • 51. Process improvement activities ī‚˛ Process measurement ī‚§ You measure one or more attributes of the software process or product. These measurements forms a baseline that helps you decide if process improvements have been effective. ī‚˛ Process analysis ī‚§ The current process is assessed, and process weaknesses and bottlenecks are identified. Process models (sometimes called process maps) that describe the process may be developed. ī‚˛ Process change ī‚§ Process changes are proposed to address some of the identified process weaknesses. These are introduced and the cycle resumes to collect data about the effectiveness of the changes. Chapter 2 Software Processes 51 30/10/2014
  • 52. Process measurement ī‚˛ Wherever possible, quantitative process data should be collected ī‚§ However, where organisations do not have clearly defined process standards this is very difficult as you don’t know what to measure. A process may have to be defined before any measurement is possible. ī‚˛ Process measurements should be used to assess process improvements ī‚§ But this does not mean that measurements should drive the improvements. The improvement driver should be the organizational objectives. Chapter 2 Software Processes 52 30/10/2014
  • 53. Process metrics ī‚˛ Time taken for process activities to be completed ī‚§ E.g. Calendar time or effort to complete an activity or process. ī‚˛ Resources required for processes or activities ī‚§ E.g. Total effort in person-days. ī‚˛ Number of occurrences of a particular event ī‚§ E.g. Number of defects discovered. Chapter 2 Software Processes 53 30/10/2014
  • 54. Capability maturity levels Chapter 2 Software Processes 54 30/10/2014
  • 55. The SEI capability maturity model ī‚˛ Initial ī‚§ Essentially uncontrolled ī‚˛ Repeatable ī‚§ Product management procedures defined and used ī‚˛ Defined ī‚§ Process management procedures and strategies defined and used ī‚˛ Managed ī‚§ Quality management strategies defined and used ī‚˛ Optimising ī‚§ Process improvement strategies defined and used Chapter 2 Software Processes 55 30/10/2014
  • 56. Key points ī‚˛ Software processes are the activities involved in producing a software system. Software process models are abstract representations of these processes. ī‚˛ General process models describe the organization of software processes. ī‚§ Examples of these general models include the ‘waterfall’ model, incremental development, and reuse-oriented development. ī‚˛ Requirements engineering is the process of developing a software specification. Chapter 2 Software Processes 56 30/10/2014
  • 57. Key points ī‚˛ Design and implementation processes are concerned with transforming a requirements specification into an executable software system. ī‚˛ Software validation is the process of checking that the system conforms to its specification and that it meets the real needs of the users of the system. ī‚˛ Software evolution takes place when you change existing software systems to meet new requirements. The software must evolve to remain useful. ī‚˛ Processes should include activities such as prototyping and incremental delivery to cope with change. Chapter 2 Software Processes 57 30/10/2014
  • 58. Key points ī‚˛ Processes may be structured for iterative development and delivery so that changes may be made without disrupting the system as a whole. ī‚˛ The principal approaches to process improvement are agile approaches, geared to reducing process overheads, and maturity-based approaches based on better process management and the use of good software engineering practice. ī‚˛ The SEI process maturity framework identifies maturity levels that essentially correspond to the use of good software engineering practice. Chapter 2 Software Processes 58 30/10/2014