elicitation i

56
1 Elicitation I Elicitation I

Upload: janna-mcconnell

Post on 30-Dec-2015

40 views

Category:

Documents


0 download

DESCRIPTION

Elicitation I. Another Definition for Requirements: An externally Observable Characteristic of a Desired System 2 Buttons in a mouse If the user needs 2 buttons this is a requirement If the user only need a way of moving slides back and forth, this is too detailed to be a requirement. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Elicitation I

1

Elicitation I Elicitation I

Page 2: Elicitation I

2

• Another Definition for Requirements:– An externally Observable Characteristic of a

Desired System

• 2 Buttons in a mouse– If the user needs 2 buttons this is a requirement– If the user only need a way of moving slides

back and forth, this is too detailed to be a requirement

Page 3: Elicitation I

3

Tackling the problem not the solution

My Elevator is too slow• My Elevator is slow

•You have a throughput problem not a speed problem !

Page 4: Elicitation I

4

Tackling the problem not the solution

My Elevator is too slow

• Well it’s a problem because people complaint about the lines •As better as needed for stopping complaints

•Why is that a problem ?•How better should it be?

•How About Adding mirrors to the wall ?

• My Elevator is slow

Page 5: Elicitation I

5

Context

• The Blank Page Illusion

• The Completeness Illusion

• Social Aspects Involved

Page 6: Elicitation I

6

Why do We Need Requirements Engineering?

von Neumann:

“There is no sense in being precise when you don’t even know what you are talking about”

Page 7: Elicitation I

7

Basic Needs for Elicitation

(Questions from Polya)

• What is unknown?

• Do you know any related problem?

• Can you reinvent the problem?

Page 8: Elicitation I

8

Elicitation

Elicit [Var. elicit + make it clearer + extract]1.discover, make explicit, get as much information

as possible to understand the object being studied.

Page 9: Elicitation I

9

Elicitation

• Identify sources of information

• Gather facts

• Communication

Page 10: Elicitation I

10

Identifying Sources of Information

• Actors in the Universe of Discourse – Clients– Users– Developers

• Documents• Books• Software Systems• COTS

Page 11: Elicitation I

11

Who is related to the software?

interested

customer

developers

users

clients

OwnerEspecialist

Hired

Partner

Third party clients

Investor

Quality Control (QC)Technical writers

Software Engineer

clients

Non-clients

Page 12: Elicitation I

12

Criteria

• Experience

• Knowledge about the domain

• Volume of investment

• Function

Page 13: Elicitation I

13

Sources of Information

UofD

UofDSource of Information = { a,b,c,d,e,f} U {g,h}

Page 14: Elicitation I

14

Heuristics to identify sources of information

• Who is the client?• Who owns the system?• Is there any customized system available?• What are the books related to the

application?• Is it possible to reuse software artifacts? • What are the documents most cited by the

actors of UofD?

Page 15: Elicitation I

15

Abstract tree of people interested in the software

CFO

Accounting Manager

Acquisition Sales

Revenue Manager

Emplyee A Employee B

•requirements

•requirements •requirements

•requirements •requirements

•requirements

•requirements

Page 16: Elicitation I

16

Facts gathering• Document Reading• Observation• Interviews• Reunions • Questionnaires• Anthropology• Active participation from actors• Protocol Analysis• Reverse Engineering• Reuse

Page 17: Elicitation I

17

Enterviews Interviews

• Structured– Usually 1 to 1– Can be 1 to n or n to 1– Requires some knowledge about the problem to

formulate the questions

• Tape it ?

Page 18: Elicitation I

18

Structured Interview

• What to ask– Objective questions with precise target– One question should be related to the other

• How to ask

• Ask whom

Page 19: Elicitation I

19

Non-Structured Interview

• More flexible– But still with a pre-defined guideline of

questions

• Informal– But always keep control

• Mostly used during exploratory phases– Sometimes interesting to be used later also to

solve conflicts or to further explore alternatives

Page 20: Elicitation I

20

Tacit Knowledge

