Download Software Engineering Process Models: An Overview and more Study Guides, Projects, Research Software Engineering in PDF only on Docsity!
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 1
SOFTWARE PROCESS
MODELS
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 2
Software Process Models
• Process model (Life-cycle model) - steps through
which the product progresses
- Requirements phase
- Specification phase
- Design phase
- Implementation phase
- Integration phase
- Maintenance phase
- Retirement
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 3
Overview
• Different process models
- Build-and-fix model
- Waterfall model
- Incremental model
- Evolutionary process models o Rapid prototyping model o Spiral model
- Agile process models o Extreme programming
- Synchronize-and-stabilize model
- Object-oriented life-cycle models o Fountain Model o Unified Process
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 4
Build-and-Fix Model
- Problems
- No specifications
- No design
- Totally unsatisfactory
- High cost
- Difficult maintenance
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering^ Slide 5
Waterfall Model
until early 1980s
- Characterized by
- Feedback loops
- Documentation-driven
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 6
Waterfall Model (contd)
- Advantages
- Enforces disciplined approach o Documentation for each phase o Products of each phase checked by SQA group
- Maintenance is easier o Every change reflected in the relevant documentation
- Disadvantages
- Working version of the software will not be available until
late in the project time-span
- Specifications are long, detailed, written in a style
unfamiliar to the client
- “Blocking states” – some project team members must wait
for other team members to complete dependent tasks
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 10
Rapid Prototyping Model
the prototype as
rapidly as possible
the software that will
be visible to the
customer/user
feedback loops
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering^ Slide 11
Rapid Prototyping Model (contd)
- Rapid prototype
- Used in the requirements phase
- Evaluated by the customer/user
- Then, it is discarded - do not turn into product
- Rapid prototyping model is not proven and has its
own problems
- Possible solution o Rapid prototyping for defining requirements o Waterfall model for rest of life cycle
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 12
Spiral Mode l
- Minimize risk via the use
of prototype and other
means
- Simplified form - Waterfall
model plus risk analysis
- Precede each phase by
- Alternatives
- Risk analysis
- Follow each phase by
- Evaluation
- Planning of next phase
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 13
Simplified Spiral Model
resolved, project
may be terminated
immediately
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering^ Slide 14
Full Spiral Model (contd)
- Radial dimension
- Angular dimension
- progress through the spiral
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 15
Analysis of Spiral Model
- Strengths
- Answers the question “How much to test ?” in terms of
risk
- No distinction between development and maintenance
(another cycle of the model)
- Weaknesses
- Internal (in-house) development only o For contract software, all risk analysis must be performed before the contract is signed, not in the spiral model
- Large-scale software only o For small software performing risk analysis would significantly affect the profit potential
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 19
Extreme Programming (contd)
http://www.extremeprogramming.org/
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 20
Features of XP
- Computers are put in center of large room lined
with cubicles
- Client representative works with the XP team at
all the times
- Individual cannot work overtime for 2 successive
weeks
- There is no specialization
- all members of the XP team work on specification,
design, code, and testing
- There is no overall design phase before various
builds are constructed – refactoring
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 21
Features of XP
- Advantages
- Useful when requirements are vague or changing
- Emphasis on teamwork and communication
- Programmer estimates before committing to a schedule
- Continuous measurement; frequent, extensive testing
- Disadvantages
- Limited to small products and small teams - can be disastrous when programs are larger than a few thousand lines of code or when the work involves more than a few people.
- Lack of design documentation
- Lack of a structured review process
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 22
Synchronize-and-Stabilize Model
- Microsoft’s life-cycle model – version of
incremental model
- Requirements analysis — interview potential
customers; list of features with priorities
- Draw up specifications
- Divide project into 3 or 4 builds
- Each build is carried out by small teams working
in parallel
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 23
Synchronize-and-Stabilize Model (contd)
- At the end of the day — synchronize (put together
partially completed components; test and debug)
- At the end of the build — stabilize (fix the
remaining faults; freeze build)
- Advantages
- Components always work together
- Early insights into operation of product
- Model can be used even the initial specification is
incomplete
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 24
Object-Oriented Life-Cycle Models
- Need for iteration within and between phases
- Fountain model
- Unified software development process
- All incorporate some form of
- Iteration
- Parallelism
- Incremental development
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 28
Unified Process: Phases
- Transition phase
- Software is given to end-users for beta testing
- User report both defects and necessary changes
- Support information is created (e.g., user manuals, installation procedures)
- Software increment becomes usable software release
- Production phase
- Software use is monitored
- Defect reports and requests for changes are submitted and evaluated
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 29
Unified Process: Major work products
Inception phase
Vision document Initial use-case model Initial project glossary Initial business case Initial risk assessment Project plan phases and iterations Business model if necessary One or more prototypes
Elaboration phase
Use-case model Supplementary requirements, including non-functional Analysis model Software architecture description Executable architectural prototype Preliminary design model Revised risk list Project plan including iteration plan adapted workflows milestones technical work products Preliminary user manual
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 30
Unified Process: Major work products
Construction phase
Design model Software components Integrated software increment Test plan and procedure Test cases Support documentation user manuals installation manuals description of current increment
Transition phase
Delivered software increment Beta test reports General user feedback
Copyright © K.Goseva 2006 CS 230 Introduction to Software Engineering Slide 31
Conclusions
- Different process models, each with its own
strengths and weaknesses
- Criteria for deciding on a model include
- Organization
- Its management style
- Skills of the employees
- Product nature