35
1 Universidade Federal de Pernambuco - Centro de Informatic a Support for Requirement Traceability: The Tropos Case Rosa Pinto, Carla Silva, Jaelson Castro {rccp, ctlls, jbc}@cin.ufpe.br

Support for Requirement Traceability: The Tropos Case

Embed Size (px)

DESCRIPTION

Support for Requirement Traceability: The Tropos Case. Rosa Pinto, Carla Silva, Jaelson Castro. {rccp, ctlls, jbc}@cin.ufpe.br. Outline. Motivation Requirements traceability Meta-model Tropos framework The Requirements Traceability Process Case Study Conclusions. Motivation. - PowerPoint PPT Presentation

Citation preview

Page 1: Support for Requirement Traceability: The Tropos Case

1Universidade Federal de Pernambuco - Centro de Informatica

Support for Requirement Traceability: The Tropos Case

Rosa Pinto, Carla Silva, Jaelson Castro

{rccp, ctlls, jbc}@cin.ufpe.br

Page 2: Support for Requirement Traceability: The Tropos Case

Outline Motivation Requirements traceability Meta-

model Tropos framework The Requirements Traceability

Process Case Study Conclusions

Page 3: Support for Requirement Traceability: The Tropos Case

Motivation In complex systems there are quite

complex web of relationships

Methodologies supporting requirement traceability can develop higher quality software with fewer costs

Agent Oriented Development Software

Page 4: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Requirements traceability refers to

the ability to describe and follow the life of a requirement, in both a forwards and backwards direction (i.e., from its origins, through its development and specification, to its subsequent deployment and use, and through all periods of on-going refinement and iteration in any of these phases) [Pinheiro 2003]

Page 5: Support for Requirement Traceability: The Tropos Case

Our Proposal

Agents

Tracing

Tropos

Page 6: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Reference Model [Toranzo 2002 e 2005]

Requirement Management sub-model

Design sub-model Rational model

Page 7: Support for Requirement Traceability: The Tropos Case

Requirement Management sub-model

E x t e r n a l

Organizational Objectives

0..n

1..n

0..n

1..n

<<resource>>

0..n 10..n 1

S y s t e m O b j e c t i v e s

0..n1..n0..n1..n << resource>>0..n 10..n 1

C o n s t r a i n t

Change Purpose

0..n

0..n

0..n

0..n

<<satisfy>>

T a s k

0..n

0..n

0..n

0..n

<<resource>>

0..n0..n 0..n0..n<<resource>>

0..n 10..n 10..n0..n0..n0..n<<resource>>

S t a k e h o l d e r

I n f o r m a t i o n

0..n

1..n

0..n

1..n<<satisfy>>

0..n 0..n0..n

<<resource>>

0..n0..n

0..n

0..n

0..n

<<responsability>>

R e q u i r e m e n t

0..n0..n

0..n0..n

<<resource>>

1..n0..n 1..n0..n

<<resource>>

0..n 10..n 1

0..n0..n 0..n0..n

<<responsability>>

0..n

0..n

0..n

0..n

<<resource>>

Page 8: Support for Requirement Traceability: The Tropos Case

Design sub-model

S u b s y s t e m

D i a g r a m

R e q u i r e m e n t 0..n0..n 0..n0..n <<allocated_to>>

T e s t0..n

0..n

0..n

0..n<<resource>>

P r o g r a m

0..n

0..n

0..n

0..n

<< resource>>

0..n

0..n

0..n

0..n<<represents>>

0..n

0..n

0..n

0..n <<resource>>

T a s k

D e s i g n E l e m e n t0..n

1..n

0..n

1..n

<<satisfy>>

Change Purpose0..n 0..n0..n 0..n<<resource>>

S t a k e h o l d e r I n f o r m a t i o n0..n0..n 0..n0..n <<responsability>>

0..n

0..n

0..n <<resource>>

0..n

Page 9: Support for Requirement Traceability: The Tropos Case

Rational Model

E x t e r n a l

Organizational Objectives

0..n

1..n

0..n

1..n

<<resource>>

0..n 10..n 1

S y s t e m O b j e c t i v e s

0..n1..n0..n1..n << resource>>0..n 10..n 1

C o n s t r a i n t

Change Purpose

