Docsity

Requirements Elicitation and Analysis: Techniques and Best Practices, Lecture notes of Software Engineering

Partial preview of the text

Download Requirements Elicitation and Analysis: Techniques and Best Practices and more Lecture notes Software Engineering in PDF only on Docsity!

Chapter 2

Requirements

Elicitation and Analysis

Source of PP slides :

- Lamsweerde, A. V. 2011. Requirements Engineering: From System goals to UML Models to Software Specification. 2 nd^ **ed.Wiley.

  • Weigers, K. And Beatty, J.** 2013. Software Requirements. 3rd^ edn. Microsoft Press. 1

Identifying stakeholder

Explain Artefact-driven

elicitation techniques

Explain Stakeholder-driven

elicitation techniques

Understand Requirement

Elicitation Process

2 Lesson objectives:

Selection of stakeholder based on ...

◦ (^) relevant position in the organization ◦ (^) role in making decisions, reaching agreement ◦ (^) type of contributed knowledge, level of domain expertise ◦ (^) exposure to perceived problems ◦ (^) personal interests, potential conflicts ◦ (^) influence in system acceptance Stakeholder analysis (2) 4

 Distributed sources, conflicting viewpoints  (^) Difficult access to key people & data  (^) Different background, terminology, culture  (^) Hidden needs or/and Irrelevant details  (^) Internal politics, competition, resistance to change, ...  Personnel turnover, changes in organization, in priorities, ... Knowledge acquisition from stakeholders is difficult (1) 5

 2 main categories of elicitation techniques:

◦ Artefact-driven elicitation techniques

◦ Stakeholder-driven elicitation techniques

7 Elicitation Techniques

Background study

Data collection, questionnaires

Repertory grids, card sorts for concept

acquisition

Scenarios, storyboards for problem world

exploration

Prototypes, mock-ups for early feedback

Knowledge reuse: domain-independent,

domain-specific

8 Artefact-driven elicitation techniques

Background study (2)

Provides basics for getting prepared

before meeting stakeholders =>

prerequisite to other techniques

Data mining problem: huge

documentation, irrelevant details,

outdated info

Solution: use meta-knowledge to

prune the doc space

◦ (^) know what you need to know & what you don’t need to know

Data collection

Gather undocumented facts & figures

◦ (^) marketing data, usage statistics, performance figures, costs, ... ◦ (^) selection of representative data sets from available sources (use of statistical sampling techniques) 

May complement background study

Helpful for eliciting non-functional reqs on

performance, usability, cost etc.

However, difficulties:

◦ (^) Getting reliable data may take time ◦ (^) Data must be correctly interpreted

Questionnaires (2)  Effective for acquiring subjective info quickly, cheaply, remotely from many people  Helpful for preparing better focused interviews (see next)  Subject to ... ◦ (^) multiple biases: recipients, respondents, questions, answers ◦ (^) unreliable info: misinterpretation of questions, of answers, inconsistent answers, ....

Questionnaires (3) Guidelines for questionnaire design and validation: ◦ (^) Select a representative, statistically significant sample of people; provide motivation for responding ◦ (^) Check coverage of questions, of possible answers ◦ (^) Make sure questions, answers, formulations are unbiased & unambiguous ◦ (^) Add implicitly redundant questions to detect inconsistent answers ◦ (^) Have your questionnaire checked by a third party

16

Card sorts

17

Card sorts

Scenarios & storyboards

Goal: acquire or validate info from concrete

examples through narratives ...

◦ (^) how things are running in the system- as-is ◦ (^) how things should be running in the system- to-be

 Storyboard: tells a story by a sequence of snapshots

◦ (^) Snapshot = sentence, sketch, slide, picture, etc. ◦ (^) Possibly structured with annotations:  (^) WHO are the players, WHAT happens to them, WHY this happens, WHAT IF this does / does not happen, etc ◦ (^) Passive mode (for validation): stakeholders are told the story ◦ (^) Active mode (for joint exploration): stakeholders contribute

Scenarios  (^) Illustrate typical sequences of interaction among system components to meet an implicit objective  (^) Widely used for... ◦ (^) explanation of system- as-is ◦ (^) exploration of system- to-be + elicitation of further info ... e.g. WHY this interaction sequence? WHY among these components? ◦ (^) specification of acceptance test cases  Represented by text or diagram