Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 12, Software Life Cycle.

Slides:



Advertisements
Similar presentations
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 1: Introduction.
Advertisements

Prescriptive Process models
Computer Science Department
Chapter 15, Software Life Cycle
1 Software Processes A Software process is a set of activities and associated results which lead to the production of a software product. Activities Common.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Software Process Models
Unit 2. Software Lifecycle
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 4 Slide 1 Software Processes.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 1 Slide 1 المحاضرة الثانية.
Software Project Management
Using UML, Patterns, and Java Object-Oriented Software Engineering 15. Software Life Cycle.
Software Life Cycle Sources:
1 Chapter 4 - Part 1 Software Processes. 2 Software Processes is: Coherent (logically connected) sets of activities for specifying, designing, implementing,
CSE 470 : Software Engineering The Software Process.
CSC 480 Software Engineering
Using UML, Patterns, and Java Object-Oriented Software Engineering 15. Software Life Cycle.
April 22, 2014CS410 – Software Engineering Lecture #19: The Software Life Cycle 1 The Software Life Cycle.
Software Modeling SWE5441 Lecture 3 Eng. Mohammed Timraz
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 17 Slide 1 Rapid software development.
Software Engineering. How many lines of code? Average CS1004 assignment: 200 lines Average CS4115 project: 5000 lines Corporate e-commerce project: 80,000.
1 SOFTWARE LIFE-CYCLES Beyond the Waterfall. 2 Requirements System Design Detailed Design Implementation Installation & Testing Maintenance The WATERFALL.
Software Engineering.
Chapter 15: Life Cycle Models
Object-oriented Analysis and Design
Problem with Software Requirements are complex The client does not know the functional requirements in advance Requirements may be changing Technology.
CEN 4010 Second Lecture January 23, 2006 CEN 4010 Introduction to Software Engineering Spring 2006 Instructor: Masoud Sadjadi
CSI315 Web Technology and Applications
S/W Project Management Software Process Models. Objectives To understand  Software process and process models, including the main characteristics of.
1 CMPT 275 Software Engineering Software life cycle.
Chapter 15, Software Life Cycle
Lecture # 04 & 05 CS314 Introduction To Software Development Software Development Process (SDP) Instructor :Muhammad Janas khan
Using UML, Patterns, and Java Object-Oriented Software Engineering Art for Chapter 15, Software Life Cycle.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 4 Slide 1 Software Processes.
CS 360 Lecture 3.  The software process is a structured set of activities required to develop a software system.  Fundamental Assumption:  Good software.
1 ISA&D7‏/8‏/ ISA&D7‏/8‏/2013 Systems Development Life Cycle Phases and Activities in the SDLC Variations of the SDLC models.
Software Life-Cycle Models Somnuk Keretho, Assistant Professor Department of Computer Engineering Faculty of Engineering, Kasetsart University
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
1 Introduction to Software Development Process Lecture - 2.
Object-oriented Analysis and Design Stages in a Software Project Requirements Writing Analysis Design Implementation System Integration and Testing Maintenance.
1 Instructor: S. Masoud Sadjadi sadjadi At cs Dot fiu Dot edu Software Engineering and Project Communications.
CEN nd Lecture CEN 5011 Advanced Software Engineering Instructor: Masoud Sadjadi Software Life Cycle.
Review of Software Process Models Review Class 1 Software Process Models CEN 4021 Class 2 – 01/12.
Systems Analysis and Design in a Changing World, Fourth Edition
An Introduction to Software Engineering
Software Production ( ) First Semester 2011/2012 Dr. Samer Odeh Hanna (PhD)
Software Production Chapter 2: Identifying Software Development Activities.
Cmpe 589 Spring 2006 Lecture 2. Software Engineering Definition –A strategy for producing high quality software.
Software Life Cycle The software life cycle is the sequence of activities that occur during software development and maintenance.
Software Engineering Lecture # 1.
September 30, 2010COMS W41561 COMS W4156: Advanced Software Engineering Prof. Gail Kaiser
Process Asad Ur Rehman Chief Technology Officer Feditec Enterprise.
Using UML, Patterns, and Java Object-Oriented Software Engineering 15. Software Life Cycle (Waterfall)
 Many models have been proposed to deal with the problems of defining activities and associating them with each other  The first model proposed was the.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