0..n

0..n

0..n

0..n

<<satisfy>>

T a s k

0..n

0..n

0..n

0..n

<<resource>>

0..n0..n 0..n0..n<<resource>>

0..n 10..n 10..n0..n0..n0..n<<resource>>

S t a k e h o l d e r

I n f o r m a t i o n

0..n

1..n

0..n

1..n<<satisfy>>

0..n 0..n0..n

<<resource>>

0..n0..n

0..n

0..n

0..n

<<responsability>>

R e q u i r e m e n t

0..n0..n

0..n0..n

<<resource>>

1..n0..n 1..n0..n

<<resource>>

0..n 10..n 1

0..n0..n 0..n0..n

<<responsability>>

0..n

0..n

0..n

0..n

<<resource>>

Page 10: Support for Requirement Traceability: The Tropos Case

Tropos Framework Concepts and Phases

Early

requirements Late

requirements

Architectural

design Detaile

d

designEarly

requirements Late

requirements

Architectural

design Detaile

d

design

Requirements-driven Software developmentRequirements-driven Software development

DEPENDUMDEPENDER DEPENDEE

Page 11: Support for Requirement Traceability: The Tropos Case

11Universidade Federal de Pernambuco - Centro de Informatica

Estudo de Caso: Media Shop

Page 12: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stages of process

1. Information Gathering (IG): identify the information to be traced

2. Information Structuring (ST) used to: achieve the proper structuring of the information

identified before defined the set of valid values for association

instances

3. Definition of the Traceability Matrixes (TM): guide the construction of the appropriate traceability

matrixes

Page 13: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 1. Information Gathering (IG)

IG1. Requirement Management sub-model classes from SD diagram of the actor representing the system

Rule 1. Actor which has some dependency relationship with

System actor STAKEHOLDER class

Page 14: Support for Requirement Traceability: The Tropos Case

14Universidade Federal de Pernambuco - Centro de Informatica

SD Diagram for Medi@ System

STAKEHOLDERS

Page 15: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 1. Information Gathering (IG)

IG1. Requirement Management sub-model classes from SD diagram of the actor representing the system

Rule 2. System actor is dependee of softgoal, resource or task

the dependum REQUIREMENT class

Page 16: Support for Requirement Traceability: The Tropos Case

16Universidade Federal de Pernambuco - Centro de Informatica

SD Diagram for Medi@ System

STAKEHOLDERS

REQUIREMENTS

DEPENDUMDEPENDER DEPENDEE

Page 17: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 1. Information Gathering (IG)

IG1. Requirement Management sub-model classes from SD diagram of the actor representing the system

Rule 3. System actor is dependee of a goal dependency of the actor representing the organization

The depedum ORGANIZATIONAL OBJECTIVES class

Page 18: Support for Requirement Traceability: The Tropos Case

18Universidade Federal de Pernambuco - Centro de Informatica

SD Diagrama for Medi@ System

STAKEHOLDERS

REQUIREMENTS

ORGANIZATIONAL OBJECTIVE

DEPENDUMDEPENDER DEPENDEE

Page 19: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 1. Information Gathering (IG)

IG1. Requirement Management sub-model classes from SD diagram of the actor representing the system

Rule 4. System actor is depender of a goal dependency of the actor does not represent the organization

The goal SYSTEM OBJECTIVES class

Page 20: Support for Requirement Traceability: The Tropos Case

Organizational Map

SD Diagrama for Medi@ System

STAKEHOLDERS

REQUIREMENTS

ORGANIZATIONAL OBJECTIVE

SYSTEM OBJECTIVE

DEPENDUMDEPENDER DEPENDEE

Page 21: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 1. Information Gathering (IG)

IG1. Requirement Management sub-model classes from SD diagram of the actor representing the system

Rule 5. System actor is depender of goal, softgoal, resource or task

The dependum EXTERNAL class

Page 22: Support for Requirement Traceability: The Tropos Case

Organizational Map

STAKEHOLDERS

REQUIREMENTS

ORGANIZATIONAL OBJECTIVE

SYSTEM OBJECTIVE

EXTERNAL

SD Diagrama for Medi@ System

DEPENDUMDEPENDER DEPENDEE

Page 23: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 1. Information Gathering (IG)

