Slides made by Sommerville adapted by Letizia Jaccheri, all the slides are part of the syllabus Topics covered

Like dokumenter
Programvareprosesser Software Process

A Study of Industrial, Component-Based Development, Ericsson

Unit Relational Algebra 1 1. Relational Algebra 1. Unit 3.3

Emneevaluering GEOV272 V17

Brukerkrav og use case diagrammer og -tekst 19. januar Agenda. Brukerkrav og use case. Diagrammer Tekst.

Risikofokus - også på de områdene du er ekspert

Capturing the value of new technology How technology Qualification supports innovation

HONSEL process monitoring

Little Mountain Housing

Innovasjonsvennlig anskaffelse

En praktisk anvendelse av ITIL rammeverket

Public roadmap for information management, governance and exchange SINTEF

The regulation requires that everyone at NTNU shall have fire drills and fire prevention courses.

ISO 41001:2018 «Den nye læreboka for FM» Pro-FM. Norsk tittel: Fasilitetsstyring (FM) - Ledelsessystemer - Krav og brukerveiledning

Øystein Haugen, Professor, Computer Science MASTER THESES Professor Øystein Haugen, room D

Grunnlag: 11 år med erfaring og tilbakemeldinger

System integration testing. Forelesning Systems Testing UiB Høst 2011, Ina M. Espås,

Slides made by Sommerville adapted by Letizia Jaccheri, all the slides are part of the syllabus This lecture will be filmed

Invitation to Tender FSP FLO-IKT /2013/001 MILS OS

Slope-Intercept Formula

Neural Network. Sensors Sorter

PRINCE2. Projects In Controlled Environments v2

Han Ola of Han Per: A Norwegian-American Comic Strip/En Norsk-amerikansk tegneserie (Skrifter. Serie B, LXIX)

Erfaringer fra en Prosjektleder som fikk «overflow»

E-Learning Design. Speaker Duy Hai Nguyen, HUE Online Lecture

Hvordan komme i gang med ArchiMate? Det første modelleringsspråket som gjør TOGAF Praktisk

Issues and challenges in compilation of activity accounts

Hvordan føre reiseregninger i Unit4 Business World Forfatter:

Norsk (English below): Guide til anbefalt måte å printe gjennom plotter (Akropolis)

Information search for the research protocol in IIC/IID

buildingsmart Norge seminar Gardermoen 2. september 2010 IFD sett i sammenheng med BIM og varedata

Internationalization in Praxis INTERPRAX

Chapter 3 Agile Software Development. Slides by Ian Sommerville Modified by Letizia Jaccheri Topics covered

Den europeiske byggenæringen blir digital. hva skjer i Europa? Steen Sunesen Oslo,

Chapter 4 Requirements Engineering

Moving Objects. We need to move our objects in 3D space.

Enkel og effektiv brukertesting. Ida Aalen LOAD september 2017

EXAM TTM4128 SERVICE AND RESOURCE MANAGEMENT EKSAM I TTM4128 TJENESTE- OG RESSURSADMINISTRASJON

Trust in the Personal Data Economy. Nina Chung Mathiesen Digital Consulting

Fakultet for informasjonsteknologi, Institutt for datateknikk og informasjonsvitenskap AVSLUTTENDE EKSAMEN I. TDT42378 Programvaresikkerhet

Emnedesign for læring: Et systemperspektiv

Databases 1. Extended Relational Algebra

From Policy to personal Quality

Dagens tema: Eksempel Klisjéer (mønstre) Tommelfingerregler

FIRST LEGO League. Härnösand 2012

Fellesprosjekt: gruppe 214

Server-Side Eclipse. Bernd Kolb Martin Lippert it-agile GmbH

Endelig ikke-røyker for Kvinner! (Norwegian Edition)

Forelesning IMT mars 2011

Kapittel 3 Smidig programvareutvikling Carl-Fredrik Sørensen

Kurskategori 2: Læring og undervisning i et IKT-miljø. vår

Server-Side Eclipse. Martin Lippert akquinet agile GmbH

Education 436. September 14, 2011

The North-South Corridor - showing progress

GoOpen 2008 Oslo 8. april. Jernbaneverket Fri programvare i driftskritiske systemer. Ole Morten Killi ole.morten.killi@bouvet.

Bruk av HP Quality Center med smidige utviklingsmetoder. HP Sofware Norge

Managing Risk in Critical Railway Applications

REMOVE CONTENTS FROM BOX. VERIFY ALL PARTS ARE PRESENT READ INSTRUCTIONS CAREFULLY BEFORE STARTING INSTALLATION

The Future of Academic Libraries the Road Ahead. Roy Gundersen

The CRM Accelerator. USUS February 2017

