Chapter 12, Software Life Cycle

Chapter 12, Software Life Cycle

Object-Oriented Software Engineering Conquering Complex and Changing Systems Software LifeCycle Chapter 12, Outline ¨ Software Life Cycle w Waterfall model and its problems t Pure Waterfall Model t V-Model t Sawtooth Model w Alternative process models t Boehm’s Spiral Model t Issue-based Development Model (Concurrent Development) ¨ Process Maturity Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 2 Inherent Problems with Software Development ¨ Requirements are complex w The client usually does not know all the functional requirements in advance ¨ Requirements may be changing w Technology enablers introduce new possibilities to deal with nonfunctional requirements ¨ Frequent changes are difficult to manage w Identifying milestones and cost estimation is difficult ¨ There is more than one software system w New system must often be backward compatible with existing system (“legacy system”) w 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 3 Definitions ¨ Software lifecycle modeling: Attempt to deal with complexity and change ¨ Software lifecycle: w Set of activities and their relationships to each other to support the development of a software system ¨ Software development methodology: w 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 4 Software Life Cycle ¨ Software construction goes through a progression of states Conception ChildhoodChildhood Adulthood Retirement Post- Pre- Development Development Development Development Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 5 Typical Software Lifecycle Questions ¨ Which activities should I select for the software project? ¨ What are the dependencies between activities? w Does system design depend on analysis? Does analysis depend on design? ¨ How should I schedule the activities? w Should analysis precede design? w Can analysis and design be done in parallel? w Should they be done iteratively? Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 6 Possible Identification of Software Development Activities Requirements Analysis What is the problem? ProblemProblem DomainDomain System Design What is the solution? What are the mechanisms Program Design that best implement the solution? How is the solution ImplementationImplementation Program Implementation constructed? DomainDomain Testing Is the problem solved? Delivery Can the customer use the solution? Maintenance Are enhancements needed? Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 7 Alternative Identification of Software Development Activities Requirements Analysis What is the problem? Problem Domain System Design What is the solution? What is the solution in the context Object Design of an existing hardware system? Implementation Domain Implementation How is the solution constructed? Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 8 Software Development as Application Domain: A Use Case Model Software development <<include>> <<include>> <<include>> Problem definition System development System operation Client Project manager Developer Administrator End user Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 9 Software Development as Application Domain: Simple Object Model Software Development Object Design Problem Statement Document Requirements Analysis Executable system Document System Design Test Manual Document Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 10 Software life cycle Object Model of the Software Life Cycle * Process group * Process * Phase * Work Product * produces consumes Activity Task * Resource Participant Time Money Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 11 IEEE Std 1074: Standard for Software Lifecycle Process Group IEEEIEEE Std Std 1074 1074 Cross-Cross- ProjectProject Pre-Pre- Develop-Develop- Post-Post- DevelopmentDevelopment ManagementManagement DevelopmentDevelopment mentment DevelopmentDevelopment (Integral(Integral Processes) Processes) > Project Initiation > Concept > Requirements > Installation > V & V >Project Monitoring Exploration Analysis > Operation & > Configuration &Control > System > Design Support Management > Software Quality Allocation > Implemen- > Maintenance > Documen- Management tation > Retirement tation > Training Processes Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 12 Processes, Activities and Tasks ¨ Process Group: Consists of Set of Processes ¨ Process: Consists of Activities ¨ Activity: Consists of sub activities and tasks ProcessProcess DevelopmentDevelopment GroupGroup Process Process DesignDesign Design ActivityActivity Design DatabaseDatabase MakeMake a a TaskTask PurchasePurchase RecommendationRecommendation Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 13 Example ¨ The Design Process is part of Development ¨ The Design Process consists of the following Activities w Perform Architectural Design w Design Database (If Applicable) w Design Interfaces w Select or Develop Algorithms (If Applicable) w Perform Detailed Design (= Object Design) ¨ The Design Database Activity has the following Tasks w Review Relational Databases w Review Object-Oriented Databases w Make a Purchase recommendation w .... Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 14 Modeling Dependencies in a Software Lifecycle Problem System System definition development operation activity activity activity System development activity System upgrade activity Market creation activity • 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 15 Life-Cycle Model: Variations on a Theme ¨ Many models have been proposed to deal with the problems of defining activities and associating them with each other ¨ The waterfall model w First described by Royce in 1970 ¨ There seem to be at least as many versions as there are authorities - perhaps more Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 16 Project Initiation Process The Waterfall Model of the Concept Exploration Software Life Cycle Process System Allocation Process Requirements Process Design Process Implementation Process Verification & Validation Process Installation Process Operation & Support Process Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 17 Problems with Waterfall Model ¨ Managers love waterfall models: w Nice milestones w No need to look back (linear system), one activity at a time w Easy to check progress : 90% coded, 20% tested ¨ Different stakeholders need different abstractions w => V-Model ¨ Software development is iterative w During design problems with requirements are identified w During coding, design and requirement problems are found w During testing, coding, design& requirement errors are found w => Spiral Model ¨ System development is a nonlinear activity w => Issue-Based Model Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 18 V Model: Distinguishes between Development and Verification Activities Level of Detail Client’s Understanding Developer’s Understanding Requirements Acceptance Low Elicitation Testing Problem with V-Model: Client’s Perception is the same as the Developer’s Perception System Analysis Testing Design Integration Testing Object Design Unit Testing High Project Time Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 19 Client’s Understanding Sawtooth Model Developer’s Understanding Client Requirements Prototype Prototype Client Elicitation Demonstration 1 Demonstration 2 Acceptance Developer System Integration & Test Requirements Analysis Integration & Test System Design Object Unit Test Design Implementation Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 20 Sharktooth Model User’s Understanding Manager’s Understanding Developer’s Understanding Client System Requirements Prototype Prototype Client Elicitation Demo 1 Demo 2 Acceptance Manager Design System Review Integration & Test Developer Requirements Analysis Component Integration & Test System Design Unit Object Test Design Implementation Bernd Bruegge & Allen Dutoit Object-Oriented Software Engineering: Conquering Complex and Changing Systems 21 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

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    47 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us