Software Engineering

Similar documents
The software process

II. Software Life Cycle. Laurea Triennale in Informatica Corso di Ingegneria del Software I A.A. 2006/2007 Andrea Polini

Software Processes. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 4 Slide 1

Based on Software Engineering, by Ian Sommerville Coherent sets of activities for specifying, designing, implementing and testing software systems

Software Processes. Objectives. Topics covered. The software process. Waterfall model. Generic software process models

Lectures 2 & 3. Software Processes. Software Engineering, COMP201 Slide 1

Objectives. The software process. Topics covered. Waterfall model. Generic software process models. Software Processes

Topics covered. Software process models Process iteration Process activities The Rational Unified Process Computer-aided software engineering

CMSC 435: Software Engineering Section Back to Software. Important: Team Work. More Resources

Lecture 1. In practice, most large systems are developed using a. A software process model is an abstract representation

Software Processes 1

Software Engineering

Software Engineering COMP 201

Pertemuan 2. Software Engineering: The Process

9/24/2011 Sof o tw t a w re e P roc o e c s e s s s Mo M d o e d l e s l 1 Wh W a h t t i s i s a Pr P oc o ess s 2 1

A New Divide & Conquer Software Process Model

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Software Engineering Third Year CSE( Sem:I) 2 marks Questions and Answers

The Top Thrill Dragster

ABHELSINKI UNIVERSITY OF TECHNOLOGY

An Overview of Software Process

Chapter 3. Information Systems Development. McGraw-Hill/Irwin. Copyright 2007 by The McGraw-Hill Companies, Inc. All rights reserved.

SWE 211 Software Processes

CSE 435 Software Engineering. Sept 14, 2015

Introduction to Software Engineering

Chapter 3 Prescriptive Process Models

Course Organization. Lecture 1/Part 1

Software Development Software Development Activities

Software Processes. CSE-C3610, Software Engineering, 5 cr. Prof. Casper Lassenius

A Comparative Study on Software Development Life Cycle Models

Note 10: Software Process

V Model material adapted from Steve Easterbrook. Waterfall Model material adapted from Steve Easterbrook. Lifecycle of Software Projects

SW CMM. Capability Maturity Models. Level 1: Initial Level SW CMM (2) CS 390 Lecture 8 Improving the Software Process

Chapter 6. Software Quality Management & Estimation

7. Model based software architecture

This chapter illustrates the evolutionary differences between

Object-Oriented and Classical Software Engineering

BCS THE CHARTERED INSTITUTE FOR IT. BCS HIGHER EDUCATION QUALIFICATIONS BCS Level 6 Professional Graduate Diploma in IT SOFTWARE ENGINEERING 2

Object-Oriented and Classical Software Engineering THE SOFTWARE PROCESS 9/17/2017. CHAPTER 3 Slide 3.2. Stephen R. Schach. Overview Slide 3.

SDLC Models- A Survey

Chapter 2 Objectives. Pfleeger and Atlee, Software Engineering: Theory and Practice (edited by B. Cheng) Chapter 2.

Rational Software White Paper TP 174

Lecture 2: Software Quality Factors, Models and Standards. Software Quality Assurance (INSE 6260/4-UU) Winter 2016

Software Process. Overview

Introduction to Software Engineering: Project Management ( Highlights )

Software Quality Engineering Courses Offered by The Westfall Team

Software Quality Engineering Courses Offered by The Westfall Team

Major attributes of the Lifecycle. The Systems Development Lifecycle. Project phases. Planning. Design. Analysis

Darshan Institute of Engineering & Technology for Diploma Studies Rajkot Unit-1

Explore Comparative Analysis Software Development Life Cycle Models

Software Modeling & Analysis. - Fundamentals of Software Engineering - Software Process Model. Lecturer: JUNBEOM YOO

Information Systems Development

Foundations of Software Engineering. Lecture 16: Process: Linear to Iterative Michael Hilton

Objectives. Rapid software development. Topics covered. Rapid software development. Requirements. Characteristics of RAD processes

Sistemi ICT per il Business Networking

The Systems Development Lifecycle

Software Engineering Part 2

CMMI GLOSSARY A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Chapter 3 Software Process Model

Credit where Credit is Due. Lecture 2: Software Engineering (a review) Goals for this Lecture. What is Software Engineering