Status for IMOs e-navigasjon prosess. John Erik Hagen, Regiondirektør Kystverket

5 E Lesson: Solving Monohybrid Punnett Squares with Coding

// Translation // KLART SVAR «Free-Range Employees»

INSTALLATION GUIDE FTR Cargo Rack Regular Ford Transit 130" Wheelbase ( Aluminum )

C13 Kokstad. Svar på spørsmål til kvalifikasjonsfasen. Answers to question in the pre-qualification phase For English: See page 4 and forward

STILLAS - STANDARD FORSLAG FRA SEF TIL NY STILLAS - STANDARD

Improving Customer Relationships

TEKSTER PH.D.-VEILEDERE FREMDRIFTSRAPPORTERING DISTRIBUSJONS-E-POST TIL ALLE AKTUELLE VEILEDERE:

Kunnskapsinfrastruktur for forskningsdata i Norge

Hybrid Cloud and Datacenter Monitoring with Operations Management Suite (OMS)

Trigonometric Substitution

Andrew Gendreau, Olga Rosenbaum, Anthony Taylor, Kenneth Wong, Karl Dusen

European Crime Prevention Network (EUCPN)

API: Application programming interface, eller programmeringsgrensesnitt

Bostøttesamling

Nyttestyring og viktigheten av den gode kunde

Forecast Methodology September LightCounting Market Research Notes

Assessing second language skills - a challenge for teachers Case studies from three Norwegian primary schools

Horisont 2020 EUs forsknings- og innovasjonsprogram. Brussel, 6. oktober 2014 Yngve Foss, leder, Forskningsrådets Brusselkontor

Utvikling av skills for å møte fremtidens behov. Janicke Rasmussen, PhD Dean Master Tel

Systemutviklingsmetoder

Windlass Control Panel

En praktisk innføring i team-basert læring

Nyttestyring og viktigheten av den gode kunde. Magne Jørgensen

SUPPLIER UPDATE. September 23, 2015

Hva kreves av en god byggherre? «Store utbyggingsprosjekter», 23. okt 2014

BRYTER VEI MED DYNAMICS 365. DynUG 2018 Tor Einar Pedersen

Interaksjonsdesign Utvikling for og med brukere

Dynamic Programming Longest Common Subsequence. Class 27

Hvor mye praktisk kunnskap har du tilegnet deg på dette emnet? (1 = ingen, 5 = mye)

Independent Inspection

Hvor mye teoretisk kunnskap har du tilegnet deg på dette emnet? (1 = ingen, 5 = mye)

Referansearkitektur use cases. Kjell Sand SINTEF Energi AS NTNU Institutt for elkraftteknikk

Hvor mye teoretisk kunnskap har du tilegnet deg på dette emnet? (1 = ingen, 5 = mye)

Bærekraftig FM til tiden/ Bærekraftig FM på tid

EG-leder konferanse 2017

Administrasjon av postnummersystemet i Norge Post code administration in Norway. Frode Wold, Norway Post Nordic Address Forum, Iceland 5-6.

Virginia Tech. John C. Duke, Jr. Engineering Science & Mechanics. John C. Duke, Jr.

Store og komplekse informasjonssystemer

Transkript:

Chapter 2 Software Processes Slides made by Sommerville adapted by Letizia Jaccheri, all the slides are part of the syllabus Topics covered Software process models and software process Process activities Plan driven versus agile Models: Waterfall model, Rational Unified Process This lecture will not be filmed 1

The software process En strukturert sett av aktiviteter som kreves for å utvikle programvare Alle prosesser innholder: Spesifikasjon - definere hva systemet skal gjøre Design og gjennomføring - definere hvordan systemet organiseres og implementeres Validering - kontrollere at den gjør hva kunden ønsker på en riktig måte Evolution - forandre systemet i respons til endrede kundebehov. Modell = abstrakt representasjon fra et synsvinkel Tenk på Linux 10 Millioner LOC 2

Process and Model (hvem skal ut? ) Prosess Prosess Prosess OurToys Workshop Trondheim 2012 Modell http://hangingtogether.org/?p=390 The open library developer meeting 3

The easiest model spesifikasjon utvikling validering evolusjon 4

Process activities Aktiviteter i en programvare prosess Tekniske Samarbeid Ledelse 5

Software process models Aktiviteter Spesifikasjon, design, utvikling, vedlikehold, men også designe et brukergrensesnitt, Produkter som er utfallet av en prosess aktivitet Test dokument, design dokument, Roller som gjenspeiler ansvar for de menneskene som er involvert i prosessen Arkitekt,.. Pre-og post som beskriver det som skal være sant før og etter en prosess aktivitet er vedtatt eller et produkt produsert f.e. spesifikasjon signert 6

