NJIT Inception is not the Requirements Phase Chapter 4 Applying UML and Patterns Craig Larman.

Slides:



Advertisements
Similar presentations
Ninth Lecture Hour 8:30 – 9:20 pm, Thursday, September 13
Advertisements

1 Requirements and the Software Lifecycle The traditional software process models Waterfall model Spiral model The iterative approach Chapter 3.
Unit 2. Software Lifecycle
Chapter 4: Inception is Not the Requirements Phase
Chapter 10 Schedule Your Schedule. Copyright 2004 by Pearson Education, Inc. Identifying And Scheduling Tasks The schedule from the Software Development.
Object-Oriented Analysis and Design
Using UML, Patterns, and Java Object-Oriented Software Engineering Royce’s Methodology Chapter 16, Royce’ Methodology.
Informatics 43 – April 16, Homework 1 What is the purpose and goal of each section in the document? Two audiences: non-technical users and technical.
SYSC System Analysis and Design
Rational Unified Process
NJIT From Inception to Elaboration Chapter 8 Applying UML and Patterns Craig Larman.
OO Development Process. UML and Process UML standardizes notation, not process –Increase likelihood of widespread acceptance There is significant variability.
SE 555 Software Requirements & Specification Beyond Requirements Based on Weigers Chapter17.
Dr. Kivanc DincerCS319 Week 1 - Sept.12,20051 Chapter 4 INCEPTION IS NOT THE REQUIREMENTS PHASE Objectives Define the inception step. Motivate the following.
NJIT Evolutionary Requirements Chapter 5 Applying UML and Patterns Craig Larman.
Iterative development and The Unified process
From Inception to Elaboration Chapter 8 Applying UML and Patterns -Craig Larman.
COMP 350: Object Oriented Analysis and Design Lecture 2
The Software Product Life Cycle. Views of the Software Product Life Cycle  Management  Software engineering  Engineering design  Architectural design.
Slide 1 Requirements Workflow. Slide 2 The Phases/Workflows of the Unified Process Figure 3.1 l Phase is Business context of a step Workflow is Technical.
® IBM Software Group © 2006 IBM Corporation PRJ480 Mastering the Management of Iterative Development v2 Module 3: Phase Management - Inception.
© 2005 Prentice Hall14-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
IS0514 Lecture - Week 2 Best Practice Development Methodology.
Introduction to RUP Spring Sharif Univ. of Tech.2 Outlines What is RUP? RUP Phases –Inception –Elaboration –Construction –Transition.
Tietojärjestelmien peruskurssi Systeemisuunnittelu ja prototyyppimenetelmä Malin Brännback.
Computers Are Your Future Eleventh Edition Chapter 13: Systems Analysis & Design Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
CS 360 Lecture 3.  The software process is a structured set of activities required to develop a software system.  Fundamental Assumption:  Good software.
Feasibility Study.
 CS 5380 Software Engineering Chapter 2 – Software Processes Chapter 2 Software Processes1.
Iterative development and The Unified process Chapter 2 Applying UML and Patterns -Craig Larman.
Chapter 7 Applying UML and Patterns -Craig Larman
Object-oriented Analysis and Design Stages in a Software Project Requirements Writing Analysis Design Implementation System Integration and Testing Maintenance.
Chapter 7 Applying UML and Patterns Craig Larman
13-January-2003cse LifeCycle © 2003 University of Washington1 Lifecycle CSE 403, Winter 2003 Software Engineering
 Development is organized in a series of short, fixed-length mini-projects called iterations  Iterations are also incremental  Successive enlargement.
