Software Special Development 1

Object-Oriented Analysis and Design. ... RUP (Rational Unified Process) UML (unified Modeling Language) Software Process Improvement ... • Use-case-dr...

0 downloads 290 Views 709KB Size
Software Modeling & Analysis

- Fundamentals of Software Engineering - Software Process Model

Lecturer: JUNBEOM YOO [email protected]

What is Software Engineering? •

[ IEEE Standard 610.12-1990 ] Software Engineering: (1) The application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software; that is, the application of engineering to software. (2) The study of approaches as in (1).

[ Fritz Bauer (1969) ] Software Engineering is the establishment and use of sound engineering principles in order to obtain economically software that is reliable and works efficiently on real machines.

[ Watts Humphrey (1995) ] The disciplined application of engineering, scientific, and mathematical principles and methods to the economical production of quality software. Konkuk University


What is Software Engineering? • [ Junbeom Yoo (2008) ] All activities to develop and manage software well • [ Roger S. Pressman (2005) ] Software engineering is a layered technology. Tools Methods Process A quality focus

Konkuk University


What is Software Engineering? • A layered technology Tools provide automated or semiautomated support for the process and the methods

Methods provide the technical “how to’s” for building software

Tools Methods Process A quality focus

Any engineering approach must rest on an organizational commitment to Quality Konkuk University

Process is the glue that holds the technology layers together and enables rational and timely development of software


Software Engineering Technologies Requirements Engineering (Elicitation & Specification) Reliability Engineering Safety Analysis Structured Analysis and Design Object-Oriented Analysis and Design Test Driven Development (TDD) XP (eXtreme Programming) RUP (Rational Unified Process) UML (unified Modeling Language) Software Process Improvement (SPI) Configuration Management Project Management Software Architecture Software Product Line Design Patterns Formal Methods (Formal Verification) .NET J2EE XML WEB

Tools Methods Process A quality focus

Telelogic Tau, ClearCase, ClearQuest, SDL Rational Rose Visual Studio SMV, SPIN, VIS Konkuk University


IEEE Software Engineering Standards • Process standards – IEEE-Std 1074-1997, IEEE Standard for Developing Software Life Cycle Processes – IEEE Std 1012-1998, IEEE Standard for Software Verification and Validation

• Product standards – IEEE Std 829-1998, IEEE Standard for Software Test Documentation – IEEE Std 830-1998, IEEE Recommended Practice for Software Requirements Specifications

Konkuk University


Software Process Model • What is it? – Process models define a distinct set of activities, actions, tasks, milestones, and work products that are required to engineer highquality software. – Defines Who is doing What, When to do it, and How to reach a certain goal. – Process models were originally proposed to bring order to the chaos of software development.

• Typical Process Models – – – –

Waterfall Model / Incremental Model Evolutionary Models (Prototyping, Spiral) Specialized Model (Component-Based Development, Formal Methods) Unified Process (RUP) Konkuk University


Waterfall Model • A classic life cycle model – Suggests a systematic, sequential approach to software development – The oldest paradigm – Useful in situations where requirements are fixed and work is to proceed to completion in a linear manner

Communication Project initiation Requirements gathering

Planning Estimating Scheduling Tracking

Modeling Analysis Design

Construction Code Test

Deployment Delivery Support Feedback

Konkuk University 8 More Info.:

Incremental Model • What is it? – Combines elements of the waterfall model applied in an iterative fashion – Delivers a series of releases(increments) that provides progressively more functionality for the customer as each increment is delivered Software Functionality and Features

delivery of Nth increment

delivery of 2nd increment delivery of 1st increment

Konkuk University

Project Calendar Time


Evolutionary Model • Prototyping Model – Used when customer does not indentify detailed requirements – Used when developers may be unsure of the efficiency of the algorithm, adaptability of OS, or the form of HMI should take – Commonly used within the context of other process models Communication

Deployment Delivery

Quick plan


Construction of



Quick design

Konkuk University 10 More Info.:

Evolutionary Model • Spiral Model – Software is developed in a serious of evolutionary releases

Excerpted from “Software Engineering: A Practitioner’s Approach” by Roger S. Pressman

Konkuk University

11 More Info.:

Specialized Model • Component-Based Development (CBD) – Use commercial off-the-shelf(COTS) software components – CBD-based Software development steps: 1. 2. 3. 4. 5.

Available component-based products are researched and evaluated Component integration issues are considered A software architecture is designed to accommodate the component Components are integrated into the architecture Comprehensive testing is conducted to ensure proper functionality