understand, in outline, the activities involved in software requirements engineering, software development, testing and evolution;

Software Engineering. Lecture 2: The Personal Software Process

Software Design COSC 4353/6353 D R. R A J S I N G H

Software Engineering Modern Approaches

Processes. Object Orientated Analysis and Design. Benjamin Kenwright

Part 1. Software engineering Facts. CSC 4181 Compiler Construction Software Engineering Lectures. What is software engineering? What is software?

A Comparison Between Evolutionary and Prototype Model

Lecture 5. Software Processes CSC 4700 Software Engineering. Software Development Processes. The software process

REQUIREMENTS ENGINEERING

The Product and the Process The Product The Evolving Role of Software Software Software: A Crisis on the Horizon Software Myths Summary References

2009 Spring. Software Modeling & Analysis. - Software Process Model. Lecturer: JUNBEOM YOO

MTAT Software Engineering Management

Chapter 1 Systems Development in an Organization Context

CHAPTER 2 LITERATURE SURVEY

Waterfall model is the earliest SDLC approach that was used for software development.

Selecting Software Development Life Cycles. Adapted from Chapter 4, Futrell

Understanding Model Representations and Levels: What Do They Mean?

Software Development Methodologies

03. Perspective Process Models

Software Engineering

Agile Surveillance Points

PART THREE: Work Plan and IV&V Methodology (RFP 5.3.3)

CMPT 275 Software Engineering

WORK PLAN AND IV&V METHODOLOGY Information Technology - Independent Verification and Validation RFP No IVV-B

Software Processes. Minsoo Ryu. Hanyang University. Real-Time Computing and Communications Lab., Hanyang University

Ingegneria del Software Corso di Laurea in Informatica per il Management

Modern Systems Analysis and Design Seventh Edition

5) A work breakdown structure is a list of tasks broken down to small manageable activities. Answer: TRUE Diff: 2 Page Ref: 42

Software technology 3. Process improvement models. BSc Course Dr. Katalin Balla

This tutorial also elaborates on other related methodologies like Agile, RAD and Prototyping.

CITS5501 Software Testing and Quality Assurance Standards and quality control systems

SHRI ANGALAMMAN COLLEGE OF ENGINEERING & TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR,TRICHY

Volume 8, No. 1, Jan-Feb 2017 International Journal of Advanced Research in Computer Science RESEARCH PAPER Available Online at

Introduction to Software Life Cycles. CSCI 5828: Foundations of Software Engineering Lecture 06 09/08/2016

Quality 24 Process Improvement 26 Real processes. Product Quality. Quality Management. Quality Management. Quality Plan

Softwaretechnik. Lecture 02: Processes. Peter Thiemann SS University of Freiburg, Germany

SE351 Roadmap. SE351a: Software Project & Process Management. W3.2: Software Development Lifecycles

Best Practices for Enterprise Agile Transformation

Object-Oriented Software Engineering Practical Software Development using UML and Java. Chapter 11: Managing the Software Process

A Comparison Between Two Software Engineering Processes, RUP And Waterfall Models

Transcription:

Software Engineering (CS550) Software Development Process Jongmoon Baik

Software Development Processes (Lifecycle Models) 2

What is a S/W Life Cycle? The series of stages in form and functional activity through which an organism passes between successive recurrence of a specified primary stage Webster (1982) Period of time that begins when a software product is conceived and ends when the product is retired from use Don Reifer (1997) Conversion Development Stage Ideally using S/W development process model (methodology) Operation & Maintenance Ideally using chosen technologies Obsolescence 3

What is Software Process? Software process a set of activities, methods, best practices, deliverables, and automated tools that stakeholders use to develop and continuously improve software. Using a consistent process for software development: Create efficiencies that allow management to shift resources between projects Produces consistent documentation that reduces lifetime costs to maintain the systems Promotes quality 4

What is S/W Process (Life Cycle) Model? Software Process Model An abstract representation of a process A description of a process from some particular perspective Attempt to generalize the s/w development process into steps with associated activities and/or artifacts Proliferation of S/W Process Models Provides flexibility for organizations to deal with the wide variety of software project situations, cultures, and environments Weakens the defenses against some common sources of project failure 5

