Analysing the Cognitive Effectiveness of the UCM Visual Notation of - - PowerPoint PPT Presentation

analysing the cognitive effectiveness of the ucm visual
SMART_READER_LITE
LIVE PREVIEW

Analysing the Cognitive Effectiveness of the UCM Visual Notation of - - PowerPoint PPT Presentation

Analysing the Cognitive Effectiveness of the UCM Visual Notation of the UCM Visual Notation Nicolas Genon, Daniel Amyot, Patrick Heymans SAM 2010, damyot@site.uottawa.ca Why Visual Modelling? Why Visual Modelling? Diagrams play a critical role in


slide-1
SLIDE 1

Analysing the Cognitive Effectiveness

  • f the UCM Visual Notation
  • f the UCM Visual Notation

Nicolas Genon, Daniel Amyot, Patrick Heymans

SAM 2010, damyot@site.uottawa.ca

slide-2
SLIDE 2

Why Visual Modelling? Why Visual Modelling?

Diagrams play a critical role in discussing Diagrams play a critical role in discussing, designing and documenting systems The main reason for using diagrams is to facilitate diagrams is to facilitate communication

  • assumed to be more

assumed to be more effective than text especially for end users

2

slide-3
SLIDE 3

What makes a visual notation “good”? What makes a visual notation good ?

Cognitive Effectiveness = speed, ease and accuracy

[Larkin-87]

3

slide-4
SLIDE 4

Problem Problem

When creating or evolving the visual notation of a When creating or evolving the visual notation of a modelling language, cognitive effectiveness is not taken into consideration in a systematic way!

  • focus is often on abstract syntax and semantics

i l t ti i th “ i ” i t ti

  • visual notation is the “poor cousin” in notation

design, and is designed in ad hoc ways

  • concrete visual syntax is often thought of as a matter

y g

  • f mere aesthetics

(I’m as guilty as many of you!)

4

slide-5
SLIDE 5

Moreover... Moreover...

Users often rely (incorrectly) on intuition leading to Users often rely (incorrectly) on intuition, leading to suboptimal communication and unintended interpretations

5

slide-6
SLIDE 6

Agenda Agenda

  • The Physics of Notations theory (PoN)

The Physics of Notations theory (PoN)

  • Use Case Map (UCM) notation
  • Analysing UCM with the Physics of Notations
  • Illustration of several guidelines, with results and possible

improvements

  • More guidelines discussed in the SAM paper

More guidelines discussed in the SAM paper

  • Full analysis available as a technical report
  • Related work
  • Observations about this theory
  • Conclusions and future work

6

slide-7
SLIDE 7

Physics of Notations Theory Physics of Notations Theory

Perceptual p Discriminability Graphic Cognitive p Economy Semantic T Fit Semiotic Cl it Cognitive Integration Transparency Clarity Visual Expressiveness Integration Complexity Management Expressiveness Dual Coding

[Moody-TSE-09]

7

slide-8
SLIDE 8

Physics of Notations Theory Physics of Notations Theory

The principles synthesize knowledge and evidence coming from various disciplines:

  • Cartography
  • Information visualization

g p y

  • Cognitive psychology
  • Diagrammatic reasoning
  • Graphic design
  • Linguistics
  • Perceptual psychology
  • Semiotics

p g

  • HCI
  • Typography

Main contribution: defragmentation and some metrics defined

8

slide-9
SLIDE 9

Visual Variables

Eight elementary visual variables that can be used to

Visual Variables

Eight elementary visual variables that can be used to graphically encode information [Bertin‐83]

10

slide-10
SLIDE 10

Use Case Maps Use Case Maps

  • Introduced by Buhr et al in the early 90’s

Introduced by Buhr et al. in the early 90 s

  • Part of ITU‐T's User Requirements Notation
  • Rec Z 151 November 2008
  • Rec. Z.151, November 2008
  • Goal modelling with GRL
  • Scenario modelling with UCM
  • The standard includes
  • Metamodel

Vi l t ti

  • Visual notation
  • XML‐based interchange format

The full analysis is available in a technical report [Genon‐UCM]

11

slide-11
SLIDE 11

Use Case Maps Use Case Maps

12

slide-12
SLIDE 12

Use Case Maps Use Case Maps

13

slide-13
SLIDE 13

