2. Analysis, Design and Implementation



Similar documents
2. Analysis, Design and Implementation

CHAPTER_3 SOFTWARE ENGINEERING (PROCESS MODELS)

Software Engineering. Software Processes. Based on Software Engineering, 7 th Edition by Ian Sommerville

To introduce software process models To describe three generic process models and when they may be used

General Problem Solving Model. Software Development Methodology. Chapter 2A

I219 Software Design Methodology

SOFTWARE PROCESS MODELS

CS 389 Software Engineering. Lecture 2 Chapter 2 Software Processes. Adapted from: Chap 1. Sommerville 9 th ed. Chap 1. Pressman 6 th ed.

Software Engineering. What is a system?

Software Development Processes. Software Life-Cycle Models

The Unified Software Development Process

Software Development Processes. Software Life-Cycle Models. Process Models in Other Fields. CIS 422/522 Spring

1.1 The Nature of Software... Object-Oriented Software Engineering Practical Software Development using UML and Java. The Nature of Software...

3C05: Unified Software Development Process

Software Engineering. Software Development Process Models. Lecturer: Giuseppe Santucci

Introduction to Software Engineering. Adopted from Software Engineering, by Ian Sommerville

Classical Software Life Cycle Models

CS4507 Advanced Software Engineering

CS 487. Week 8. Reference: 1. Software engineering, roger s. pressman. Reading: 1. Ian Sommerville, Chapter 3. Objective:

Software Lifecycles Models

The Software Lifecycle. Software Lifecycles

Unit 1 Learning Objectives

(Refer Slide Time: 01:52)

What is a life cycle model?

Software Processes. The software process. Generic software process models. Waterfall model. Waterfall model phases

CHAPTER. Software Process Models

Peter Mileff PhD SOFTWARE ENGINEERING. The Basics of Software Engineering. University of Miskolc Department of Information Technology

How To Design An Information System

The Software Process. The Unified Process (Cont.) The Unified Process (Cont.)

ISSUES OF STRUCTURED VS. OBJECT-ORIENTED METHODOLOGY OF SYSTEMS ANALYSIS AND DESIGN

Software Life Cycle Processes

Designing Real-Time and Embedded Systems with the COMET/UML method

Project management. Organizing, planning and scheduling software projects

Components Based Design and Development. Unit 2: Software Engineering Quick Overview

4. Software Project Management

Software Engineering. What is SE, Anyway? Based on Software Engineering, 7 th Edition by Ian Sommerville

Software Engineering

Introduction. Getting started with software engineering. Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 1 Slide 1

Software development life cycle. Software Engineering - II ITNP92 - Object Oriented Software Design. Requirements. Requirements. Dr Andrea Bracciali

An Introduction to Software Engineering

An Introduction to Software Engineering. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 1 Slide 1

Software Engineering UNIT -1 OVERVIEW

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

ASSESSMENT OF SOFTWARE PROCESS MODELS

Software Engineering Introduction & Background. Complaints. General Problems. Department of Computer Science Kent State University

SOFTWARE DESIGN TECHNIQUES. Nagalaxmi Telkar CSCI 5828 Presentation Slides

Software Engineering. Objectives. Designing, building and maintaining large software systems

11.1 What is Project Management? Object-Oriented Software Engineering Practical Software Development using UML and Java. What is Project Management?

And the Models Are System/Software Development Life Cycle. Why Life Cycle Approach for Software?

Software Process for QA

IT3205: Fundamentals of Software Engineering (Compulsory)

Software Design Models, Tools & Processes *

Chap 1. Introduction to Software Architecture

Chapter 8 Approaches to System Development

An Introduction to the UML and the Unified Process

Title: Topic 3 Software process models (Topic03 Slide 1).

Software Project Models

Software Process and Models

Objectives. The software process. Basic software process Models. Waterfall model. Software Processes

Introduction to Software Engineering (ESE : Einführung in SE)

Umbrella: A New Component-Based Software Development Model

6. Software Lifecycle Models. A software lifecycle model is a standardised format for planning organising, and running a new development project.

Software Process Models. Xin Feng

Software Development Life Cycle

International Journal of Advance Research in Computer Science and Management Studies

Topics covered. An Introduction to Software Engineering. FAQs about software engineering Professional and ethical responsibility