Process = Lifecycle Software process is not the same as life cycle models. process refers to the specific steps used in a specific organization to build systems indicates the specific activities that must be undertaken and artifacts that must be produced process definitions include more detail than provided lifecycle models Software processes are sometimes defined in the context of a lifecycle model. 6

Generic S/W Process Models Build-And Fix Model Waterfall Model Process phases are distinct and separate Evolutionary Development Process phases are interleaved Formal Systems Development A mathematical system model is formally transformed to an implementation Component-Based Development The system is assembled from existing components 7

Need to look at with respect to: Scope, time, resources, quality Stakeholders Environments Business / Market Cultures Moral, legal constraints 8

So, when looking at projects Need to ask: What SDLC would fit my project best? (Is this better than what type of project would fit each SDLC?) 9

Build-And-Fix Model The worst (Ad Hoc) model for a software project Become a mess, chuck it, start over No proper specifications and design steps Discouraged from using this model Build First Version Modify until client is satisfied Maintenance 10

Waterfall Model Formal Sign-off at the end of each phase Documentation as product of each phase Document-driven approach Referred to as the linear sequential model or the software life cycle 11

Waterfall Model: Advantages Clear progress state Good for project Management Engineers know their tasks Development is (relatively) slow and deliberate Results in solid, well-constructed systems All sub-goals within each phase must be met Testing is inherent to every phase 12

Waterfall Model : Drawbacks Difficult (Expensive) to accommodate change after process is underway One phase has to be complete before moving to the next phase Inflexible partitioning of the project into distinct stages Difficult to respond to changing customer requirements Few business systems have stable requirements 13

Applicability of Waterfall Model Therefore, Waterfall model is only appropriate when the requirements are well-understood and changes will be fairly limited during the design process Mostly used for large software system projects where a system is developed at several sites 14

Evolutionary Development - I 15

Evolutionary Development - Basic Idea II Build prototype version of system, seek use comments, and keep refining until done Other side of formality spectrum from Waterfall Model 16

Two Flavors of Evolutionary Dev. Exploratory development: Objective is to work with customers and to evolve a final system from an initial outline specification (prototype) Should start with well-understood requirement and add new features as proposed by the customer Throw-prototyping Objective is to understand the system requirements Should start with poorly understood requirements to clarify what is really needed 17

Evolutionary Development: Advantages Faster system development than with waterfall model Useful when requirements are less-well understood Customer inputs throughout development yields system closer to their needs Steady visible signs of progress 18

Evolutionary Dev.: Drawbacks Lack of process visibility Not known how long it will take to create an acceptable product Not known how many iteration will be necessary Systems are often poorly structured Continuous reflection of customer needs Special skills (e.g. in languages for rapid prototyping) may be required. 19

Applicability of Evolutionary Dev. For small or medium-size interactive systems For parts of large systems (e.g. the user interface) For short-lifetime systems 20

Formal Systems Development - I Based on the transformation of a mathematical specification through different representations to an executable program Transformations are correctness-preserving so it is straightforward to show that the program conforms to its specification Embodied in the Cleanroom approach to software development Each transformation should be sufficiently close to avoid excessive verification efforts and reduce the possibility of transformation errors 21

Formal Systems Development - II Requirements definition Formal specification Formal transformation Integration and system testing Formal transformations T1 T2 T3 T4 Formal specification R1 R2 R3 Executable program P1 P2 P3 P4 Proofs of transformation correctness 22

Formal Systems Dev.: Advantages Transformations are small, making verification tractable Resulting implementations are proven to meet specifications, so testing (of components) is unnecessary Although, overall system characteristics (e.g. performance, reliability) still need verification 23

Formal Systems Dev.: Drawbacks Need for specialised skills and training Expertise for the mathematical notations used for formal specifications Development time high (usually not worth the time/cost) No significant quality or cost advantages over other approaches Difficult to formally specify some aspects of the system, e.g. user interfaces 24 24

Applicability of Formal Systems Dev. Critical systems Systems that require strict safety, reliability, and security requirements Critical components within large systems 25

Component-Based Development - I Based on systematic reuse where systems are integrated from existing components or COTS (Commercial-off-the-shelf) systems Process stages Component analysis Requirements modification System design with reuse Development and integration This approach is becoming more important but still limited experience with it 26

