LIFE-CYCLE MODELS AND PROCESS. Software Engineering 1/9/2008. CHAPTER 1, 2, and 3. Stephen R. Schach

Similar documents
Object-Oriented and Classical Software Engineering

Object-Oriented & Classical Soft Engineering

Object-Oriented and Classical Software Engineering THE SOFTWARE PROCESS 9/17/2017. CHAPTER 3 Slide 3.2. Stephen R. Schach. Overview Slide 3.

Software Processes. CSE-C3610, Software Engineering, 5 cr. Prof. Casper Lassenius

ABHELSINKI UNIVERSITY OF TECHNOLOGY

A New Divide & Conquer Software Process Model

Introduction to Software Project Management. CITS3220 Software Requirements & Project Management

ICS 52: Introduction to Software Engineering

CMPT 275 Software Engineering

Introduction to Software Life Cycles. CSCI 5828: Foundations of Software Engineering Lecture 06 09/08/2016

Software Engineering

Chapter 3 Prescriptive Process Models

AUTOMATED DEFECT PREVENTION: BEST PRACTICES IN SOFTWARE MANAGEMENT

Software Design COSC 4353/6353 D R. R A J S I N G H

V Model material adapted from Steve Easterbrook. Waterfall Model material adapted from Steve Easterbrook. Lifecycle of Software Projects

Based on Software Engineering, by Ian Sommerville Coherent sets of activities for specifying, designing, implementing and testing software systems

Software Process. Overview

CHAPTER 2. Slide 2.1 THE SOFTWARE PROCESS

A Comparison Between Evolutionary and Prototype Model

Software Engineering. M Umair.

Development Process Bennett, McRobb and Farmer 1

SWE 211 Software Processes

SE curriculum in CC2001 made by IEEE and ACM: What is Software Engineering?

Softwaretechnik. Lecture 02: Processes. Peter Thiemann SS University of Freiburg, Germany

II. Software Life Cycle. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

Explore Comparative Analysis Software Development Life Cycle Models

Introduction to Software Life Cycles and Agile. CSCI 5828: Foundations of Software Engineering Lecture 03 09/02/2014

Darshan Institute of Engineering & Technology for Diploma Studies Rajkot Unit-1

CONTENTS. Introduction to Software Engineering. Software Process and Life Cycle Models. Software Life-Cycle Model-2. Chapter 1. Chapter 2.

SE420 Software Quality Assurance

SOFTWARE ENGINEERING WITH JAVA

In this Lecture you will Learn: Development Process. Unified Software Development Process. Best Practice

Software development processes: from the waterfall to the Unified Process

Introduction to Software Engineering: Project Management ( Highlights )

Software Engineering

SDLC Models- A Survey

An Overview of Software Process

CMSC 435: Software Engineering Section Back to Software. Important: Team Work. More Resources

Chapter 3. Information Systems Development. McGraw-Hill/Irwin. Copyright 2007 by The McGraw-Hill Companies, Inc. All rights reserved.

Pertemuan 2. Software Engineering: The Process

Software Processes. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 1

Software Development Software Development Activities

Introduction of RUP - The Rational Unified Process

Chapter 3 Software Process Model

Lecture 1. In practice, most large systems are developed using a. A software process model is an abstract representation

Software Processes. Objectives. Topics covered. The software process. Waterfall model. Generic software process models

Process, Models, Methods, Diagrams Software Development Life Cyles. Part - II

CSE 435 Software Engineering. Sept 14, 2015

The software process

Information Systems Development

The good news. 34% of software projects succeed. Standish Group, CHAOS Report, 2003

Introduction to Software Engineering

Analyze, Design, and Develop Applications

Introduction to Agile Software Development

CS 320 Introduction to Software Engineering Spring February 01, 2017

The Software Life Cycle

Foundations of Software Engineering. Lecture 16: Process: Linear to Iterative Michael Hilton

Object-Oriented Software Engineering Practical Software Development using UML and Java. Chapter 11: Managing the Software Process

Waterfall model is the earliest SDLC approach that was used for software development.

Planning and the Software Lifecycle. CSCE Lecture 2-08/26/2015

