1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

22
1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    215
  • download

    1

Transcript of 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

Page 1: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

1

R&D SDM 1

Software Project ManagementRequirements Analysis

2009Theo Schouten

Page 2: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

2

Content

•What is requirements analysis?

•Why is it so difficult?

•Stages

•Methods and tools

Book:

ch 7 Requirements engineering

Page 3: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

3

Requirements Analysis: definitions

‘The process of establishing the services the system should provide and the constraints under which it must operate’

Roger S. Pressman Software Engineering – A practitioner’s Approach European Adaptation, fifth edition

‘the appropriate mechanism for understanding what the customer wants, analyzing need, assessing feasibility, negotiating a reasonable solution, specifying the solution unambiguously, validating the specification, and managing the requirements as they are transformed into an operational system’

Thayer, R.H. and M. Dorfman, Software requirements engineering

Page 4: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

4

Embodied knowledge

•“Because software is embodied knowledge, and because that knowledge is initially dispersed, tacit, latent and incomplete in large measure, software development is a social learning process.

•The process is a dialogue in which the knowledge that must become the software is brought together and embodied in the software.

•The process provides interaction between users and designers and evolving tools (technology).

•It is an iterative process in which the evolving tool itself serves as the medium for communication, with each new round of dialogue eliciting more useful knowledge from the people involved.”

Howard Baetjer, jr.

Page 5: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

5

Why so difficult?

– Different “worlds”– using vs designing something– knowing what should be done vs knowing to let a computer

do that– Users/stakeholders are not an uniform group

– conflict between cost and usability / performance / features– conflicting demands from different departments

– Getting the good (ideal) system vs possibility building it good

Interaction….match

Users/stakeholders

Software designer

Page 6: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

6

other factors– Expectations, the final solution is difficult to imagine by the users– Scope of the system

– need well defined boundaries– Current vs future system

– old, rusted demands and wishes– resistance to change

– Aiming at a moving target– ‘Wicked problems’ – more than one good solution– functional needs versus technical solutions– Completeness (functional and technical)– Difference between ‘nice-to-have’ en critical functionality

Process of negotiation between users and designers

Page 7: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

7

Stages in RE

• Inception

• Elicitation

• Elaboration

• Negotiation

• Specification

• Validation

• Management

Page 8: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

8

Inception• ask a set of questions that establish …

– basic understanding of the problem– the people who want a solution– the nature of the solution that is desired – the effectiveness of preliminary communication

and collaboration between the customer and the developer

Page 9: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

9

Elicitation• elicit requirements from all stakeholders

– address problems of scope– address problems of understanding

• customers not sure about what is needed, skip “obvious” issues, have difficulty communicating with the software engineer, have poor grasp of problem domain

– address problems of volatility (changing requirements)

Page 10: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

10

Elaboration and negotiation• Elaboration: create an analysis model that identifies data,

function, features, constraints and behavioral requirements

• Negotiation: agree on a deliverable system that is realistic for developers and customers

– rank requirements by priority (conflicts arise here …)

– identify and analyze risks assoc. with each requirement

– “guestimate” efforts needed to implement each requirement

– eliminate, combine and / or modify requirements to make project realistic

Page 11: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

11

Specification• can be any one (or more) of the following:

– A written document– A set of models– A formal mathematical model– A collection of user scenarios (use-cases)– A prototype

Page 12: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

12

Validation• a review mechanism that looks for:

– errors in content or interpretation– areas where clarification may be required– missing information– inconsistencies (a major problem when large

products or systems are engineered)– conflicting or unrealistic (unachievable)

requirements– tests for requirements

Page 13: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

13

Management• involves managing change:

– Feature traceability: how requirements relate to observable system/product features

– Source traceability: identifies source of each requirement

– Dependency traceability: how requirements are related to each other

– Subsystem traceability: categorizes requirements by the sub system (s) they govern

– Interface traceability: how requirements relate to both external and internal system interfaces

Page 14: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

14

Methods and tools• many of them available• lists

– elicitation question list– checklists for validation

• graphical diagrams, good for communication• formal methods

– e.g. UML for elaboration and specification

Page 15: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

15

Inception• Identify stakeholders

– “whom else do you think I should talk to?”

• Recognize multiple points of view

• Work toward collaboration

• The first questions:

– Who is behind the request for this work?

– Who will use the solution?

– What will be the economic benefit of a successful solution?

– Is there another source for the solution that you need?

Page 16: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

16

Eliciting Requirements• Meetings with both software engineers and customers

• Rules for preparation and participation are established

• An agenda is suggested

• A "facilitator" (can be a customer, a developer, or an outsider) controls the meeting

• A "definition mechanism" e.g. work sheets, flip charts, wall stickers, an electronic bulletin board, etc

• The goal is

– to identify the problem

– propose elements of the solution

– negotiate different approaches

– specify a preliminary set of solution requirements

Page 17: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

17

Quality Function Deployment• A technique of translating customer needs into

technical system requirements:• Normal requirements: reflect stated customer goals

and objectives• Expected requirements: implicit to the product or

system; their absence will cause significant customer dissatisfaction

• Exciting requirements: featured going beyond customer expectations, causing customer euphoria (;-)

• concentrates on maimizing customer satisfaction

Page 18: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

18

• Function deployment: determines the “value” (as perceived by the customer) of each function required of the system

• Information deployment: identifies data objects and events, ties them to functions

• Task deployment: examines the behavior of the system

• Value analysis: determines the relative priority of requirements

Page 19: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

19

Elements of the analysis model• Scenario-based elements

– Use-case—descriptions of the interaction between an “actor” and the system

– -use-case, activity, swim lane diagrams• Class-based elements

– OO, Class diagrams, implied by scenarios• Behavioral elements

– State, sequence diagram• Flow-oriented elements

– Data flow, control flow diagrams• see chapter 8

Page 20: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

20

Use-Cases• A collection of user scenarios that describe the thread of usage of a system• Each scenario is described from the point-of-view of an “actor”—a person

or device that interacts with the software in some way• Each scenario answers the following questions:

– Who is the primary actor, the secondary actor (s)?– What are the actor’s goals?– What preconditions should exist before the story begins?– What main tasks or functions are performed by the actor?– What extensions might be considered as the story is described?– What variations in the actor’s interaction are possible?– What system information will the actor acquire, produce, or change?– Will the actor have to inform the system about changes in the external

environment?– What information does the actor desire from the system?– Does the actor wish to be informed about unexpected changes?

Page 21: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

21

In which phase of the whole process?

Phase 1Developblueprint

Phase 1Developblueprint

Phase 2Design

Information-system

Phase 2Design

Information-system

Phase 3Realization

Phase 3Realization

Phase 4Implementation

Phase 4ImplementationP

hase

Ste

ps

Docu

men

t

Needsfor system

Definition

FunctionalDesign

Functional Specification

Feasibilty-study

Feasibility

TechnicalDesign

Technical Specification

Requirements Analysis

Page 22: 1 R&D SDM 1 Software Project Management Requirements Analysis 2009 Theo Schouten.

22

attention points

•Focus on external performance of the system (towards the users)

•Limitations in the environment should be well described (technical, number of users and usage, use process, etc.)

•Ease of adaptation (related to iterations)

•References for maintaining the system

•Vision on the live cycle of the system

•How to deal with unexpected events (fault-proof)