Component-Based Development - II Requirements specification Component analysis Requirements modification System design with reuse Development and integration System validation 27

Process iteration System requirements ALWAYS evolve in the course of a project so process iteration where earlier stages are reworked is always part of the process for large systems. Iteration can be applied to any of the generic process models. Two (related) approaches Incremental Model; Spiral Model 28

Incremental Model Rather than deliver the system as a single delivery, the development and delivery is broken down into increments (Builds) with each increment delivering part of the required functionality. Each increments provides more functionality than the previous increment User requirements are prioritized and the highest priority requirements are included in early increments. Once the development of an increment is started, the requirements are frozen though requirements for later increments can continue to evolve. 29

Incremental development Implement and test first build Implement, integrate and test successive build until product is complete Maintenance Series of incremental builds until the product is finished Value assignment to each build not yet implemented Cost estimation of developing each build Value-to-Cost ratio is the criterion used for next build selection 30

Incremental Model: Advantages Customer value can be delivered with each increment so system functionality is available earlier. Early increments act as a prototype to help elicit requirements for later increments. Lower risk of overall project failure. The highest priority system services tend to receive the most testing. 31

Spiral Model - I Represented as a spiral rather than as a sequence of activities with backtracking. Combines the iterative nature of prototyping with the controlled and systematic aspects of the waterfall model Provides the potential for rapid development of incremental versions of software Each loop in the spiral represents a phase in the process. No fixed phases such as specification or design - loops in the spiral are chosen depending on what is required. Risks are explicitly assessed and resolved throughout the process. [Boehm 1988]: A Spiral Model of Software Development and Enhancement 32

Spiral Model - II 33

Spiral Model Sectors - I Determine objectives, alternatives, & constraints Specific objectives for the phase (performance, functionality, ability to accommodate changes etc.) Alternative means of implementing this portion of the product (design A, design B, reuse, buy, etc.) Constraints imposed on the application of the alternatives (cost, schedule, interface, etc.) Evaluate Alternatives, Identify, resolve risks Evaluate alternatives relative to the objectives and constraints Identify areas of uncertainty that significant sources of project risk Formulate a cost effective strategy for resolving sources of risk Prototyping, simulation, benchmarking, reference checking, administering user questionnaires, analytic modeling, or combinations of these and other resolution techniques 34 34

Spiral Model Sectors - II Develop, Verify next-level product A development model for the system is chosen which can be any of the generic models. Evolutionary model, waterfall model, incremental development, combinations, etc. Plan Next Phases The project is reviewed and the next phase of the spiral is planned The review covers all products developed during the previous cycle, plans for the next cycle, resource required Ensure that all concerned parties are mutually committed to the approach for the next phase 35

Six Spiral Model Essentials 1. Concurrent determination of artifacts in each cycle 2. Each cycle addresses objectives, constraints, alternatives, risks, artifact elaboration, stakeholders commitment 3. Risk-driven activity level of effort 4. Risk-driven artifact degree of detail 5. Managing stakeholder commitments via anchor-point milestones 6. Emphasis on system and life-cycle issues - vs. software and development issues 36 36

Spiral Model : Advantages The spiral model is a realistic approach to the development of large-scale software products because the software evolves as the process progresses. In addition, the developer and the client better understand and react to risks at each evolutionary level. The model uses prototyping as a risk reduction mechanism and allows for the development of prototypes at any stage of the evolutionary development. It maintains a systematic stepwise approach, like the classic life cycle model, but incorporates it into an iterative framework that more reflect the real world. If employed correctly, this model should reduce risks before they become problematic, as consideration of technical risks are considered at all stages. 37

IBM-UP Model - I IBM-UP (Unified Process) A modern process model derived from the work on the UML and associated process. Normally described from 3 perspectives A dynamic perspective that shows phases over time A static perspective that shows process activities A proactive perspective that suggests good practice 38

IBM-UP Model - II 39

Best practices of UP Develop software iteratively Manage requirements Use component based architecture Visually model software Verify software quality Control changes to software 40

Limitations of UP High Adopting UP is often thought to be expensive. Does not cover any non-software aspects of development e.g., system engineering. product-line engineering, safety engineering Considered too practical, as the practicality has been based on current status of the IBM tool suite 41