Agile Development Processes. CSCE Lecture 3-08/31/2017

DELIVER SOLUTION. Predictive versus Adaptive Approaches. Predictive Approach

Software Modeling & Analysis. - Fundamentals of Software Engineering - Software Process Model. Lecturer: JUNBEOM YOO

Software Engineering QUESTION BANK

SE420 Software Quality Assurance

SDLC AND MODEL SELECTION: A STUDY

Software Development Life Cycle:

Note 10: Software Process

Software Quality Engineering Courses Offered by The Westfall Team

MTAT Software Engineering Management

Software Quality Engineering Courses Offered by The Westfall Team

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

Cambridge University Press Agile Testing: How to Succeed in an Extreme Testing Environment John Watkins Excerpt More information

Agile Test Plan How to Construct an Agile Test Plan

Software Processes 1

PLANNING AND ESTIMATING

Objectives. Rapid software development. Topics covered. Rapid software development. Requirements. Characteristics of RAD processes

Software development activities

Objectives. The software process. Topics covered. Waterfall model. Generic software process models. Software Processes

A Review Paper on Software Testing

Instructor s Manual Chapter 2

Software Engineering and Software Engineers

1. What often-false assumption does the waterfall model made about requirements specifications?

Selecting Software Development Life Cycles. Adapted from Chapter 4, Futrell

Topics covered. Software process models Process iteration Process activities The Rational Unified Process Computer-aided software engineering

CS SOFTWARE ENGINEERING QUESTION BANK

cis20.2 design and implementation of software applications 2 spring 2010 lecture # I.2

the software world... software engineering? software engineering: one definition

Processes and Life- Cycles. Kristian Sandahl

Agile Transformation Key Considerations for success

Research Article / Paper / Case Study Available online at: Analysis of Strengths and Weakness of SDLC Models Shikha Verma Delhi India

Solutions Manual. Object-Oriented Software Engineering. An Agile Unified Methodology. David Kung

Rational Software White Paper TP 174

2009 Spring. Software Modeling & Analysis. - Software Process Model. Lecturer: JUNBEOM YOO

Chapter 2 Software Product Lifecycles: What Can Be Optimized and How?

System and Software Engineering. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 1 Slide 1

Software Engineering

The Software Life Cycle

Processes and Life- Cycles. Kristian Sandahl

Process Innovation at the Speed of Life

Transcription:

Slide 2.1 CHAPTER 1, 2, and 3 Slide 2.2 Object-Oriented Oriented Software Engineering WCB/McGraw-Hill, 2008 Stephen R. Schach srs@vuse.vanderbilt.edu SOFTWARE LIFE-CYCLE MODELS AND PROCESS Overview Slide 2.3 Software Development in Theory Slide 2.4 Software life-cycle models Unified process Capability Maturity Models (CMM) Classical model (1970) Figure 1.2 1

Typical Classical Phases Slide 2.5 Typical Classical Phases (contd) Slide 2.6 Requirements phase Explore the concept Elicit the client s requirements Design phase Architectural design, followed by Detailed design How the product does it Analysis (specification) phase Analyze the client s requirements Draw up the specification document Draw up the software project management plan What the product is supposed to do Implementation phase Coding Unit testing Integration Acceptance testing Typical Classical Phases (contd) Slide 2.7 Software Development in Practice Slide 2.8 Postdelivery maintenance Corrective maintenance Perfective maintenance Adaptive maintenance Retirement In the real world, software development is totally different We make mistakes The client s requirements change while the software product is being developed 2

2.2 Winburg Mini Case Study Slide 2.9 Waterfall Model Slide 2.10 Episode 1: The first version is implemented Episode 2: A fault is found The product is too slow because of an implementation fault Changes to the implementation are begun The linear life cycle model with feedback loops The waterfall model cannot show the order of events Episode 3: A new design is adopted A faster algorithm is used Episode 4: The requirements change Accuracy has to be increased Epilogue: A few years later, these problems recur Figure 2.3 2.3 Lessons of the Winburg Mini Case Study Slide 2.11 2.4 Teal Tractors Mini Case Study Slide 2.12 In the real world, software development is more chaotic than the Winburg mini case study While the Teal Tractors software product is being constructed, the requirements change Changes are always needed A software product is a model of the real world, which is continually changing Software professionals are human, and therefore make mistakes The company is expanding into Canada Changes needed include: Additional sales regions must be added The product must be able to handle Canadian taxes and other business aspects that are handled differently Third, the product must be extended to handle two different currencies, USD and CAD 3