• The kind of knowledge that is trivial for the actor being interviewed but not for the interviewer

• Because it is trivial, people almost never remebers to mention it. The interviewer in his/her turn, not knowing about the tacit knowledge can not ask about it.

Page 21: Elicitation I

21

The Interview Process

Prepare

Carry out

Follow up

Page 22: Elicitation I

22

Interviews

• Follow Up – Essential – After the interview write down what you

understood– Send it to the user(s) involved and ask for a

feedback (Have I got it right?)– Ask if the user(s) want to add anything

Page 23: Elicitation I

23

Interviews

• +– direct contact with the actors– Can validate information immediately

• -– Tacit knowledge– Cultural diferences

Page 24: Elicitation I

24

Reading

• Books– Summary per chapter– Highlight the most important parts– Use a key-word index– vocabulary

Page 25: Elicitation I

25

Reading

• Macrosystem Documents (A more careful reading)– Underline repeated words

– Synonymies

– Take note of unknown terms

– Search for relationships among terms

– Vocabulary

– Try to understand and document the structure of the documents

Page 26: Elicitation I

26

Reading

• Macro system Documents – Understand the structure of the documents– How they relate/point to each other

Page 27: Elicitation I

27

Reading

• Reading Similar Documents:– Identify structures– Relate structures – vocabulary

Page 28: Elicitation I

28

Document Reading

• +– Easy access to different sources of information

– Volume of information

• -– Information can be very dispersed

– Considerable amount of work is required to identify relevant facts

Page 29: Elicitation I

29

Questionnaires

• What should one ask ?– Asks for some knowledge about the problem

• Therefore you should have a minimum understanding about the problem

– similar to the structured interview

Page 30: Elicitation I

30

QuestionnairesTypes• qualitative

– Allows the one answering to further considerations– Makes a later analysis more difficult– Control questions – We can stimulate conflicts in order

to verify the consistency of what is being told

• quantitative– grading ( Yes, No/ Good, mdeium, bad/ 0,1,2,3,4)– Question has to be well formed to allow a good

distribution of the answers

Page 31: Elicitation I

31

Examples

• Quantitative

05

1015202530354045505560

Nu

m. d

e R

esp

ost

as

5. A XXX mantém dados estatísticos sobre o processo de desenvolvimento de software?

SIMNÃO

5 - XXX keeps statistical data about the software development process

Nu

mb

er o

f A

nsw

ers

No Yes

Page 32: Elicitation I

32

Examples

05

1015202530354045505560

Nu

m. d

e R

esp

ost

as

1 2 3 4 5

8. Durante o processo de produção é verificada uma alteração nos requisitos. Esta alteração:

(Não é registrada) (É registrada, mas não no documento de requisitos)

(É registrada formalmente no documento de requisitos)

8 – How easyly can you retrieve information from Patient’s Medical Records ?

Nu

mb

er o

f A

nsw

ers

Not easy at all Kind of easily easily

Page 33: Elicitation I

33

Examples

• QualitativeHow do you see your background regarding the

development of quality software? What do you think would be necessary to improve your performance? What knowledges would like to get? Why ?

– Objective: verify the opinion regarding training policy

– Why ?: A mature organization has to have well defined training policies. Control question.

Page 34: Elicitation I

34

Questionnaires

• +– Standard questions– Statistical treatment possible

• -– Answers are constrained– Few or no interaction/participation– Number of questionnaires returned can be

disappointing

Page 35: Elicitation I

35

Meetings• An extension of an interview or

• Direct and Intense participation– Short and intense periods– focus

• Brainstorm

• JAD

• Requirements Workshop – Uses facilitators– Previous planning

Page 36: Elicitation I

36

Meetings

Requirements Workshop

• Preparation– Adequate place– Choosing Participants– Prepare the material ahead– agenda

Page 37: Elicitation I

37

Meetings

Requirements Workshop

• Facilitator– Trained– Team spirit– Respected by all participants– “Powerful” enough to make decisions when

conflicts arise

Page 38: Elicitation I