Lecture Objectives. Software Life Cycle. Software Engineering Layers. Software Process. Common Process Framework. Umbrella Activities

PROJECT MANAGEMENT METHODOLOGY OF OBJECT- ORIENTED SOFTWARE DEVELOPMENT

Application of UML in Real-Time Embedded Systems

In this Lecture you will Learn: Systems Development Methodologies. Why Methodology? Why Methodology?

10/4/2013. Sharif University of Technology. Session # 3. Contents. Systems Analysis and Design

Knowledge, Certification, Networking

Software Engineering Reference Framework

What CMMI Cannot Give You: Good Software

A Comparison between Five Models of Software Engineering

Software Processes. Topics covered

Engineering Process Software Qualities Software Architectural Design

Software Development Process Models and their Impacts on Requirements Engineering Organizational Requirements Engineering

SE464/CS446/ECE452 Software Life-Cycle and Process Models. Instructor: Krzysztof Czarnecki

Process Methodology. Wegmans Deli Kiosk. for. Version 1.0. Prepared by DELI-cious Developers. Rochester Institute of Technology

The most suitable system methodology for the proposed system is drawn out.

TRADITIONAL VS MODERN SOFTWARE ENGINEERING MODELS: A REVIEW

Module 2. Software Life Cycle Model. Version 2 CSE IIT, Kharagpur

Project management. Organizing, planning and scheduling software projects. Objectives. Chapter 3. Chapter 3 Project Management. Learning Objective

Introduction to Software Engineering

SOFTWARE ENGINEERING IT 0301 Semester V B.Nithya,G.Lakshmi Priya Asst Professor SRM University, Kattankulathur

In the IEEE Standard Glossary of Software Engineering Terminology the Software Life Cycle is:

Organizing, planning and scheduling software projects

Introduction to Systems Analysis and Design

Project management. Organising, planning and scheduling software projects. Ian Sommerville 2000 Software Engineering, 6th edition.

Analysis and Design with UML

Karunya University Dept. of Information Technology

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

Basic Unified Process: A Process for Small and Agile Projects

Development models. 1 Introduction. 2 Analyzing development models. R. Kuiper and E.J. Luit

Chapter 13: Program Development and Programming Languages

Name of pattern types 1 Process control patterns 2 Logic architectural patterns 3 Organizational patterns 4 Analytic patterns 5 Design patterns 6

Software Processes. Coherent sets of activities for specifying, designing, implementing and testing software systems

Overview of Software Engineering and the Software Development Process

Modelli di sviluppo software. Enrico Giunchiglia

Transcription:

2. Subject/Topic/Focus: Software Production Process Summary: Software Crisis Software as a Product: From Individual Programs to Complete Application Systems Software Development: Goals, Tasks, Actors, Issues Software Development Models Objectory: The UML Software Development Process Literature: [Sommerville96] [Brooks72] [Fowler99] [Booch, Jacobsen, Rumbaugh99] Last change: November 29, 1999 2.1 Software Crisis declared in the late 60 s at the NATO Conferences Software Engineering Techniques, Oct. 1968 and Oct. 1969 expressed by delays and failures of major software projects that resulted in unreached goals, unpredictable costs and unmaintainable software was obviously driven by uncoordinated and unstructured programming ( hacking ) lead to a new research and engineering discipline: Software Engineering vs. Software Engineering Methods Models Tools and concepts 2.2 2.1

From Programs to Application Systems Products A Program X 3 An Application System X 3 X 3 complexity x 9 A Program Product X 3 An Application Systems Product 2.3 A Program developed by a single programmer A Program complete in itself one customer & one user: the author operational only on the author s system for which it was developed Example: My address manager written in VisualBasic. 2.4 2.2

An Application System An Application System contains many programs for different tasks components coordinated in function programs disciplined in format well defined interfaces between components one customer with many users Example: Information system for all departments (stock, accounts, management,...) of firm X 2.5 A Program Product A Program Product developed by a developer team thoroughly tested and well documented many single customers (= users) specialized to one task available for different environments Example: Microsoft Word 2.6 2.3