Teal Tractors Mini Case Study (contd) Slide 2.13 Moving Target Problem Slide 2.14 These changes may be Great for the company; but Disastrous for the software product A change in the requirements while the software product is being developed Regression fault No solution 2.5 Iteration and Incrementation Slide 2.15 Miller s Law (1956) Slide 2.16 The basic software development process is iterative Each successive version is intended to be closer to its target than its predecessor At any one time, we can concentrate on only approximately seven chunks (units of information) To handle larger amounts of information, use stepwise refinement Concentrate on the aspects that are currently the most important Postpone aspects that are currently less critical Every aspect is eventually handled, but in order of current importance This is an incremental process 4

Iteration and Incrementation (contd) Slide 2.17 Iteration and Incrementation (contd) Slide 2.18 The number of increments will vary it does not have to be four Figure 2.4 Sequential Phases versus Workflows Slide 2.19 Workflows Slide 2.20 Sequential phases do not exist in the real world Instead, the five core workflows (activities) are performed over the entire life cycle Requirements workflow Analysis workflow Design workflow Implementation workflow Test workflow All five core workflows are performed over the entire life cycle However, at most times one workflow predominates Examples: At the beginning of the life cycle» The requirements workflow predominates At the end of the life cycle» The implementation and test workflows predominate Planning and documentation activities are performed throughout the life cycle 5

2.7 Risks and Other Aspects of Iter. and Increm. Slide 2.21 We can consider the project as a whole as a set of mini projects (increments) Each mini project extends the Requirements artifacts Analysis artifacts Design artifacts Implementation artifacts Testing artifacts Risks and Other Aspects of Iter. and Increm. (contd) Slide 2.22 During each mini project we Extend the artifacts (incrementation); Check the artifacts (test workflow); and If necessary, change the relevant artifacts (iteration) The final set of artifacts is the complete product Risks and Other Aspects of Iter. and Increm. (contd) Slide 2.23 Each iteration can be viewed as a small but complete waterfall life-cycle model During each iteration we select a portion of the software product On that portion we perform the Requirements phase Analysis phase Design phase Implementation phase Strengths of the Iterative-and-Incremental Model Slide 2.24 There are multiple opportunities for checking that the software product is correct Every iteration incorporates the test workflow Faults can be detected and corrected early The robustness of the architecture can be determined early in the life cycle Architecture the various component modules and how they fit together Robustness the property of being able to handle extensions and changes without falling apart 6

Strengths of the Iterative-and-Incremental Model (contd) Slide 2.25 We can mitigate (resolve) risks early Risks are invariably involved in software development and maintenance We have a working version of the software product from the start The client and users can experiment with this version to determine what changes are needed Strengths of the Iterative-and-Incremental Model (contd) Slide 2.26 There is empirical evidence that the life-cycle model works The CHAOS reports of the Standish Group (see overleaf) show that the percentage of successful products increases Variation: Deliver partial versions to smooth the introduction of the new product in the client organization Strengths of the Iterative-and-Incremental Model (contd) Slide 2.27 CHAOS reports from 1994 to 2004 Strengths of the Iterative-and-Incremental Model (contd) Slide 2.28 Reasons given for the decrease in successful projects in 2004 include: More large projects in 2004 than in 2002 Use of the waterfall model Lack of user involvement Lack of support from senior executives Figure 2.7 7

2.9 Other Life-Cycle Models Slide 2.29 2.9.1 Code-and-Fix Model Slide 2.30 The following life-cycle models are presented and compared: Code-and-fix life-cycle model Waterfall life-cycle model Rapid prototyping life-cycle model Open-source life-cycle model Agile processes Synchronize-and-stabilize life-cycle model Spiral life-cycle model No design No specifications Maintenance nightmare Figure 2.8 Code-and-Fix Model (contd) Slide 2.31 2.9.2 Waterfall Model (Royce 1970) Slide 2.32 The easiest way to develop software The most expensive way Figure 2.9 8