V Model - I Often used in system engineering environments to represent the system development lifecycle. summarizes the main steps taken to build systems not specifically software describes appropriate deliverables corresponding with each step in the model. 42

V Model - II The left side of the V: the specification stream where the system specifications are defined. The right side of the V: the testing stream where the systems is being tested against the specifications defined on the left side. The bottom of the V where the tails meet, represents the development stream. 43

Current State of the Art Iterative, cyclic development Agile Processes? covered later Software is grown rather than birthed whole Short cycles, Small teams Component development (Reuse, COT, Product Line, etc) More integration vice new development (SoS)? When looking at a new project, DO NOT make your project fit a SDLC!!! INSTEAD, find the right SDLC and tailor it to your project (if it can be). Your organization may drive this But any lifecycle, process should be seen as a tool to assist development, not an end in and of it self. 44 44

Process Model Decision 45 45

Process Assessment and Improvement Standard CMMI Assessment Method for Process Improvement (SCAMPI) provides a five step process assessment model that incorporates five phases: initiating, diagnosing, establishing, acting and learning. CMM-Based Appraisal for Internal Process Improvement (CBA IPI) provides a diagnostic technique for assessing the relative maturity of a software organization; uses the SEI CMM as the basis for the assessment [Dun01] SPICE The SPICE (ISO/IEC15504) standard defines a set of requirements for software process assessment. The intent of the standard is to assist organizations in developing an objective evaluation of the efficacy of any defined software process. [ISO08] ISO 9001:2000 for Software a generic standard that applies to any organization that wants to improve the overall quality of the products, systems, or services that it provides. Therefore, the standard is directly applicable to software organizations and companies. [Ant06] These slides are designed to accompany Software Engineering: A Practitioner s Approach, 7/e (McGraw-Hill, 2009). Slides copyright 2009 by Roger Pressman. 46

Personal Software Process (PSP) Planning. This activity isolates requirements and develops both size and resource estimates. In addition, a defect estimate (the number of defects projected for the work) is made. All metrics are recorded on worksheets or templates. Finally, development tasks are identified and a project schedule is created. High-level design. External specifications for each component to be constructed are developed and a component design is created. Prototypes are built when uncertainty exists. All issues are recorded and tracked. High-level design review. Formal verification methods (Chapter 21) are applied to uncover errors in the design. Metrics are maintained for all important tasks and work results. Development. The component level design is refined and reviewed. Code is generated, reviewed, compiled, and tested. Metrics are maintained for all important tasks and work results. Postmortem. Using the measures and metrics collected (this is a substantial amount of data that should be analyzed statistically), the effectiveness of the process is determined. Measures and metrics should provide guidance for modifying the process to improve its effectiveness. These slides are designed to accompany Software Engineering: A Practitioner s Approach, 7/e (McGraw-Hill, 2009). Slides copyright 2009 by Roger Pressman. 47

Team Software Process (TSP) Build self-directed teams that plan and track their work, establish goals, and own their processes and plans. These can be pure software teams or integrated product teams (IPT) of three to about 20 engineers. Show managers how to coach and motivate their teams and how to help them sustain peak performance. Accelerate software process improvement by making CMM Level 5 behavior normal and expected. The Capability Maturity Model (CMM), a measure of the effectiveness of a software process, is discussed in Chapter 30. Provide improvement guidance to high-maturity organizations. Facilitate university teaching of industrial-grade team skills. These slides are designed to accompany Software Engineering: A Practitioner s Approach, 7/e (McGraw-Hill, 2009). Slides copyright 2009 by Roger Pressman. 48

Standard Processes IEEE and ISO Software Engineering Standards http://standards.ieee.org/catalog/olis/se.html 1074-1997IEEE Standard for Developing Software Life Cycle Processes 1517-1999 (R2004)IEEE Standard for Information Technology - Software Life Cycle Processes - Reuse Processes 12207.0-1996IEEE/EIA Standard: Industry Implementation of International Standard ISO/IEC 12207:1995 Standard for Information Technology--Software Life Cycle Processes. 15288-2004IEEE Std 15288-2004 (Adoption of ISO/IEC 15288:2002, IDT), Systems Engineering---System Life Cycle Processes 49 49

Q & A 50