19
1 University of Cincinnati Department of Electrical Eng. and Computer Science © 2019, Nan Niu Requirements Engineering (Summer 2019) Prof. Nan Niu ([email protected] ) http://homepages.uc.edu/~niunn/courses

Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

1

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Requirements Engineering

(Summer 2019)

Prof. Nan Niu ([email protected])

http://homepages.uc.edu/~niunn/courses

Page 2: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

2

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Today’s Menu

Next Seminar: NFRs

Release Assignment 2

This Seminar: Visual Modeling Notations (class

participation)

Last Seminar: Goal Modeling Assignment 1

Page 3: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

3

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

The i* Notations [Yu-RE’97]

➜ What do you think about these visual notations?

➜ Would you use the same/similar/different ones?

➜ How would you choose them in the first place?

Page 4: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

4

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

The Visual Alphabet

Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin Press, 1983.

Page 5: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

5

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Physics of Notations

Source: D. Moody, et al. “Improving the effectiveness of visual representations in requirements engineering”, RE 2009.

Page 6: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

6

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Semiotic Clarity

Source: D. Moody, et al. “Improving the effectiveness of visual representations in requirements engineering”, RE 2009.

Page 7: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

7

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Symbol Redundancy

Source: D. Moody, et al. “Improving the effectiveness of visual representations in requirements engineering”, RE 2009.

Symbol Overload

Page 8: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

8

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Let’s design “semantically transparent” visual notations

Page 9: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

9

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Let’s design “semantically transparent” visual notations

Page 10: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

10

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Select the roles

Page 11: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

11

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

The rest of us will do “Prototype”

➜ For each of the five i* constructs (actor, resource, goal, softgoal, task), I’ll show you 5 candidate visual notations, please circle one and only one that you think is the most semantically transparent

➜ Make sure to write down your name & make 5 and only 5 selections

➜ Submit for tallying

Page 12: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

12

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Invite the judges back to do “Stereotype”

➜ For each of the five i* constructs (actor, resource, goal, softgoal, task), I’ll show you 5 candidate visual notations, please decide between yourselves (that is, between the judges) reach the consensus of a “semantically transparent” notation

Page 13: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

13

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Test 4 sets of i* Notations ➜ Standard i* [Yu-RE’97]

➜ PoN (Physics of Notation) i* [Moody-REJ’10]

Both are designed by expert researcher(s) in RE, though the latter has embodied a set of principles (design rationales).

Page 14: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

14

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Test 4 sets of i* Notations (Cont’d) ➜ Prototype i* ➜ Stereotype i*➜ PoN (physics of notation) i* ➜ Standard i*

➜ What’s your hypothesis?

➜ What do you think the actual results are?

Page 15: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

15

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu Source: P. Caire, et al. “Visual notation design 2.0”, RE 2013.

Page 16: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

16

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Our Results

Page 17: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

17

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Results of the RE’13 study ➜ 83 participants to experiment “recognition”

Ä Measure hit ratio & semantic transparency coefficient

➜ How effective these are? Ä Standard i*Ä PoN i*Ä Stereotype i*Ä Prototype i*

➜ Hypothesis

➜ Result

Source: P. Caire, et al. “Visual notation design 2.0”, RE 2013.

Page 18: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

18

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Modeling in RE ➜ Modeling with a purpose

Ä Facilitate communication Ä Organize information Ä Uncover missing information Ä Uncover inconsistencies

➜ Yu’s paper – not purely on i* per se, but more on “Early RE” Ä Uncover hidden assumptions (“who” & “why”) Ä Explore alternatives Ä Relate to business and organizational objectives

“People can use pencil to draw on the back of an envelope.” (E. Yu)

Page 19: Requirements Engineering - University of Cincinnatiniunn/courses/RE-refs/slides/05-visual... · Source: J. Bertin, Semiology of Graphics: Diagrams, Networks, Maps, Univ of Wisconsin

19

University of Cincinnati Department of Electrical Eng. and Computer Science

© 2019, Nan Niu

Summary ➜ Visual notation design

Ä Principles Ø “Community Acceptance” must also be one of them

Ä Ways Ø Expert-based vs. end-user-based (stereotype &

prototype) Ä Modeling with a purpose

Ø Oftentimes, the purpose is NOT “appearance suggests correct meaning”, just like lots of words are NOT “onomatopoeia”

Ø Commenting “//increment i” for i++; is useless

➜ Next Ä NFRs Ä Release ASN2