Requirements Validation Lectures 7, DAT230, Requirements - - PowerPoint PPT Presentation

requirements validation
SMART_READER_LITE
LIVE PREVIEW

Requirements Validation Lectures 7, DAT230, Requirements - - PowerPoint PPT Presentation

Requirements Validation Lectures 7, DAT230, Requirements Engineering Robert Feldt, 2011-09-20 tisdag den 20 september 2011 Customer Interview #1 Thursday 22/9, Jupiter320 Time Groups 13:15-14:10 1, 2, 3 14:15-15:10 4, 5, 6 15:15-16:10


slide-1
SLIDE 1

Requirements Validation

Lectures 7, DAT230, Requirements Engineering Robert Feldt, 2011-09-20

tisdag den 20 september 2011

slide-2
SLIDE 2

Customer Interview #1

Thursday 22/9, Jupiter320 Time Groups

13:15-14:10 1, 2, 3 14:15-15:10 4, 5, 6 15:15-16:10 7, 8, 9 16:15-17:15 10, 11, 12

tisdag den 20 september 2011

slide-3
SLIDE 3

Recap from last lecture

tisdag den 20 september 2011

slide-4
SLIDE 4
  • Specification to refine/specify reqs and reduce risks
  • SRS is primarily a communication device
  • Also drives development and is baseline for releases
  • Modeling for specific situations and reqs
  • Many different specification techniques
  • Text, Sequence- and state-based models are key
  • Use cases, scenarios also quite common
  • Formal approaches less used; user communication harder
  • IEEE 830 gives basic and common structure

Recap

tisdag den 20 september 2011

slide-5
SLIDE 5

Specification Techniques

Word doc Excel doc

Text

DB / Req tool

Interaction- / Sequence-based

Scenario Storyboard Use case Stimulus-response sequence

State-based

State transition diagram UML state diagram

Decision-based

Decision tables Decision trees

Quality Requirements

PLanguage Volere Probabilistic Quality Patterns

User Interfaces

UI standards Text Prototype Sketches Look’n’feel samples

Formal

Z Property-based CSP VDM

tisdag den 20 september 2011

slide-6
SLIDE 6

Why validation?

“If temperature is higher than 70 and less than 100, then output should be 3000 watts”

tisdag den 20 september 2011

slide-7
SLIDE 7

Why validation?

“If temperature is higher than 70 and less than 100, then output should be 3000 watts”

  • What if <70?

tisdag den 20 september 2011

slide-8
SLIDE 8

Why validation?

“If temperature is higher than 70 and less than 100, then output should be 3000 watts”

  • What if <70?
  • What if >100

tisdag den 20 september 2011

slide-9
SLIDE 9

Why validation?

“If temperature is higher than 70 and less than 100, then output should be 3000 watts”

  • What if <70?
  • What if >100
  • 70 and 100 are in C or F?

tisdag den 20 september 2011

slide-10
SLIDE 10

Why validation?

“If temperature is higher than 70 and less than 100, then output should be 3000 watts”

  • What if <70?
  • What if >100
  • 70 and 100 are in C or F?
  • How does this fit with rest? Conflicts?

tisdag den 20 september 2011

slide-11
SLIDE 11

Why validation?

“If temperature is higher than 70 and less than 100, then output should be 3000 watts”

  • What if <70?
  • What if >100
  • 70 and 100 are in C or F?
  • How does this fit with rest? Conflicts?
  • What is missing?

tisdag den 20 september 2011

slide-12
SLIDE 12

Validation Techniques

tisdag den 20 september 2011

slide-13
SLIDE 13

Req Review

tisdag den 20 september 2011

slide-14
SLIDE 14

The Review Formality Spectrum

Formal

Ad Hoc Review Formal / Fagan Inspection Peer Desk Check Pair Programming Team Review

No rules!

tisdag den 20 september 2011

slide-15
SLIDE 15

The Review Formality Spectrum

Formal

Ad Hoc Review Formal / Fagan Inspection Peer Desk Check Pair Programming Team Review

No rules!

7 Stages Roles Preparation Recorder Approval/Not

tisdag den 20 september 2011

slide-16
SLIDE 16

[Wikipedia2011]

Fagan Inspection Process

IBM: 80-90% of defects found & 25% resource savings

tisdag den 20 september 2011

slide-17
SLIDE 17
  • Test-Case Driven Review
  • Tester does review to find reqs that are not testable
  • Reading techniques
  • Ad hoc (most common, focused on experience)
  • Check-list based
  • Perspective-based (different stakeholders or user types)

Review/Reading Styles

tisdag den 20 september 2011

slide-18
SLIDE 18

Checklist example

tisdag den 20 september 2011

slide-19
SLIDE 19

Selective Homeworkless Review

  • Challenges when re-introducing Fagan inspections at IBM:
  • Managers: High up-front cost (20-30% of dev time), since

everything reviewed => Selective reviewing

  • Individuals: Preparations seldom happen, since tight

schedules => Homeworkless reviews

  • Team meets once a week, fixed day&time, 1-1.5 hours
  • Artifact selected just before or at meeting
  • Roles: Moderator, Reader, Scribe/Recorder
  • Hybrid: No preparation => informal, Roles => formal
  • Moderator selects specific review technique

[Farchi2008]

tisdag den 20 september 2011

slide-20
SLIDE 20

Selective Homeworkless Review

tisdag den 20 september 2011

slide-21
SLIDE 21

Selective Homeworkless Review

  • Moderator monitors metrics:
  • Issues found per reviewer per hour
  • If below 2, then stop meeting or use other technique
  • Does it work?
  • 2.17 +/- 0.34 issues/hour/reviewer (90% confidence level)
  • “When compared to other review methodologies that in- clude

preparation, our method finds fewer issues overall but more major issues per hour. Our opinion is that people working on their own are more effective in finding low-level syntactic problems, as more eyes are watching more places, but less effective in finding real bugs as the understanding is shallower.” [Farchi2008]

tisdag den 20 september 2011

slide-22
SLIDE 22

Prototyping

tisdag den 20 september 2011

slide-23
SLIDE 23

Prototyping

tisdag den 20 september 2011

slide-24
SLIDE 24

What do industry use?

4 companies used checklist-based and 2 ad hoc review reading 6 used throwaway prototypes, 2 also evolutionary

tisdag den 20 september 2011

slide-25
SLIDE 25

Who do industry involve in reviews?

tisdag den 20 september 2011

slide-26
SLIDE 26

Pros/Cons of Reviews?

tisdag den 20 september 2011

slide-27
SLIDE 27

Improvements to Reviews?

tisdag den 20 september 2011

slide-28
SLIDE 28

Satisfaction with Prototyping?

tisdag den 20 september 2011

slide-29
SLIDE 29

Comparison of Techniques

tisdag den 20 september 2011

slide-30
SLIDE 30

Standards & Process Reqs

tisdag den 20 september 2011

slide-31
SLIDE 31

Standards & Process Reqs

tisdag den 20 september 2011