The waterfall model Video Real Software Engineering by Glenn Vanderburg https://www.youtube.com/watch? v=np9aiut9nos 51 min. Managing the Development of Large Software Systems, Dr. Winston Royce, he was the first who described the Waterfall model for software development SOFTWARE ENGINEERING Report on a conference sponsored by the NATO SCIENCE COMMITTEE Garmisch, Germany, 7th to 11th October 1968 7

Plan-driven and agile processes Plan-drevne prosesser er prosesser hvor alle prosessaktiviteter er planlagt på forhånd og fremgang måles mot denne planen. I smidige prosesser, planlegging er inkrementell og det er lettere å endre prosessen for å reflektere endrede kravene fra kundene. Important!! Try to have this in mind when listening to the guest lectures by industry 8

Incremental development 9

Spesifikasjon Hvilke tjenester er nødvendig og begrensninger på systemets drift og utvikling. Prosess består av: Feasibility study: er det teknisk og økonomisk mulig å bygge systemet? Krav innhenting og analyse: hva krever interessenter fra systemet? Kravspesifikasjon: definere kravene i detalj Krav validering: kontrollere gyldigheten av kravene spesifikasjon utvikling validering evolusjon 10

Software design and implementation (utvikling) Fra spesifikasjonen til et fungerende software system. Software design: Output - en programvare struktur som realiserer spesifikasjon Implementasjon: Output - en kjørbart program Design og implementasjon er nært beslektet og kan være sammenvevd Prosess består av: 1) Architectural design; 2) Interface design; 3) Component design; 4) Database design spesifikasjon utvikling validering evolusjon 11

Software validation Verifikasjon og validering (V & V) mål er å vise at system oppfyller spesifikasjonen og oppfyller kravene (til kunden). 1. Review (statisk) 2. System testing (dynamisk) Kjører systemet med testtilfeller fra spesifikasjonen av de virkelige data som skal behandles av systemet. Testing er den mest brukte V & V aktivitet. spesifikasjon utvikling validering evolusjon 12

Testing stages Komponent testing (skjer under utvikling) Enkeltkomponenter testes uavhengig; Komponenter kan være funksjoner eller objekter eller sammenhengende grupperinger av disse enhetene. Systemtesting Testing av systemet som helhet. Testing av viktige egenskapene er spesielt viktig. Akseptansetesting: Testing med kundedata for å kontrollere at systemet oppfyller kundens behov. 13

Software evolution/evolusjon/vedlikehold Programvare er fleksibel (av natur) og kan endres Når krav endres gjennom skiftende forretningsbehov/ omstendigheter, må programvaren som støtter virksomheten også utvikle seg og endre. avgrensning mellom utvikling og evolusjon (vedlikehold) blir stadig mindre relevant som færre og færre systemer er helt ny. spesifikasjon utvikling validering evolusjon 14

Rational Unified Process iterativ og inkrementell Inception (Innledning): business case Elaboration (Utforming): problem domain + system architecture Construction (Bygging): system design, programming, testing Transition (Overgang): Produsere, Distribuere produktet til interessenter, Drive support for produktet. 15

Key points Software processes are the activities involved in producing a software system. Software process models are abstract representations of these processes. General process models describe the organization of software processes. Examples of these general models include the waterfall model, incremental development, and reuse-oriented development. 16

Key points Models and Processes Planning and incremental planning Requirements engineering = developing a software specification. Design and implementation = transforming a requirements specification into an executable software system. Software validation = checking that the system conforms to its specification and that it meets the real needs of the users of the system. Software evolution = change existing software systems to meet new requirements. 17

Software Processes repetition and more details 18

Software process models The waterfall model Plan-driven model. Separate and distinct phases of specification and development. Incremental development Specification, development and validation are interleaved. May be plan-driven or agile. Reuse-oriented software engineering The system is assembled from existing components. May be plan-driven or agile. 19

Waterfall model phases There are separate identified phases in the waterfall model: Requirements analysis and definition System and software design Implementation and unit testing Integration and system testing Operation and maintenance The main drawback of the waterfall model is the difficulty of accommodating change after the process is underway. In principle, a phase has to be complete before moving onto the next phase. 20

Waterfall model problems Inflexible partitioning of the project into distinct stages makes it difficult to respond to changing customer requirements. Therefore, this model is only appropriate when the requirements are well-understood and changes will be fairly limited during the design process. Few business systems have stable requirements. The waterfall model is mostly used for large systems engineering projects where a system is developed at several sites. In those circumstances, the plan-driven nature of the waterfall model helps coordinate the work. 21