Methodologies. Contents Waterfall Model Evolutionary Models Incremental Development.
Chapter 2 Iterative, Evolutionary, and Agile You should use iterative development only on projects that you want to succeed. - Martin Fowler 1CS
Notes of Rational Related cyt. 2 Outline 3 Capturing business requirements using use cases Practical principles  Find the right boundaries for your.
Writing requirements specifications. Why we need requirements specifications To give structure to your desires To avoid waste of resources To avoid slippage.
Rational Unified Process Mr Hisham AlKhawar. Iterative versus Waterfall  We need to use a life cycle model in order to approach developing a system easily,
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 other methodologies 1 Method/Process = step-by-step description of the steps involved.
IS Analysis and Design. SDLC Systems Development Life Cycle Break problems into management review stages Control cost and time Works best with well understood.
Inception Chapter 4 Applying UML and Patterns -Craig Larman.
Rational Unified Process Fundamentals Module 3: Disciplines I.
Rational Unified Process (RUP) Process Meta-model Inception Phase These notes adopted and slightly modified from “RUP Made Easy”, provided by the IBM Academic.
J. Scott Hawker p. 1Some material © Rational Corp. Rational Unified Process Overview See and use the RUP Browser on lab machines.
Software Engineering 1 Object-oriented Analysis and Design Applying UML and Patterns An Introduction to Object-oriented Analysis and Design and Iterative.
Chapter 4. Inception is NOT Requirements: Inception is a short, initial stage. Its purpose is a common vision and scope measurement. needed to do: –analyze.
Week 2. Topics Inception phase Evolutionary requirements Use cases.
Ivar Jacobson, Grady Booch, and James Rumbaugh The Unified Software Development Process Addison Wesley, : James Rumbaugh's OOMD 1992: Ivar Jacobson's.
Inception is not Requirement phasee Chapter 3 and 4 Applying UML and Patterns -Craig Larman.
Rational Unified Process (RUP)
Chapter 8: Iteration 1 - Basics.  We review here the requirements for first iteration of our case studies. They are a subset of the requirements as described.
Software Development Process CS 360 Lecture 3. Software Process The software process is a structured set of activities required to develop a software.
Larman chapter 41 Inception Larman chapter 4 and 7.
PART II INCEPTION Chapter 4 Inception is Not The Requirements Phase.
RUP RATIONAL UNIFIED PROCESS Behnam Akbari 06 Oct
Software Development. The Software Life Cycle Encompasses all activities from initial analysis until obsolescence Analysis of problem or request Analysis.
TK2023 Object-Oriented Software Engineering
Software Development.
Process 4 Hours.
The Unified Software Development Process
Applying UML and Patterns
Unified Process (UP).
COMP 350: Object Oriented Analysis and Design Lecture 2
Week 2.
Chapter 4 Inception CS John Cole.
CSCI 360: Software Architecture & Design
Presentation transcript:

NJIT Inception is not the Requirements Phase Chapter 4 Applying UML and Patterns Craig Larman

Inception is NOT requirements Purpose is to decide whether to proceed with development, not to define requirements. Only key requirements are ivestigated.

A motto for requirements Le mieux est l’ennemi du bien - Voltaire (The best is the enemy of the good.) Avoid “Paralysis by Analysis” – it kills the budget without significantly benefiting the corporation. Classic Mistake: Too much time and money wasted in the “fuzzy front end.”

Questions during inception What is the vision for this project? What is the business case? Is the project feasible? Should we buy or build? Rough estimate of cost? At end of inception: Go or No Go?

Inception in one sentence Determine the product scope, vision, and business case.

Problem statement Do the stakeholders have basic agreement on the vision of the project, and is it worth investing in serious investigation?

NJIT Inception Artifacts Not all documents are needed for every project.

Vision and Business Case Describes the high level goals and constraints, the business case, and provides an executive summary. Usually has an estimate of costs (+/- 100%) and expected benefits stated in financial terms.

Use Case Model Describes the functional requirements and related non-functional requirements. Preliminary only, usually the names of most of the expected use cases and actors, but usually only about 10% of the use cases are detailed. Do not confuse a use case diagram with a use case. It is mostly text.

About use cases (1) A little knowledge is a dangerous thing. I first studied Use Cases with Ivar Jacobsen. At that time I paid a lot of attention to form. Then, after talking with Craig Larman, I started to appreciate that in the early stages of software development, content overwhelms form.