Software Production ( ) Lecture 3: Dr. Samer Odeh Hanna (PhD) office: 318.
A framework that describes the activities performed at each stage of a software development project. A life-cycle or a software process is the organisational.
1 Chapter 2 SW Process Models. 2 Objectives  Understand various process models  Understand the pros and cons of each model  Evaluate the applicability.
Review of Definitions Software life cycle: –Set of activities and their relationships to each other to support the development of a software system Software.
Chapter 2- Software Development Process  Product Components  Software Project Staff  Software Development Lifecycle Models.
Why is Design so Difficult? Analysis: Focuses on the application domain Design: Focuses on the solution domain –The solution domain is changing very rapidly.
Software Life Cycle “What happens in the ‘life’ of software”
SOFTWARE LIFE-CYCLES Beyond the Waterfall.
IEEE Std 1074: Standard for Software Lifecycle
Software Process Models
Dr. Samer Odeh Hanna (PhD)
SOFTWARE LIFE-CYCLES Beyond the Waterfall.
CEN 5011 Advanced Software Engineering
15. Software Life Cycle.
Presentation transcript:

Conquering Complex and Changing Systems Object-Oriented Software Engineering Chapter 12, Software Life Cycle

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 2 Outline  Software Life Cycle  Waterfall model and its problems  Pure Waterfall Model  V-Model  Sawtooth Model  Alternative process models  Boehm’s Spiral Model  Issue-based Development Model (Concurrent Development)  Process Maturity

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 3 Inherent Problems with Software Development  Requirements are complex  The client usually does not know all the functional requirements in advance  Requirements may be changing  Technology enablers introduce new possibilities to deal with nonfunctional requirements  Frequent changes are difficult to manage  Identifying milestones and cost estimation is difficult  There is more than one software system  New system must often be backward compatible with existing system (“legacy system”)  Phased development: Need to distinguish between the system under development and already released systems

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 4 Definitions  Software lifecycle modeling: Attempt to deal with complexity and change  Software lifecycle:  Set of activities and their relationships to each other to support the development of a software system  Software development methodology:  A collection of techniques for building models - applied across the software lifecycle

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 5 Software Life Cycle  Software construction goes through a progression of states Development Post- Development Pre- Development Conception Childhood Adulthood Retirement

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 6 Typical Software Lifecycle Questions  Which activities should I select for the software project?  What are the dependencies between activities?  Does system design depend on analysis? Does analysis depend on design?  How should I schedule the activities?  Should analysis precede design?  Can analysis and design be done in parallel?  Should they be done iteratively?

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 7 Possible Identification of Software Development Activities Requirements Analysis What is the problem? System Design What is the solution? Program Design What are the mechanisms that best implement the solution? Program Implementation How is the solution constructed? Testing Is the problem solved? Delivery Can the customer use the solution? Maintenance Are enhancements needed? Problem Domain Problem Domain Implementation Domain Implementation Domain

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 8 Alternative Identification of Software Development Activities Problem Domain Implementation Domain Requirements AnalysisWhat is the problem?System Design What is the solution? Object Design What is the solution in the context of an existing hardware system? ImplementationHow is the solution constructed?

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 9 Software Development as Application Domain: A Use Case Model

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 10 Software Development as Application Domain: Simple Object Model Object Design Document Requirements Analysis Document Executable system Problem Statement Software Development System Design Document Test Manual

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 11 Object Model of the Software Life Cycle

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 12 IEEE Std 1074: Standard for Software Lifecycle IEEE Std 1074 Project Management Project Management Pre- Development Pre- Development Develop- ment Develop- ment Post- Development Post- Development Cross- Development (Integral Processes) Cross- Development (Integral Processes) > Project Initiation >Project Monitoring &Control > Software Quality Management > Concept Exploration > System Allocation > Requirements Analysis > Design > Implemen- tation > Installation > Operation & Support > Maintenance > Retirement > V & V > Configuration Management > Documen- tation > Training Process Group Processes

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 13 Processes, Activities and Tasks  Process Group: Consists of Set of Processes  Process: Consists of Activities  Activity: Consists of sub activities and tasks Process Group Process Group Process Activity Development Design Task Design Database Design Database Make a Purchase Recommendation Make a Purchase Recommendation

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 14 Example  The Design Process is part of Development  The Design Process consists of the following Activities  Perform Architectural Design  Design Database (If Applicable)  Design Interfaces  Select or Develop Algorithsm (If Applicable)  Perform Detailed Design (= Object Design)  The Design Database Activity has the following Tasks  Review Relational Databases  Review Object-Oriented Databases  Make a Purchase recommendation ....

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 15 Modeling Dependencies in a Software Lifecycle Note that the dependency association can mean one of two things: Activity B depends on Activity A Activity A must temporarily precede Activity B Which one is right ?

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 16  Many models have been proposed to deal with the problems of defining activities and associating them with each other  The waterfall model  First described by Royce in 1970  There seem to be at least as many versions as there are authorities - perhaps more Life-Cycle Model: Variations on a Theme

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 17 The Waterfall Model of the Software Life Cycle

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 18 Problems with Waterfall Model  Managers love waterfall models:  Nice milestones  No need to look back (linear system), one activity at a time  Easy to check progress : 90% coded, 20% tested  Different stakeholders need different abstractions  => V-Model  Software development is iterative  During design problems with requirements are identified  During coding, design and requirement problems are found  During testing, coding, design& requirement errors are found  => Spiral Model  System development is a nonlinear activity  => Issue-Based Model

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 19 V Model: Distinguishes between Development and Verification Activities Level of Detail Project Time Low High Acceptance Testing Problem with V-Model: Client’s Perception is the same as the Developer’s Perception Client’s Understanding Developer’s Understanding Requirements Elicitation Analysis Design System Testing Object Design Unit Testing Integration Testing

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 20 Sawtooth Model Client’s Understanding Developer’s Understanding

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 21 Sharktooth Model User’s Understanding Manager’s Understanding Developer’s Understanding

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 22 Problems with V Model  The V model and its variants do not distinguish temporal and logical dependencies, but fold them into one type of association  In particular, the V model does not model iteration

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 23  Identify risks  Assign priorities to risks  Develop a series of prototypes for the identified risks starting with the highest risk.  Use a waterfall model for each prototype development (“cycle”)  If a risk has successfully been resolved, evaluate the results of the “cycle” and plan the next round  If a certain risk cannot be resolved, terminate the project immediately Spiral Model (Boehm) Deals with Iteration

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 24 Spiral Model

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 25 Activities (“Rounds”) in Boehm’s Spiral Model  Concept of Operations  Software Requirements  Software Product Design  Detailed Design  Code  Unit Test  Integration and Test  Acceptance Test  Implementation  For each cycle go through these steps  Define objectives, alternatives, constraints  Evaluate alternative, identify and resolve risks  Develop, verify prototype  Plan next “cycle”

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 26 Determine Objectives, Alternatives and Constraints Project Start Project Start

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 27 Evaluate Alternatives, Identify, resolve risks Build Prototype Build Prototype

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 28 Develop & Verify Product Concept of Operation Activity Concept of Operation Activity

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 29 Prepare for Next Activity Lifecycle Modeling Process Lifecycle Modeling Process

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 30 Start of Software Requirements Activity Start of Round 2

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 31  Illustrative Prototype  Develop the user interface with a set of storyboards  Implement them on a napkin or with a user interface builder (Visual C++,....)  Good for first dialog with client  Functional Prototype  Implement and deliver an operational system with minimum functionality  Then add more functionality  Order identified by risk  Exploratory Prototype ("Hacking")  Implement part of the system to learn more about the requirements.  Good for paradigm breaks Types of Prototypes used in the Spiral Model

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 32  Revolutionary Prototyping  Also called specification prototyping  Get user experience with a throwaway version to get the requirements right, then build the whole system  Disadvantage: Users may have to accept that features in the prototype are expensive to implement  User may be disappointed when some of the functionality and user interface evaporates because it can not be made available in the implementation environment  Evolutionary Prototyping  The prototype is used as the basis for the implementation of the final system  Advantage: Short time to market  Disadvantage: Can be used only if target system can be constructed in prototyping language Types of Prototyping (Continued)

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 33 Prototyping vs Rapid Development  Revolutionary prototyping is sometimes called rapid prototyping  Rapid Prototyping is not a good term because it confuses prototyping with rapid development  Prototyping is a technical issue: It is a particular model in the life cycle process  Rapid development is a management issue. It is a particular way to control a project  Prototyping can go on forever if it is not restricted  “Time-boxed” prototyping

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 34 The Limitations of the Waterfall and Spiral Models  Neither of these model deals well with frequent change  The Waterfall model assume that once you are done with a phase, all issues covered in that phase are closed and cannot be reopened  The Spiral model can deal with change between phases, but once inside a phase, no change is allowed  What do you do if change is happening more frequently? (“The only constant is the change”)

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 35 An Alternative: Issue-Based Development  A system is described as a collection of issues  Issues are either closed or open  Closed issues have a resolution  Closed issues can be reopened (Iteration!)  The set of closed issues is the basis of the system model I1:Open I2:Closed I3:Closed A.I1:Open A.I2:Open SD.I1:Closed SD.I2:Closed SD.I3:Closed PlanningRequirements Analysis System Design

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 36 Frequency Change and Software Lifeycle  PT = Project Time, MTBC = Mean Time Between Change  Change rarely occurs (MTBC >> PT):  Waterfall Model  All issues in one phase are closed before proceeding to the next phase  Change occurs sometimes (MTBC = PT):  Boehm’s Spiral Model  Change occuring during a phase might lead to an iteration of a previous phase or cancellation of the project  “Change is constant” (MTBC << PT):  Issue-based Development (Concurrent Development Model)  Phases are never finished, they all run in parallel –Decision when to close an issue is up to management –The set of closed issues form the basis for the system to be developed

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 37 Waterfall Model: Analysis Phase I1:Open I2:Open I3:Open A.I1:Open A.I2:Open SD.I1:Open SD.I2:Open SD.I3:Open Analysis

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 38 Waterfall Model: Design Phase I1:Closed I2:Closed I3:Open A.I1:Open A.I2:Open SD.I1:Open SD.I2:Open SD.I3:Open Analysis Design Analysis

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 39 Waterfall Model: Implementation Phase I1:Closed I2:Closed I3:Closed A.I1:Closed A.I2:Closed SD.I1:Open SD.I2:Open SD.I3:Open Implementation Design Analysis

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 40 Waterfall Model: Project is Done I1:Closed I2:Closed I3:Closed A.I1:Closed A.I2:Closed SD.I1:Open SD.I2:Open SD.I3:Open Implementation Design Analysis

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 41 Issue-Based Model: Analysis Phase I1:Open I2:Open I3:Open A.I1:Open A.I2:Open SD.I1:Open SD.I2:Open SD.I3:Open Analysis:80% Design: 10% Implemen- tation: 10%

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 42 Issue-Based Model: Design Phase I1:Closed I2:Closed I3:Open A.I1:Open A.I2:Open SD.I1:Open SD.I2:Open SD.I3:Open Analysis:40% Design: 60% Implemen- tation: 0%

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 43 Issue-Based Model: Implementation Phase I1:Open I2:Closed I3:Closed A.I1:Open A.I2:Closed SD.I1:Open SD.I2:Cosed SD.I3:Open Analysis:10% Design: 10% Implemen- tation: 60%

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 44 Issue-Based Model: Project is Done I1:Closed I2:Closed I3:Open A.I1:Closed A.I2:Closed SD.I1:Open SD.I2:Closed SD.I3:Closed Analysis:0% Design: 0% Implemen- tation: 0%

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 45 Process Maturity  A software development process is mature if the development activities are well defined and if management has some control over the management of the project  Process maturity is described with a set of maturity levels and the associated measurements (metrics) to manage the process  Assumption: With increasing maturity the risk of project failure decreases.

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 46 Capability maturity levels 1. Initial Level  also called ad hoc or chaotic 2. Repeatable Level  Process depends on individuals ("champions") 3. Defined Level  Process is institutionalized (sanctioned by management) 4. Managed Level  Activities are measured and provide feedback for resource allocation (process itself does not change) 5. Optimizing Level  Process allows feedback of information to change process itself

Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 47 Summary  A Software Life Cycle Model is a representation of the development process (as opposed to the system).  Reviewed software life cycles  Waterfall model  V-Model  Sawtooth Model  Boehm’s Spiral Model  Issue-based Development Model (Concurrent Development)  The maturity of a development process can be assessed using a process maturity model, such as the SEI’s CMM.