• Let’s give your opinion upon CBD !!!

Konkuk University


Specialized Model • Formal Methods – Formal Specification : write software requirements mathematically (logically) with support of automatic tools – Formal Verification : prove its correctness mathematically – Aiming at defect-free software – Highly recommended to use to develop safety-critical systems • • • •

Nuclear Power Plants Railroad Control Satellite Control Aerospace Industry (i.e. NASA)

• Let’s give your opinion upon Formal Methods !!!

Konkuk University


Unified Process • called as Rational Unified Process (RUP)

• What is it? – A Software development approach that is • Iterative, • Architecture-centric, and • Use-case-driven

– A Well-defined and well-structured software engineering process – A Process product that provides you with a customizable process framework for software engineering

Konkuk University


The Spirit of the RUP • Essential Principles – – – – – – – –

Attack major risks early and continuously … or they will attack you. Ensure that you deliver value to your customer. Stay focused on executable software. Accommodate change early in the project. Baseline an executable architecture early on. Build your system with components. Work together as one team. Make quality a way of life, not an afterthought.

Konkuk University


RUP : A Software Development Process • An Iterative Development

Excerpted from “Software Engineering: A Practitioner’s Approach” by Roger S. Pressman

Konkuk University


RUP : A Well-Defined Software Engineering Process • Dynamic Structure of RUP 1. Inception Phase: •

Define the scope and lifecycle of the project

2. Elaboration Phase: •

Mitigate risks and create a stable baseline architecture

3. Construction Phase: •

Develop the remainder of the system as efficiently as possible

4. Transition Phase: •

Get customer acceptance of the product




Transition 17

Lifecycle Objective Milestone

Lifecycle Architecture Milestone Konkuk University

Initial Operational Capability Milestone

Pro Milestone 17

RUP : A Well-Defined Software Engineering Process • Static Structure of RUP 1. 2. 3. 4.

Role : Who? Activity : How? Artifact : What? Workflow : When?


Use-Case Analysis




responsible for Use-case Realization • models • documents • source code • Prototype Konkuk University

Use-Case Design

RUP : A Well-Defined Software Engineering Process • Workflow – A way to describe meaningful sequences of activities – A way to show interactions between roles – 2 forms of workflows 1. Disciplines : - High-level workflows 2. Workflow Details : - Workflows within a discipline

Excerpted from “RUP iteration planning” in

Konkuk University


RUP : A Well-Defined Software Engineering Process • 9 Disciplines – Logical containers of all process elements 1. 2. 3. 4. 5. 6.

Business modeling Requirements management Analysis and design Implementation Test Deployment

7. Change management 8. Project management 9. Environment © Copyright by Rational Rose Corporation

Konkuk University


RUP : A Well-Defined Software Engineering Process • Workflow Details – Each workflow creates one or more models implemented with UML Use Case Diagrams Requirements

Use Case Model Class Diagrams


Analysis Model

Component Diagrams

Design Model

Deployment Diagrams

Deployment Model

Sequence Diagrams

Implementation Model

Collaboration Diagrams



Statechart Diagrams Test Model


All diagrams

Activity Diagrams Konkuk University


RUP : A Well-Defined Software Engineering Process • Major work products produced for each RUP phase Inception phase Vision document Initial use-case model Initial project glossary Initial business case Initial risk assessment Project plan - phases and iterations Business model Prototypes

Elaboration phase Use-case model Supplementary requirements - including non-functional Analysis model Software architecture description Executable architectural prototype Preliminary design model Revised risk list Project plan including - iteration plan - adapted workflows - milestones - technical work products Preliminary user manual

Construction phase Design model Software components Integrated software increment Test plan and procedure Test cases Support documentation - user manuals - installation manuals - description of current increment

Konkuk University

Transition phase Delivered software increment Beta test reports General user feedback


RUP : A Customizable Process Product • To accommodate various needs requiring a process that is adapted to their specific situation 1. 2. 3. 4. 5.

Best practices Configuration tools: selecting appropriate best practices Process delivery tools: accessing selected best practices Online community: exchanging artifacts and experiences with others Process authoring tools: adding new best practices to the RUP

Rational Unified Process

Process Authoring

Configuration Tools

Best Practices Konkuk University

Process Delivery Tools

Community / Marketplace 23

Summary • What is Software Engineering? • What is Software Process Model? – Why you have to use the software process model? – Can you clarify the difference between typical process models?

• What is the RUP? – What is the relationship between UML and RUP?

Konkuk University


Recommended Supplementary Text

Konkuk University