IG2. Requirement Management sub-model classes from SR diagram of the actor representing the system

Rule 1. Goal SYSTEM OBJECTIVES class

Rule 2. Task REQUIREMENT class Rule 3. Softgoal REQUIREMENT class Rule 4. Resource REQUIREMENT class

Page 24: Support for Requirement Traceability: The Tropos Case

SR Diagrama for Medi@ System

REQUIREMENTS

SYSTEM OBJECTIVE

DEPENDUMDEPENDER DEPENDEE

Page 25: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 1. Information Gathering (IG)

IG3. Rational model classes from the process for selecting the proper architectural style

Rule 1. SUBJECT class issue on which a decision must be taken

Rule 2. POSITION class alternative solutions for the SUBJECT

Rule 3. ARGUMENT class some criteria used for choosing the proper solution

Page 26: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 1. Information Gathering (IG)

IG3. Rational model classes from the process for selecting the proper architectural style

Rule 4. ASSUMPTION class facts that must be taken into account for choosing

Rule 5. CONSTRAINT class limitations/restrictions that must be taken into account for deciding the proper solution

Rule 6. DOCUMENT class some information used as reference for choosing the proper solution

Page 27: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 1. Information Gathering (IG)

IG4. Design Sub-model classes from the architectural design model

Rule 1. Each architectural component SUBSYSTEM class

Page 28: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 2. Information Structuring (ST)

ST1. to remove classes unnecessary, and to delete instances with the same meaning

ST2. for each pair of associated classes in the reference model, the association should be instantiated

ST3. for each instance created in the ST2, define the set of values assigned to it.

Page 29: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process

Stage 3. Definition of the Traceability Matrixes (TM) Guideline TM1

For each pair of instantiated classes which are associated in a reference model, we can create a traceability matrix.

Guideline TM2 For each created matrix, we have to analyze the

system artifacts which are related to the matrix and fill the association which has been instantiated in a previous stage of the process.

Page 30: Support for Requirement Traceability: The Tropos Case

Requirements Traceability Process Stage 3. Definition of the

Traceability Matrixes (TM) Applying TM1 and TM2:

create a traceability matrix to the instances of the <<resource>> association between REQUIREMENTS and ORGANIZATIONAL INFORMATION elements

<H> (High), <M> (Medium) or <L> (Low).

Page 31: Support for Requirement Traceability: The Tropos Case

Requirement Management sub-model

<<resource>>

<<resource>>

1

0..n

0..n

0..n0..n

<<resource>>

0..n1..n

<<satisfy>>0..n

0..n 1

0..n

0..n

<<resource>>

0..n

<<responsability>>

0..n 1

1..n <<resource>>

0..n

0..n

0..n 1

0..n

1..n

0..n

0..n

<<satisfy>>

<<resource>>

1..n

0..n

0..n<<responsability>>

0..n

0..n

<<resource>>

0..n

0..n

<<resource>>

EXTERNAL C O N S T R A I N T

CHANGE PURPOSE

ORGANIZATIONAL INFORMATION

S T A K E H O L D E R

<<resource>>

0..n

I N F O R M A T I O N

0..n

0..n

R E Q U I R E M E N T

SYSTEM OBJECTIVES

T A S K

Page 32: Support for Requirement Traceability: The Tropos Case

Case Study

<<resource>>

[ORG1] Happy Customers

[ORG2] Run Shop

[ORG3] Improve Service

[RF1] Browse Catalogue

M M M

[RF2] Keyword Search

M M M

[RF3] Place Order

M M M

[RF4] Process Internet Orders

H H H

Page 33: Support for Requirement Traceability: The Tropos Case

Case Study Estimating the impact of a change

If some organizational information is changed, the impact in the system requirements can be analyzed.

Page 34: Support for Requirement Traceability: The Tropos Case

Conclusions We outline a process that can be used to extend Tropos

to address requirements traceability.

We intend to develop a complete and usable requirement traceability process for Tropos aiming to ensure the quality improvement of both the methodology and the software developed with it.

Further guidelines for instantiating all the classes of the three reference models (Requirement Management and Design sub-models and Rational model) for each phase of Tropos may be required.

Page 35: Support for Requirement Traceability: The Tropos Case

Questions/suggestions ?