38

Meetings

Requirements Workshop • During the meeting

– relax participants– Focus on ideas not people– Be open to brainstorming – Register the meeting (minutes are highly

desirable)

– follow up e agenda for next meetings

Page 39: Elicitation I

39

Meetings

Requirements Workshop

• Problems– People with a reign attitude– Passive attitude– People arriving late– Negative/mocking comments– It is always hard to resume a meeting after a

disruptive interruption

Page 40: Elicitation I

40

Meetings

Brainstorm• Generate and condensate ideas• Frequently, the best ideas are combinations

of two or more ideas• Prioritize the ideas • It is better to be done locally, but it is

possible to have it over the web or using video-conference

Page 41: Elicitation I

41

Meetings

Brainstorm

Phase I – Generating ideas• Goal: Generate the more ideas possible

• Rules– Do not allow critics or debate at this point– Let the imagination flows– Change and combine ideas

Page 42: Elicitation I

42

MeetingsBrainstormPhase II –Reducing the number of ideas• Discard ideas that are not worth to invest• Group ideas – make meaningful names and group

ideas according them• Anotate small descriptions about the rationale

regarding the ideas and its authors• Prioritize

– vote

– categorize - critical, important, useful

Page 43: Elicitation I

43

Meetings

JAD (Joint Application Design)

Involves• Objectives• System Requirements• External Project

Page 44: Elicitation I

44

Meetings

Principles of JAD

• Group dynamic• Visual resources• Organized and rational process• Documenting using the idea of “What you see is

what you get” (WYSISYG)

Page 45: Elicitation I

45

Meetings

JAD

Target• Identify high level (abstract) requirements• Define and Associate the scope• Plan the activities for each phase of the project• Post and approve resulting documents

Page 46: Elicitation I

46

Meetings

JAD’s Phases

• Customization• Meetings

– Present the tasks

– Join ideas

– Evaluate

– Compromise

• Closing

Page 47: Elicitation I

47

MeetingsJAD - Documents

Requirements– High level requirements

– Goals

– Anticipated benefits

– Strategies and future considerations

– Hypothesis and constraints

– Security, auditing and control

– System scope

– System users and their locations

– Functional areas outside the application

Page 48: Elicitation I

48

Meetings

JAD - Documents

Plans:– Participant matrix

– Identification of the JAD/PROJECT

– Estimative

Page 49: Elicitation I

49

JAD

• Used to speed up the investigation of system requirements, design a solution, define new procedures

• Critical Factor : To have ALL the relevant participants present

• Typically used for 3-6 months long projects.– Larger projects may require one JAD at the

beginning of each iteration

Page 50: Elicitation I

50

Meetings

• +– Gives the RE multiple options– Collective work

• -– Dispersion– Cost

Page 51: Elicitation I

51

Observation

• To watch people while they’re doing their jobs

• Take careful notes

• Be careful about Taping/Recording

Page 52: Elicitation I

52

Observation

• +– low cost– Easy task (Not always)

• -– Depends on the actor not being influenced

because he knows he’s being observed– Depends on the observer’s skills– Tends to be superficial due to the weak

exposition to the UofD

Page 53: Elicitation I

53

Protocol Analysis

• Analyze the work the person “besides” you is doing

• Speak loud during the tasks• Some people claim during an interview one

can use the memory instead of what he/she really does

• Goal – identify the rationale used to perform a task

Page 54: Elicitation I

54

Protocol Analysis

• +– Elicit facts not shown

• Easier to avoid tacit knowledge

– Better understanding about tasks and rationales behind them

• -– Focus on performance (not necessarily true)– Not always what I say is what I do !!!– May be hard to use in some environments (e.g.

hospitals)

Page 55: Elicitation I

55

Ethnography

• Deeply integrate to the environment

• The Analyst becomes a client or even the responsible for some tasks

• Slow

• Long Term results

Page 56: Elicitation I

56

Ethnography

• +– Focus from the inside to the outside– Contextualized

• -– Time– Lack of systematization