An Application Systems Product An Application Systems Product combines the attributes of program complete in itself application system programs disciplined in format coordinated components many users program product developed by a team thoroughly tested usable on different platforms many customers Example: SAP 2.7 Software Systems Characteristics Software is an immaterial product. Software does not underlie an aging process in the common sense. For software there are no spare parts as there are for machinery etc. Software does not wear off and therefore it does not need maintenance in the common sense. Software is easier changed than other technical products. Software has to be adapted to changes of requirements or environments. Software does not result from a traditional production process but from product development. 2.8 2.4

Software Product Attributes Essential attributes of well-engineered software: Maintainability possibility to evolve software to meet the changing needs of a customer well defined interfaces to third party products Dependability reliable systems which do not cause physical or economical damage in case of system failure security and safety Efficiency no wasteful use of resources like memory, storage, or processor cycles Usability appropriate user interface adequate documentation 2.9 Goals and Tasks of Software Development Main Goals Main Tasks Product related: Usability Productivity Quality Process related: Schedules and costs Analysis Design Implementation Test Introduction Maintenance Mission: Delivering a product that is useful and used at the predicted costs. in time 2.10 2.5

Meeting the Industrial Requirements The software product has to meet the specification. Track any change of requirements during development process. Prepare for changes of hardware platforms and/or software environments. Develop in cycles and evaluate early using prototypes. The software product has to be produced in time. Apply project management and project organization. Employ qualified experts. Plan the installation of the software system and the education of users. The software product should not exceed the estimated costs. Use of-the-shelf components as far as possible Apply standards 2.11 Actors in Software Development Customer and Users Requirements Use & evaluate prototypes Training System engineers Problem definition Solution analysis Process planning Process control Product evaluation Communication capability & competence Project managers Planning Organizing Staffing Directing Controlling Software engineers Software design Coding Unit testing Subsystem integration 2.12 2.6

Characteristics complex product Issues in Software Development complex development process many developers Communication users, domain experts & developers different developers in different development phases developers on different platforms development & maintenance Problems representation of complex domains graphically & textually prototypes dividing large problems into small manageable systems accuracy formality verification, proof contra creativity flexibility conviction, belief teamwork distribution sharing & coordination communication Goal: Systematics and routine by using methods and models 2.13 Requirements Analysis: Why? Abstraction Levels Real-World Model Application Model requirements domain knowledge goals System Design: What? System Design abstractions models structures architecture Software Implementation: How? Software Implementation algorithms generic services platform-specific services 2.14 2.7

System Development: Models & Methods (1) 1. Waterfall model Requirements definition, analysis The development phases are performed sequentially. System and software design Implementation and unit testing Integration and system testing [Ian Sommerville; Software Engineering, Addison Wesley, 1982] Operation and maintenance 2.15 System Development: Models & Methods (2) 1. Waterfall model (modified) Requirements definition, analysis... but there are backward loops in case of changing requirements, error corrections,... System and software design Implementation and unit testing Integration and system testing [Ian Sommerville; Software Engineering, Addison Wesley, 1982] Operation and maintenance 2.16 2.8

System Development: Models & Methods (3) 2. Evolutionary development Concurrent activities Prototypes Specification Initial version Outline description Development Intermediate versions Validation Final version [Ian Sommerville; Software Engineering, Addison Wesley, 1982] 2.17 System Development: Models & Methods (4) 3. Boehm s spiral model [Ian Sommerville; Software Engineering, Addison Wesley, 1982] 2.9

Objectory: The UML Software Development Process Inception establishes the business rationale for the project and decides on the scope of the project. Inception Elaboration is the phase where you collect more detailed requirements, do high-level analysis and design to establish a baseline architecture and create the plan for construction. Elaboration Construction is an iterative and incremental process. Each iteration in this phase builds production-quality software prototypes, tested and integrated as subset of the requirements of the project. Construction 1 2 3 4 5... Transition contains beta testing, performance tuning and user training. Transition 2.19 Objectory : Incremental Iterations Analysis Design Elaboration Requirements binding contracts Transition Project deliverables Demonstration Integration Coding Debugging Construction Executable modules 2.20 2.10

