• No se han encontrado resultados

Unit 2: Software Engineering Quick Overview

N/A
N/A
Protected

Academic year: 2019

Share "Unit 2: Software Engineering Quick Overview"

Copied!
23
0
0

Texto completo

(1)

Components Based Design and Development

Computer Engineering Studies Universidad Carlos III de Madrid

Juan Llorens

Högskolan på Åland – Finland / Universidad Carlos III de Madrid - Spain

Juan.llorens@uc3m.es

(2)

Software Engineering

• Engineering...

“the profession in which

a knowledge of the mathematical and natural sciences gained by study,

experience and practice

is applied with judgment

to develop ways to utilize, economically, the materials and forces of

nature for the benefit of mankind.” (Accreditation Board for Engineering

nature for the benefit of mankind.” (Accreditation Board for Engineering and Technology, 1996).

• Particularities of software engineering

– The “product” (software)

– A lot of development, little engineering discipline – Frequent changes in the product

– It is not seen as necessary by the “so called” software engineers

(3)

Software Engineering

• The economies of ALL developed nations are

dependent on software.

• More and more systems are software controlled

• Software engineering is concerned with theories, methods and tools for

• Software engineering is concerned with theories, methods and tools for

professional software development.

• Expenditure on software represents a

significant fraction of GNP in all developed countries.

(4)

The systems engineering process

System design Requirements

definition

System evolution

System decommissioning

System integration Sub-system

development design

System installation

evolution

(5)

Inter-disciplinary involvement

Electronic engineering

Mechanical engineering Software

engineering

ATC systems engineering

Electrical engineering

User interface design

Architecture Structural

engineering

Civil engineering

(6)

What is a software process?

Objectives, needs, ideas

problems, failures,..

“Software application”

BNot a Software system

(7)

What is a software process?

• A set of activities whose goal is the development or evolution of software.

• Generic activities in all software processes are:

– Specification - what the system should do and its development constraints – Development - production of the software system

– Validation - checking that the software is what the customer wants – Evolution - changing the software in response to changing demands.

(8)

What is a software process model?

• A simplified representation of a software process, presented from a specific

perspective.

• Examples of process perspectives are

– Workflow perspective - sequence of activities; – Data-flow perspective - information flow;

– Data-flow perspective - information flow; – Role/action perspective - who does what.

• Generic process models

– Waterfall;

– Iterative development;

– Component-based software engineering.

(9)

Usual workflow Activities

design implementation tests

Req. analysis

Not so Usual workflow Activities

Project Mgmt Estimation Debriefing

Vocabulary Id.

Risk Mgmt. Project Plan. Indexing

(10)

Types of Software Processes : the waterfall process

analysis of requirements Need

A single iteration

design

implementation

tests Final product

(11)

Iterative process [spiral]

Requirements analysis design

N iterations

implementation tests

need

N versions of the product, documentation...

(12)

Iterative and incremental process

• Enables the evolution in parallel of several workflows, and by that the work

in parallel of several teams of people

• the different versions of the documents produced in each iteration are not

necessarily compatible between them: organize well the documentation

iteration 1 iteration 2 iteration 3

analysis (version 1)

analysis (version 2)

analysis (version 3)

design (version 1)

design (version 2)

(13)

UP: Phases, iterations and workflows

requirements

analysis

Phases of the life cycle

Workflows Inception Elaboration Construction Transition

an iteration in the phase of Elaboration

(14)

My Favorite workflow structure for Development S o ft w a re fo r R e u se New Project PMgnt Risk Plan-Est Req Ana S o ft w a re w ith R e u se Req Cap Voc

Sw for reuse

Find + Reuse

(15)

My Favorite dataflow structure for Development PMgnt Risk Plan-Est Req Ana Req Cap Voc Ontology Document Templates Gantt Diagrams Spreadsheets

Text based Requirements

Text Based Risks

(16)

Terminology of UP Classical terminology

requirements

requirements analysis analysis

Other frameworks and nomenclatures

design design

implementation

implementation

integration

tests tests

(17)

• divide a project in mini-projects, easier to manage and complete

• each mini-project is an iteration

• each iteration contains all the elements of a normal project:

– planning

– analysis and design – construction

How to perform an Iterative Software Process

– construction

– integration and tests

– generate a version of the product (internal or external)

• each iteration generates a baseline that includes a partially completed

version of the final system, and all the associated documentation

• the successive iterations build on top of each other until the final system is

finished

(18)

What are software engineering methods?

• Structured approaches to software development which include system

models, notations, rules, design advice and process guidance.

• Model descriptions

– Descriptions of graphical models which should be produced;

• Rules

• Rules

– Constraints applied to system models;

• Recommendations

– Advice on good design practice;

• Process guidance

– What activities to follow.

(19)

What are the costs of software engineering?

• Roughly 60% of costs are development costs, 40% are testing costs. For

custom software, evolution costs often exceed development costs.

• Costs vary depending on the type of system being developed and the

requirements of system attributes such as performance and system reliability. requirements of system attributes such as performance and system reliability.

• Distribution of costs depends on the development model that is used.

(20)

Software costs

• Software costs often dominate computer system costs. The costs of software

on a PC are often greater than the hardware cost.

• Software costs more to maintain than it does to develop. For systems with a

long life, maintenance costs may be several times development costs.

• Software engineering is concerned with cost-effective software development.

(21)

Activity cost distribution

Waterfall model

Iterative development

Specification Design Development Integration and testing

25 50 75 100

0

25 50 75 100

0

©Ian Sommerville 2004 - Software Engineering, 7th edition. Chapter 1

Component-based software engineering

Development and evolution costs for long-lifetime systems

System evolution

10 200 30 400

0

System development

Specification Development Integration and testing

25 50 75 100

0

(22)

Product development costs

(23)

The maturity of the Software Engineering discipline (swing)

1. Real need: what the customer really wanted. 2. Client side: what the client was able to describe as his/her clear need.

3. Sale process: what the software manufacturer promised the client.

4. Requirements: the final understanding of what the customer described as requirements.

the customer described as requirements.

5. Analysis: how was planned that the system should finally work at the client side.

6. Design: how the system should perform the analysed functionality.

7. Coding: what the programmer finally produced. 8. On-site installation: what was really installed in the client site.

Referencias

Documento similar

Since effectiveness and playability are evaluated in the final product there is a need to provide quality assurance methods that incorporate quality issues from the early stages

Centro, Universidad: Escuela Superior de Informática, Universidad de Castilla-La Mancha Director: Ismael Caballero, Mario Piattini.. Fecha: Octubre

These themes are as follows: formalization of the development process, formal- ization of the measurement process, scope of measurement within the organization, implementation

 The Mexican Secretary for the Economy has created the Program for the Software Industry Development (PROSOFT) which has given rise to the Process Model for the Software Industry

Figure 7.2(a) represents the problem domain (any software system), Figure 7.2(b) means that the software engineer has modeled the UML diagrams for the system using the

Concerning related work, we are unable to compare our tool due to the fact that, as far as we know, there exist four SPE tools [3, 2, 10, 15] based on UML and none of them

[r]

Moreover, the performance analyst, that has expertise in Petri net modelling and analysis, can use the GreatSPN tool to compute domain specific metrics using the GSPN models,