Perceptual Discriminability Graphic Economy Cognitive Fit y Semantic Transparency Semiotic Clarity Cognitive Integration Visual Expressiveness Complexity Management Dual Coding

14

slide-14
SLIDE 14

Cognitive Fit

Perceptual Discriminability Graphic Economy Semantic Transparency Cognitive Fit Semiotic Clarity Visual Cognitive Integration Complexity

Use different visual dialects when required. 3‐way fit:

Visual Expressiveness Complexity Management Dual Coding

3 way fit:

  • 1. Audience (customers, users, domain experts)
  • 2. Representation medium (paper, whiteboard, computer)

3 T k h t i ti

  • 3. Task characteristics

Cognitive Fit helps determine which audiences, media and tasks notation improvements will target In our analysis of UCM, we considered In our analysis of UCM, we considered

  • notation experts …
  • … working mainly on computer tools, and sometimes on

whiteboards and paper whiteboards and paper…

  • … for modelling and discussing advanced scenarios

15

slide-15
SLIDE 15

Semiotic Clarity

Perceptual Discriminability Graphic Economy Semantic Transparency Cognitive Fit Semiotic Clarity Cognitive Integration

There should be a 1:1 correspondence between semantic constructs and graphical symbols

Visual Expressiveness Complexity Management Dual Coding

UCM: ‐ 55 semantic constructs 55 semantic constructs ‐ 28 symbols

Anomaly types Description UCM % Symbol deficit Construct not represented by any symbol 23 42 % Symbol overload Single symbol representing multiple constructs 3 7 % Symbol overload Single symbol representing multiple constructs 3 7 % Symbol excess Single construct represented by multiple symbols 2 4 % Symbol Symbol not representing any construct 1 2 % Symbol redundancy Symbol not representing any construct 1 2 %

16

slide-16
SLIDE 16

Semiotic Clarity

Perceptual Discriminability Graphic Economy Semantic Transparency Cognitive Fit Semiotic Clarity Cognitive Integration

There should be a 1:1 correspondence between semantic constructs and graphical symbols

Visual Expressiveness Complexity Management Dual Coding

Anomaly types Description UCM % Symbol deficit Construct not represented by any symbol 23 42 %

(UCMMap) singleton ClosedWorkload Unit ComponentBinding ComponentType Concern D d OWPeriodic Unit OWPhaseType Unit OWPoisson Unit OWUniform Unit PassiveResource Pl i Bi di

UCM:

Essentially:

  • Variable definitions

Demand EnumerationType ExternalOperation Unit InBinding Metadata OutBinding PluginBinding ProcessingResource Disk Unit ProcessingResource DSP Unit ProcessingResource Processor Unit Variable Boolean Variable Enumeration

  • Plug‐in bindings
  • Performance annotations
  • Others (concerns, singleton, metadata)

Variable Integer

  • Associate symbols to these concepts
  • Choose not to represent and make it explicit in

( , g , ) the standard

  • Remove these concepts

20

slide-17
SLIDE 17

Perceptual Discriminability

Perceptual Discriminability Graphic Economy Semantic Transparency Cognitive Fit Semiotic Clarity Cognitive Integration

Symbols should be clearly distinguishable.

Symbol discriminability in UCM

Visual Expressiveness Complexity Management Dual Coding

y y

  • Shape
  • 50% of symbols are icons
  • the others use conventional shapes
  • Grain (border style)
  • Colour (black & white)
  • Size

23

slide-18
SLIDE 18

Perceptual Discriminability

Perceptual Discriminability Graphic Economy Semantic Transparency Cognitive Fit Semiotic Clarity Cognitive Integration

Symbols should be clearly distinguishable.

Suggestions for improvement

Visual Expressiveness Complexity Management Dual Coding

Suggestions for improvement

  • 1. Use multiple visual variables (especially colour)

Team Actor Agent Protected component Process Object Process Object (Static) Stub Dynamic Stub

24

slide-19
SLIDE 19

Perceptual Discriminability

Perceptual Discriminability Graphic Economy Semantic Transparency Cognitive Fit Semiotic Clarity Cognitive Integration

Symbols should be clearly distinguishable.

Suggestions for improvement

Visual Expressiveness Complexity Management Dual Coding
  • 2. Choose shapes from different families

Suggestions for improvement

Team Process Team Start Point / Waiting Place AND Join Stub Process Object Dynamic j Empty Point AND Fork Dynamic Stub Quadrilaterals Ellipses Complex 3D