Inception can take many forms: First Step: Inception For some projects it is a chat at the coffee machine. For bigger projects it is a full-fledged feasibility study that takes months. During the inception phase you work out the business case for the project: Derive how much the project will cost. Estimate how much profit it will bring in. Some initial analysis is required to get a sense of the project s scope and size. Inception should be a few days of work to consider if it is worth doing a few months of work of deeper investigation during elaboration. At the point of inception the project sponsor agrees to no more than a serious look at the project: Do we go ahead with the project? 2.21 Second Step: Elaboration Starts after you have received the go-ahead to start the project agreement. At this stage you typically have only a vague idea of the requirements. We are going to build the next generation customer support system for the Watts Galore Utility Company. We intend to use object-oriented technology to build a more flexible system that is more customer oriented - specifically, one that will support consolidated customer bills. Elaboration is the point where you want a better understanding of the problem: What is it you are actually going to build? How are you going to build it? What technology are you going to use? Elaboration includes to have a careful and thorough look at the possible risks in your project: What are the things that could derail you? 2.22 2.11

Elaboration: Systems Analysis Rationale: Finding and fixing a fault after software delivery is 100 times more expensive than finding and fixing it during systems analysis or early design phases. The goal of analysis is to develop a model of what the system will do. The analysis should include information required to understand what is meaningful from a real world system. The client of a system should understand the analysis model. The analysis phase delivers a base from which further details are derived in the design phase. Analysis provides the requirements and the real-world environment in which the software system will exist. Object-oriented analysis forces a seamless development process with no discontinuities because of continuos refinement and progressing from analysis through design to implementation. 2.23 Analysis: Actors, Steps, Deliverables Customer requirements Developer needs Manager priorities Problem Analysis Problem statement Model Design Represented by Texts Spreadsheets Diagrams... 2.24 2.12

Design: Actors, Steps, Deliverables Problem statement Users interviews Domain knowledge Real-world experience Model Design Represented by e.g. UML diagrams for Use Cases Classes Interactions Packages States Activities... 2.25 Analysis: Requirements Capture Identify typical use cases of the system you are going to build. For a person using a database a typical use case would be: list all customers who have ordered a certain product create a list with my top 10 customers I want fax-letters to be sent automatically A developer responds with specific cost estimates: The top 10 customer list can be developed in a week. Creating the auto-fax function will take two months. User and developer negotiate about the priorities: Developer: I could start with the sold - products list. Customer: I definitely need the top 10 customers list first. Use case 1 Use case 3 Use case 2 2.26 2.13

Elaboration: Planning Schedule use cases to specific iterations and dates of delivery. The customers should indicate the level of priority for each use case. I absolutely must have this function for any real system. I can live without this function for a short period. It is an important function, but I can survive without it for a while. The developers should consider the architectural risk. Do not omit use cases which later require a lot of rework to fit them in. Concentrate to the use cases which are technologically most challenging. The developers should be aware of the schedule risks. I m pretty sure I know how long it will take. I can estimate the time only to the nearest man-month. I have no idea. 2.27 Planning: Estimate Once the use cases are assigned, the length of each iteration should be estimated to the nearest person-week. In performing this estimate assume you need to do analyzing designing coding unit testing integration documentation! The estimates should be done by the developers, not by the managers. 2.28 2.14

Third Step: Construction Construction builds the system in a series of iterations. Each iteration is a project in itself. Use case 1 Use case 2 Use case 3 Analysis Use case 4 Use case 5 Iteration 5 Iteration 4 Iteration 3 Iteration 2 Iteration Use Case driven system increments Demonstration Integration Design Coding Debugging During each iteration you go through a cycle of analyzing, designing, coding, debugging, integration and demonstration of the implemented use case by a prototype. 2.29 Modeling Process vs. Modeling Language Modeling Process (e.g. Objectory ) Methodology used to describe the differnt stages during analysis and design of complex software Recommended proceeding to get from one development phase to the next Which steps have to be executed in which sequence to develop a system that meets the customers requirements? Modeling Language (e.g. UML) Notation that visualizes requirements and results for each stage of a modeling process, e.g. requirements of the customer design decisions of the developer properties and (expected) behaviour of the software How to write down requirements, properties and design decisions for the software at the current stage of development? 2.30 2.15

Construction: Iterations Finish the iteration with a demo to the user and perform system tests to confirm that the use cases have been built correctly. Iterations within a construction are both, incremental and iterative. Iterations are incremental in function. Each iteration builds on the use cases implemented in the previous iteration They are iterative in terms of the code base which will be rewritten to make it more flexible. Do not underestimate the testing phase. Write test code. Separate the test into unit and test code. Unit tests should be written by the developers. Apply all tests after each iteration. 2.31 2.16