SlidePub
Home
Categories
Login
Register
Home
General
Software Process in Software Engineering SE3
Software Process in Software Engineering SE3
4,255 views
50 slides
May 20, 2007
Slide
1
of 50
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
About This Presentation
No description available for this slideshow.
Size:
244.58 KB
Language:
en
Added:
May 20, 2007
Slides:
50 pages
Slide Content
Slide 1
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 1
Software Processes
Slide 2
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 2
Objectives
lTo introduce software process models
lTo describe three generic process models and
when they may be used
lTo describe outline process models for
requirements engineering, software
development, testing and evolution
lTo explain the Rational Unified Process model
lTo introduce CASE technology to support
software process activities
Slide 3
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 3
Topics covered
lSoftware process models
lProcess iteration
lProcess activities
lThe Rational Unified Process
lComputer-aided software engineering
Slide 4
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 4
The software process
lA structured set of activities required to develop a
software system
•Specification;
•Design;
•Validation;
•Evolution.
lA software process model is an abstract
representation of a process. It presents a description
of a process from some particular perspective.
Slide 5
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 5
Generic software process models
lThe waterfall model
•Separate and distinct phases of specification and
development.
lEvolutionary development
•Specification, development and validation are
interleaved.
lComponent-based software engineering
•The system is assembled from existing components.
lThere are many variants of these models e.g. formal
development where a waterfall-like process is used but
the specification is a formal specification that is refined
through several stages to an implementable design.
Slide 6
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 6
Waterfall model
RequirementsdefinitionSystem andsoftware designImplementationand unit testingIntegration andsystem testingOperation andmaintenance
Slide 7
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 7
Waterfall model phases
lRequirements analysis and definition
lSystem and software design
lImplementation and unit testing
lIntegration and system testing
lOperation and maintenance
lThe main drawback of the waterfall model is the
difficulty of accommodating change after the
process is underway. One phase has to be
complete before moving onto the next phase.
Slide 8
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 8
Waterfall model problems
lInflexible partitioning of the project into distinct stages
makes it difficult to respond to changing customer
requirements.
lTherefore, this model is only appropriate when the
requirements are well-understood and changes will be
fairly limited during the design process.
lFew business systems have stable requirements.
lThe waterfall model is mostly used for large systems
engineering projects where a system is developed at
several sites.
Slide 9
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 9
Evolutionary development
lExploratory development
•Objective is to work with customers and to evolve
a final system from an initial outline specification.
Should start with well-understood requirements
and add new features as proposed by the
customer.
lThrow-away prototyping
•Objective is to understand the system
requirements. Should start with poorly understood
requirements to clarify what is really needed.
Slide 10
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 10
Evolutionary development
Concurrentactivities
ValidationFinalversion
DevelopmentIntermediateversions
SpecificationInitialversion
Outlinedescription
Slide 11
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 11
Evolutionary development
lProblems
•Lack of process visibility;
•Systems are often poorly structured;
•Special skills (e.g. in languages for rapid
prototyping) may be required.
lApplicability
•For small or medium-size interactive systems;
•For parts of large systems (e.g. the user
interface);
•For short-lifetime systems.
Slide 12
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 12
Component-based software engineering
lBased on systematic reuse where systems are
integrated from existing components or COTS
(Commercial-off-the-shelf) systems.
lProcess stages
•Component analysis;
•Requirements modification;
•System design with reuse;
•Development and integration.
lThis approach is becoming increasingly used
as component standards have emerged.
Slide 13
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 13
Reuse-oriented development
RequirementsspecificationComponentanalysis
Developmentand integration
System designwith reuseRequirementsmodification
Systemvalidation
Slide 14
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 14
Process iteration
lSystem requirements ALWAYS evolve in the
course of a project so process iteration where
earlier stages are reworked is always part of
the process for large systems.
lIteration can be applied to any of the generic
process models.
lTwo (related) approaches
•Incremental delivery;
•Spiral development.
Slide 15
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 15
Incremental delivery
lRather 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.
lUser requirements are prioritised and the highest
priority requirements are included in early increments.
lOnce the development of an increment is started, the
requirements are frozen though requirements for later
increments can continue to evolve.
Slide 16
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 16
Incremental development
ValidateincrementDevelop systemincrement
Design systemarchitecture
IntegrateincrementValidatesystem
Define outline requirementsAssign requirements to increments
System incompleteFinalsystem
Slide 17
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 17
Incremental development advantages
lCustomer value can be delivered with each
increment so system functionality is available
earlier.
lEarly increments act as a prototype to help
elicit requirements for later increments.
lLower risk of overall project failure.
lThe highest priority system services tend to
receive the most testing.
Slide 18
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 18
Extreme programming
lAn approach to development based on the
development and delivery of very small
increments of functionality.
lRelies on constant code improvement, user
involvement in the development team and
pairwise programming.
lCovered in Chapter 17
Slide 19
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 19
Spiral development
lProcess is represented as a spiral rather than
as a sequence of activities with backtracking.
lEach loop in the spiral represents a phase in
the process.
lNo fixed phases such as specification or design
- loops in the spiral are chosen depending on
what is required.
lRisks are explicitly assessed and resolved
throughout the process.
Slide 20
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 20
Spiral model of the software process
RiskanalysisRiskanalysisRiskanalysisRiskanalysisProto-type 1Prototype 2Prototype 3Opera-tionalprotoype
Concept ofOperationSimulations, models, benchmarksS/WrequirementsRequirementvalidationDesignV&V
ProductdesignDetaileddesignCodeUnit testIntegrationtestAcceptancetestServiceDevelop, verifynext-level product
Evaluate alternatives,identify, resolve risksDetermine objectives,alternatives andconstraints
Plan next phaseIntegrationand test plan
Developmentplan
Requirements planLife-cycle planREVIEW
Slide 21
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 21
Spiral model sectors
lObjective setting
•Specific objectives for the phase are identified.
lRisk assessment and reduction
•Risks are assessed and activities put in place to
reduce the key risks.
lDevelopment and validation
•A development model for the system is chosen which
can be any of the generic models.
lPlanning
•The project is reviewed and the next phase of the spiral
is planned.
Slide 22
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 22
Process activities
lSoftware specification
lSoftware design and implementation
lSoftware validation
lSoftware evolution
Slide 23
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 23
Software specification
lThe process of establishing what services are
required and the constraints on the system’s
operation and development.
lRequirements engineering process
•Feasibility study;
•Requirements elicitation and analysis;
•Requirements specification;
•Requirements validation.
Slide 24
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 24
The requirements engineering process
FeasibilitystudyRequirementselicitation andanalysisRequirementsspecificationRequirementsvalidationFeasibilityreportSystemmodelsUser and systemrequirementsRequirementsdocument
Slide 25
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 25
Software design and implementation
lThe process of converting the system
specification into an executable system.
lSoftware design
•Design a software structure that realises the
specification;
lImplementation
•Translate this structure into an executable
program;
lThe activities of design and implementation are
closely related and may be inter-leaved.
Slide 26
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 26
Design process activities
lArchitectural design
lAbstract specification
lInterface design
lComponent design
lData structure design
lAlgorithm design
Slide 27
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 27
The software design process
ArchitecturaldesignAbstractspecificationInterfacedesignComponentdesignDatastructuredesignAlgorithmdesign
SystemarchitectureSoftwarespecificationInterfacespecificationComponentspecificationDatastructurespecificationAlgorithmspecification
RequirementsspecificationDesign activities
Design products
Slide 28
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 28
Structured methods
lSystematic approaches to developing a
software design.
lThe design is usually documented as a set of
graphical models.
lPossible models
•Object model;
•Sequence model;
•State transition model;
•Structural model;
•Data-flow model.
Slide 29
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 29
Programming and debugging
lTranslating a design into a program and
removing errors from that program.
lProgramming is a personal activity - there is no
generic programming process.
lProgrammers carry out some program testing
to discover faults in the program and remove
these faults in the debugging process.
Slide 30
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 30
The debugging process
LocateerrorDesignerror repairRepairerrorRe-testprogram
Slide 31
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 31
Software validation
lVerification and validation (V & V) is intended to
show that a system conforms to its specification
and meets the requirements of the system
customer.
lInvolves checking and review processes and
system testing.
lSystem testing involves executing the system
with test cases that are derived from the
specification of the real data to be processed by
the system.
Slide 32
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 32
The testing process
ComponenttestingSystemtestingAcceptancetesting
Slide 33
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 33
Testing stages
lComponent or unit testing
•Individual components are tested independently;
•Components may be functions or objects or
coherent groupings of these entities.
lSystem testing
•Testing of the system as a whole. Testing of
emergent properties is particularly important.
lAcceptance testing
•Testing with customer data to check that the
system meets the customer’s needs.
Slide 34
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 34
Testing phases
RequirementsspecificationSystemspecificationSystemdesignDetaileddesign
Module andunit codeand testSub-systemintegrationtest planSystemintegrationtest planAcceptancetest plan
ServiceAcceptancetestSystemintegration testSub-systemintegration test
Slide 35
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 35
Software evolution
lSoftware is inherently flexible and can change.
lAs requirements change through changing
business circumstances, the software that
supports the business must also evolve and
change.
lAlthough there has been a demarcation
between development and evolution
(maintenance) this is increasingly irrelevant as
fewer and fewer systems are completely new.
Slide 36
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 36
System evolution
Assess existingsystemsDefine systemrequirementsPropose systemchangesModifysystems
NewsystemExistingsystems
Slide 37
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 37
The Rational Unified Process
lA modern process model derived from the work
on the UML and associated process.
lNormally described from 3 perspectives
•A dynamic perspective that shows phases over
time;
•A static perspective that shows process activities;
•A practive perspective that suggests good
practice.
Slide 38
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 38
RUP phase model
Phase iteration
InceptionElaborationConstructionTransition
Slide 39
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 39
RUP phases
lInception
•Establish the business case for the system.
lElaboration
•Develop an understanding of the problem domain
and the system architecture.
lConstruction
•System design, programming and testing.
lTransition
•Deploy the system in its operating environment.
Slide 40
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 40
RUP good practice
lDevelop software iteratively
lManage requirements
lUse component-based architectures
lVisually model software
lVerify software quality
lControl changes to software
Slide 41
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 41
Static workflows
Workflow Description
Business modelling The business processes are modelled using business use cases.
Requirements Actors who interact with the system are identified and use cases are
developed to model the system requirements.
Analysis and design A design model is created and documented using architectural
models, component models, object models and sequence models.
Implementation The components in the system are implemented and structured into
implementation sub-systems. Automatic code generation from design
models helps accelerate this process.
Test Testing is an iterative process that is carried out in conjunction with
implementation. System testing follows the completion of the
implementation.
Deployment A product release is created, distributed to users and installed in their
workplace.
Configuration and
change management
This supporting workflow managed changes to the system (see
Chapter 29).
Project management This supporting workflow manages the system development (see
Chapter 5).
Environment This workflow is concerned with making appropriate software tools
available to the software development team.
Slide 42
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 42
Computer-aided software engineering
lComputer-aided software engineering (CASE) is
software to support software development and
evolution processes.
lActivity automation
•Graphical editors for system model development;
•Data dictionary to manage design entities;
•Graphical UI builder for user interface construction;
•Debuggers to support program fault finding;
•Automated translators to generate new versions of a
program.
Slide 43
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 43
Case technology
lCase technology has led to significant
improvements in the software process.
However, these are not the order of magnitude
improvements that were once predicted
•Software engineering requires creative thought -
this is not readily automated;
•Software engineering is a team activity and, for
large projects, much time is spent in team
interactions. CASE technology does not really
support these.
Slide 44
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 44
CASE classification
lClassification helps us understand the different types
of CASE tools and their support for process activities.
lFunctional perspective
•Tools are classified according to their specific function.
lProcess perspective
•Tools are classified according to process activities that
are supported.
lIntegration perspective
•Tools are classified according to their organisation into
integrated units.
Slide 45
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 45
Functional tool classification
Tool type Examples
Planning tools PERT tools, estimation tools, spreadsheets
Editing tools Text editors, diagram editors, word processors
Change management tools Requirements traceability tools, change control systems
Configuration management toolsVersion management systems, system building tools
Prototyping tools Very high-level languages, user interface generators
Method-support tools Design editors, data dictionaries, code generators
Language-processing tools Compilers, interpreters
Program analysis tools Cross reference generators, static analysers, dynamic analysers
Testing tools Test data generators, file comparators
Debugging tools Interactive debugging systems
Documentation tools Page layout programs, image editors
Re-engineering tools Cross-reference systems, program re-structuring systems
Slide 46
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 46
Activity-based tool classification
SpecificationDesignImplementationVerificationandValidation
Re-engineering toolsTesting toolsDebugging toolsProgram analysis toolsLanguage-processingtoolsMethod support toolsPrototyping toolsConfigurationmanagement toolsChange management toolsDocumentation toolsEditing toolsPlanning tools
Slide 47
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 47
CASE integration
lTools
•Support individual process tasks such as design
consistency checking, text editing, etc.
lWorkbenches
•Support a process phase such as specification or
design, Normally include a number of integrated
tools.
lEnvironments
•Support all or a substantial part of an entire
software process. Normally include several
integrated workbenches.
Slide 48
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 48
Tools, workbenches, environments
Single-methodworkbenchesGeneral-purposeworkbenchesMulti-methodworkbenchesLanguage-specificworkbenches
ProgrammingTestingAnalysis anddesign
IntegratedenvironmentsProcess-centredenvironmentsFilecomparatorsCompilersEditors
EnvironmentsWorkbenchesTools
CASEtechnology
Slide 49
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 49
Key points
lSoftware processes are the activities involved in
producing and evolving a software system.
lSoftware process models are abstract representations
of these processes.
lGeneral activities are specification, design and
implementation, validation and evolution.
lGeneric process models describe the organisation of
software processes. Examples include the waterfall
model, evolutionary development and component-
based software engineering.
lIterative process models describe the software
process as a cycle of activities.
Slide 50
©Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 50
Key points
lRequirements engineering is the process of
developing a software specification.
lDesign and implementation processes transform the
specification to an executable program.
lValidation involves checking that the system meets to
its specification and user needs.
lEvolution is concerned with modifying the system after
it is in use.
lThe Rational Unified Process is a generic process
model that separates activities from phases.
lCASE technology supports software process activities.
Tags
Categories
General
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
4,255
Slides
50
Favorites
6
Age
6774 days
Related Slideshows
22
Pray For The Peace Of Jerusalem and You Will Prosper
RodolfoMoralesMarcuc
32 views
26
Don_t_Waste_Your_Life_God.....powerpoint
chalobrido8
35 views
31
VILLASUR_FACTORS_TO_CONSIDER_IN_PLATING_SALAD_10-13.pdf
JaiJai148317
32 views
14
Fertility awareness methods for women in the society
Isaiah47
30 views
35
Chapter 5 Arithmetic Functions Computer Organisation and Architecture
RitikSharma297999
29 views
5
syakira bhasa inggris (1) (1).pptx.......
ourcommunity56
30 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-50)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better