25

slide-20
SLIDE 20

Visual Expressiveness

U th f ll d iti f i l i bl

Perceptual Discriminability Graphic Economy Semantic Transparency Cognitive Fit Semiotic Clarity Cognitive Integration

Use the full range and capacities of visual variables

L ti ( )

Visual Expressiveness Complexity Management Dual Coding

Location (x,y) Shape Colour Brightness

Primary S d

Colour Grain Size Brightness Orientation

notation Secondary notation

26

slide-21
SLIDE 21

Visual Expressiveness

U th f ll d iti f i l i bl

Perceptual Discriminability Graphic Economy Semantic Transparency Cognitive Fit Semiotic Clarity Cognitive Integration

Use the full range and capacities of visual variables

Visual Expressiveness Complexity Management Dual Coding

Check « if form follows content »

27

slide-22
SLIDE 22

Related Work Related Work

Cognitive Dimensions of Notations [Green et al., 2006]

  • 13 dimensions for cognitive artefacts [7].

13 dimensions for cognitive artefacts [7].

  • Not for visual notations, no guidelines, vague empirical

foundation, not falsifiable Semiotic Quality (SEQUAL) Framework [Krogstie et al 2006] Semiotic Quality (SEQUAL) Framework [Krogstie et al., 2006]

  • Comprehensive ontology of quality concepts
  • Wider in scope, with similar limitations as above, but provides

measurable criteria and guidelines measurable criteria and guidelines Guidelines of Modeling [Schuette et al., 2006]

  • Language quality framework with 6 principles

M b t i l ith l f th b

  • More about using languages, with rules of thumbs

Seven Process Modelling Guidelines [Mendling et al., 2006]

  • At the instance (diagram) level. Complementary.

Moody’s Framework used on ArchMate, UML, i*, and BPMN

28

slide-23
SLIDE 23

Observations about the PoN Theory Observations about the PoN Theory

  • Time‐consuming exercise (~2 persons/month)

g ( p / )

  • Training is essential
  • Availability of metrics is uneven

P t l Di i i bilit th i l di t b t – Perceptual Discriminability: the visual distance between symbols should be “large enough”

  • Many principles represent conflicting goals

– Need to understand the solution’s trade‐offs

  • Finding the semantic constructs is key

– Yet it is not straightforward g – However, once they are known, PoN becomes the most accomplished theory to analyse and improve the cognitive effectiveness of visual modelling languages g g g

29

slide-24
SLIDE 24

Conclusions

  • Be aware of the problem, and of the Physics

Conclusions

p , y

  • f Notations theory!
  • Analysis of the strengths and weaknesses of

UCM, with a few ideas for improvements

  • Applicable to new languages and extensions

UCM ti h dli ti t – UCM exception handling, time, aspects...

  • Need for validation phase

– Empirical experiments implicating real UCM users Empirical experiments implicating real UCM users

  • Should this be standardized?

– Rec. Z.111: Notations to define ITU‐T languages? g g

30

slide-25
SLIDE 25

Bibliography Bibliography

[Moody‐TSE‐09] Moody, D.L.: The “Physics” of Notations: Towards a Scientific Basis for Constructing Visual Notations in Software Engineering. IEEE Transactions S f E i i 35 (2009) 756 779

  • n Software Engineering 35 (2009) 756–779

[Larkin‐87] Larkin, J., Simon, H.: Why a Diagram Is (Sometimes)Worth Ten Thousand Words. Cognitive Science 11 (1987) g ( ) [Bertin‐83] Bertin, J.: Sémiologie graphique: Les diagrammes ‐ Les réseaux ‐Les

  • cartes. Gauthier‐VillarsMouton & Cie (1983)

[URN] ITU‐T: Recommendation Z.151 (11/08) User Requirements Notation (URN) Language Definition. International Telecommunication Union. (November 2008) [Z.111] ITU‐T: Recommendation Z.111 (11/08) Notations to define ITU‐T

  • languages. International Telecommunication Union. (November 2008)

[Genon‐UCM] Genon N Amyot D Heymans P: Applying the Physics of [Genon UCM] Genon N., Amyot, D., Heymans, P.: Applying the Physics of Notations to (URN) Use Case Maps. Technical report, PReCISE ‐ University of Namur, http://www. info.fundp.ac.be/~nge/AnalysingUCMagainstPoN.pdf (2010)

31