Incremental development benefits The cost of accommodating changing customer requirements is reduced. The amount of analysis and documentation that has to be redone is much less than is required with the waterfall model. It is easier to get customer feedback on the development work that has been done. Customers can comment on demonstrations of the software and see how much has been implemented. More rapid delivery and deployment of useful software to the customer is possible. Customers are able to use and gain value from the software earlier than is possible with a waterfall process. 22

Incremental development problems The process is not visible. Managers need regular deliverables to measure progress. If systems are developed quickly, it is not cost-effective to produce documents that reflect every version of the system. System structure tends to degrade as new increments are added. Unless time and money is spent on refactoring to improve the software, regular change tends to corrupt its structure. Incorporating further software changes becomes increasingly difficult and costly. 23

Reuse-oriented software engineering 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. Reuse is now the standard approach for building many types of business system Reuse covered in more depth in Chapter 16. 24

Reuse-oriented software engineering 25

Reuse: Types of software component Web services that are developed according to service standards and which are available for remote invocation. Collections of objects that are developed as a package to be integrated with a component framework such as.net or J2EE. Stand-alone software systems (COTS) that are configured for use in a particular environment. 26

The requirements engineering process 27

A general model of the design process 28

Stages of testing 29

Testing phases in a plan-driven software process 30

System evolution 31

Software prototyping A prototype is an initial version of a system used to demonstrate concepts and try out design options. A prototype can be used in: The requirements engineering process to help with requirements elicitation and validation; In design processes to explore options and develop a UI design; In the testing process to run back-to-back tests. 32

Benefits of prototyping Improved system usability. A closer match to users real needs. Improved design quality. Improved maintainability. Reduced development effort. 33

The process of prototype development 34

Prototype development May be based on rapid prototyping languages or tools May involve leaving out functionality Prototype should focus on areas of the product that are not wellunderstood; Error checking and recovery may not be included in the prototype; Focus on functional rather than non-functional requirements such as reliability and security 35

Throw-away prototypes Prototypes should be discarded after development as they are not a good basis for a production system: It may be impossible to tune the system to meet non-functional requirements; Prototypes are normally undocumented; The prototype structure is usually degraded through rapid change; The prototype probably will not meet normal organisational quality standards. 36

Incremental delivery 37

Incremental delivery 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. 38

Incremental delivery problems Most systems require a set of basic facilities that are used by different parts of the system. As requirements are not defined in detail until an increment is to be implemented, it can be hard to identify common facilities that are needed by all increments. The essence of iterative processes is that the specification is developed in conjunction with the software. However, this conflicts with the procurement model of many organizations, where the complete system specification is part of the system development contract. 39

Boehm s spiral model Process is represented as a spiral rather than as a sequence of activities with backtracking. 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. 40

Boehm s spiral model of the software process 41

Spiral model sectors Objective setting Specific objectives for the phase are identified. Risk assessment and reduction Risks are assessed and activities put in place to reduce the key risks. Development and validation A development model for the system is chosen which can be any of the generic models. Planning The project is reviewed and the next phase of the spiral is planned. 42

Spiral model usage Spiral model has been very influential in helping people think about iteration in software processes and introducing the risk-driven approach to development. In practice, however, the model is rarely used as published for practical software development. 43

RUP iteration In-phase iteration Each phase is iterative with results developed incrementally. Cross-phase iteration As shown by the loop in the RUP model, the whole set of phases may be enacted incrementally. 44

Static workflows in the Rational Unified Process Workflow Business modelling Requirements Analysis and design Implementation Description The business processes are modelled using business use cases. Actors who interact with the system are identified and use cases are developed to model the system requirements. A design model is created and documented using architectural models, component models, object models and sequence models. The components in the system are implemented and structured into implementation sub-systems. Automatic code generation from design models helps accelerate this process. 45

Static workflows in the Rational Unified Process Workflow Testing Deployment Configuration and change management Project management Environment Description Testing is an iterative process that is carried out in conjunction with implementation. System testing follows the completion of the implementation. A product release is created, distributed to users and installed in their workplace. This supporting workflow managed changes to the system (see Chapter 25). This supporting workflow manages the system development (see Chapters 22 and 23). This workflow is concerned with making appropriate software tools available to the software development team. 46

RUP good practice Develop software iteratively Plan increments based on customer priorities and deliver highest priority increments first. Manage requirements Explicitly document customer requirements and keep track of changes to these requirements. Use component-based architectures Organize the system architecture as a set of reusable components. 47

RUP good practice Visually model software Use graphical UML models to present static and dynamic views of the software. Verify software quality Ensure that the software meet s organizational quality standards. Control changes to software Manage software changes using a change management system and configuration management tools. 48

Key points We have seen models for the single phases: requirements, design, validation, evolution?? The Rational Unified Process is a generic process model that is organized into phases (inception, elaboration, construction and transition) but separates activities (requirements, analysis and design, etc.) from these phases. 49