About use cases (2) I look for good naming conventions, abstraction, and the avoidance of premature design or early commitment to specific technologies. For example, why specify a keyboard before you know whether voice input would be more appropriate? Search the Web for “Alistair Cockburn” for help on writing use cases.

About use cases (3) I have criticized a login use case because a login is a procedure, not a complete user process. While the student argued that Larman encourages creating a separate use case for activities that are shared by many activities, I am still going to insist that early in the process, you must think like an end user, not as a developer.

About use cases (4) While you are working on ESSENTIAL use cases, leave out technical implications and describe only COMPLETE user processes. Later, when you get to the design phase, and you are working or REAL use cases, you can start to think in technical language.

About use cases (4) I have also criticized using the word manage in a Use Case. Larman, on page 67, recommends precisely that term for CRUD use cases. CRUD is usually design, not specification, but I still don't like Larman's suggestion. I strongly prefer Noun Verb phrase names that give clear descriptions of what is happening to ones that use generic terms like information, data, manage, group, etc. Manage would also be more appropriate for activities done by manager than by others, so it is even more ambiguous.

About use cases (5) Naming is one of the most critical activities in the early stages of software development. Names that are chosen tend to determine design more powerfully than almost any other feature. Larman considers assigning responsibilities to objects the most critical activity in object oriented development. That is why patterns were developed. But naming largely determines what objects are created so that activities can be assigned to them.

About use cases (6) An activity I stress more than naming is deferring decisions. I want you to define the problem fully before you start to define a solution. Any work that you do on the problem domain tends to increase the range of possible solutions, while work in the solution domain limits your choices. You want to be certain that the problem domain is large enough to hold some good solutions and hopefully an ideal solution before you start to narrow your choices.

About use cases (7) Premature design is a primary cause of mediocre solutions that may work, but do not give a competitive advantage.

Supplementary Specification Describes non-functional requirements that do not appear elsewhere. Functional requirements describe the functionality of the product. All other requirements that must be met are considered non-functional requirements.

Glossary Describes the key terms in the business domain.

Risk Plan Contains a list of known and expected risks. Includes business, technical, resource, and schedule risks identified by probability and severity. All significant risks should have a response or mitigation plan.

Prototypes / Proof of concepts These may be developed to clarify the vision, or to validate technical ideas. Inception phase prototypes are throw away prototypes, not evolutionary prototype that may be evolved into a product. They are often done with a prototyping tool.

Iteration Plan Describes what to do in the first iteration of the product. Usually implements the core functionality of the product. Eliminate biggest risk first. The worst risk is usually that the final product will not meet the most important requirement.

Phase / Software Development Plan A low precision guess for the duration and effort of the elaboration. Includes tools, people, training and other resources required. May also be called a Resource Plan.

Development Case A description of the Unified Process steps and artifacts for the project. Note that the UP is always customized for each project.

NJIT You know you don’t understand Inception when… (signs of trouble)

Schedule Inception should last a few weeks at most.

Requirements defined Only key requirements should be described during inception. Save the rest for later phases and later iterations.

Accuracy of estimates There is a funnel of cost estimates. The earlier the estimate, the less accurate it is. Inception, Analysis, Design, Construction, next phase, etc… +/- 100% +/-50% +/- 25%+/-10% Some inception estimates are +400/-75%

Do not design architecture Architecture should be done iteratively during elaboration. Defer decisions as late as possible. The more you know, the less chance that you will make a bad decision.

Path to disaster The Waterfall method is too risky: Define the requirements Design the architecture Implement the product Use iterations instead.

Always needed The most essential inception document is the Business Case or Vision artifact. The main purpose is to decide whether or not to proceed with the project. Note that there are usually further Quality Gates that also must revisit the Go/No Go decision. (Just because you wasted $1 million is no reason to waste $10 million.)

Use Cases and Actors You should have identified most of the use cases and actors during inception. Do not detail all of the use cases. Only document the most important ones. About 10 or 20% of the use cases should be detailed enough to estimate the scope of the total project.