2.9.2 Waterfall Model (contd) Slide 2.33 2.9.3 Rapid Prototyping Model Slide 2.34 Characterized by Feedback loops Documentation-driven Advantages Documentation Maintenance is easier Disadvantages Specification document» Hard to understand for clients (e.g., Z language) Don t get to see the product till the end» I know this is what I asked for, but it isn t what I meant Linear model Rapid Figure 2.10 2.9.4 Open-Source Life-Cycle Model Slide 2.35 The Activities of the Second Informal Phase Slide 2.36 Two informal phases First, one individual builds an initial version Made available via the Internet (e.g., SourceForge.net) Then, if there is sufficient interest in the project The initial version is widely downloaded Users become co-developers The product is extended Key point: Individuals generally work voluntarily on an open-source project in their spare time Reporting and correcting defects Corrective maintenance Adding additional functionality Perfective maintenance Porting the program to a new environment Adaptive maintenance The second informal phase consists solely of postdelivery maintenance The word co-developers on the previous slide should rather be co-maintainers 9

Open-Source Life-Cycle Model (contd) Slide 2.37 Open-Source Life-Cycle Model (contd) Slide 2.38 Postdelivery maintenance life-cycle model Closed-source software is maintained and tested by employees Users can submit failure reports but never fault reports (the source code is not available) Open-source software is generally maintained by unpaid volunteers Users are strongly encouraged to submit defect reports, both failure reports and fault reports Figure 2.11 Open-Source Life-Cycle Model (contd) Slide 2.39 Open-Source Life-Cycle Model (contd) Slide 2.40 Core group Small number of dedicated maintainers with the inclination, the time, and the necessary skills to submit fault reports ( fixes ) They take responsibility for managing the project They have the authority to install fixes Peripheral group Users who choose to submit defect reports from time to time New versions of closed-source software are typically released roughly once a year After careful testing by the SQA group The core group releases a new version of an open-source product as soon as it is ready Perhaps a month or even a day after the previous version was released The core group performs minimal testing Extensive testing is performed by the members of the peripheral group in the course of utilizing the software Release early and often 10

Open-Source Life-Cycle Model (contd) Slide 2.41 2.9.5 Agile Processes Slide 2.42 An initial working version is produced when using The rapid-prototyping model; The code-and-fix model; and The open-source life-cycle model Extreme Programming (later lecture) Then: Rapid-prototyping model» The initial version is discarded Code-and-fix model and open-source life-cycle model» The initial version becomes the target product» Successful projects get all the attention, but half of the 175,000 projects on SourceForge.org have 0 download.» Open source software is not customized. 2.9.6 Synchronize-and Stabilize Model Slide 2.43 Microsoft s life-cycle model Requirements analysis interview potential customers Draw up specifications Divide project into 3 or 4 builds Each build is carried out by small teams working in parallel Synchronize-and Stabilize Model (contd) Slide 2.44 At the end of the day synchronize (test and debug) At the end of the build stabilize (freeze the build) Components always work together Faults can be fixed in a early stage Get early insights into the operation of the product 11

2.9.7 Spiral Model Slide 2.45 A Key Point of the Spiral Model Slide 2.46 Simplified form Rapid prototyping model plus risk analysis preceding each phase If all risks cannot be mitigated, the project is immediately terminated Figure 2.12 Full Spiral Model Slide 2.47 Full Spiral Model (contd) Slide 2.48 Precede each phase by Alternatives Risk analysis Follow each phase by Evaluation Planning of the next phase Radial dimension: cumulative cost to date Angular dimension: progress through the spiral Figure 2.13 12

Analysis of the Spiral Model Slide 2.49 Strengths Alternative analysis allows the reuse of existing software It is easy to judge how much to test» Terms it as risks and perform risks analysis Weaknesses For large-scale software only» Intensive risk analysis For internal (in-house) software only» Easy termination Discrete phases 13