forces and frictions affecting mde

26
Forces and Frictions affecting MDE An exploratory study by Adrian Kuhn, Gail Murphy and C. Albert Thompson University of British Columbia

Upload: adrian-kuhn

Post on 21-Jun-2015

303 views

Category:

Technology


2 download

DESCRIPTION

Empirical study on how engineers in the automotive industry work with model-driven engineering (MDE), presented at MODELS 2012 in Innsbruck.

TRANSCRIPT

Page 1: Forces and Frictions affecting MDE

Forces and Frictions affecting MDE

An exploratory study by Adrian Kuhn, Gail Murphy and C. Albert Thompson University of British Columbia

Page 2: Forces and Frictions affecting MDE

Research partnership between General Motors, IBM and 8 Canadian universities.

www.necsis.ca

Kuhn  etal,  MODELS  2012   2  

Page 3: Forces and Frictions affecting MDE

We  interviewed  20  People  at  GM.  

Engineers and team leads.

Kuhn  etal,  MODELS  2012   3  

Page 4: Forces and Frictions affecting MDE

So  here  is  what  we  learned…  

Engineers seem to prefer the linear reading path of text over visual languages.

Complex tool chain leads to update cycles of days rather than minutes.

Domain experts invent novel systems, but the lack power to extend the language.

Kuhn  etal,  MODELS  2012   4  

Page 5: Forces and Frictions affecting MDE

But  first,  what  is  a  model?  

Kuhn  etal,  MODELS  2012   5  

Page 6: Forces and Frictions affecting MDE

In-­‐silico  simulaKon  (physical  model)    Architecture  (high-­‐level  model)    — Class diagrams in IBM Rhapsody  

 Algorithm  logic  (low-­‐level  model)   — Diagrams in MathWorks Simulink  

   

Kuhn  etal,  MODELS  2012   6  

Page 7: Forces and Frictions affecting MDE

What  is  their  MDE  process?  

Roles and artifacts.

Kuhn  etal,  MODELS  2012   7  

Page 8: Forces and Frictions affecting MDE

Sketch of the modeling process, taken from our interview notes.

Kuhn  etal,  MODELS  2012   8  

Page 9: Forces and Frictions affecting MDE

Domain experts invent novel algorithms, creating requirements documents and sketching software models.

Kuhn  etal,  MODELS  2012   9  

Page 10: Forces and Frictions affecting MDE

Software modelers implement algorithms, creating, or refining, software models based on requirements documents.

Kuhn  etal,  MODELS  2012   10  

Page 11: Forces and Frictions affecting MDE

Domain experts and modelers use ad-hoc model patches (i.e. Powerpoint slides with screenshots) to communicate changes!

Kuhn  etal,  MODELS  2012   11  

Page 12: Forces and Frictions affecting MDE

Code generation is automated, using code generation rules defined by a specialized team of code generation experts.

Kuhn  etal,  MODELS  2012   12  

Page 13: Forces and Frictions affecting MDE

Test engineers work with all artifacts, i.e. requirements documents, software models, generated sources and tests.

Kuhn  etal,  MODELS  2012   13  

Page 14: Forces and Frictions affecting MDE

ObservaKons  

Forces and Frictions

Kuhn  etal,  MODELS  2012   14  

Page 15: Forces and Frictions affecting MDE

Force:  trigger  of  essen.al  complexity,  likely  independent  of  abstrac.on  chosen.    Fric.on:  trigger  of  accidental  complexity,  namely  complexity  introduced  by  tools  and  language.        

Kuhn  etal,  MODELS  2012   15  

Page 16: Forces and Frictions affecting MDE

Force:  Teams  are  typically  working  on  mul.ple  versions  of  the  same  so?ware  model.    Fric.on:  Yet  engineers  lack  proper  tooling  to  iden.fy  and  share  differences.    

Kuhn  etal,  MODELS  2012   16  

Page 17: Forces and Frictions affecting MDE

Force:  Domain  experts  use  a  rich  set  of  visual  languages  to  invent  novel  algorithms.    Fric.on:  Yet  they  lack  tool  support  to  define  their  own  liDle  languages.    

Kuhn  etal,  MODELS  2012   17  

Page 18: Forces and Frictions affecting MDE

Force:  Inven.ng  novel  algorithms  for  vehicle  control  is  an  exploratory  ac.vity.    Fric.on:  Yet  tes.ng  on  vehicles  suffers  from  lack  of  run.me  changeability.    

Kuhn  etal,  MODELS  2012   18  

Page 19: Forces and Frictions affecting MDE

Force:  Engineers  o?en  need  to  navigate  between  requirements  and  models.    Fric.on:  Yet  they  there  is  no  tool  support  for  point-­‐to-­‐point  traceability.    

Kuhn  etal,  MODELS  2012   19  

Page 20: Forces and Frictions affecting MDE

Findings  

What we learned …

Kuhn  etal,  MODELS  2012   20  

Page 21: Forces and Frictions affecting MDE

Engineers prefer the linear reading path of text over visual languages.

Kuhn  etal,  MODELS  2012   21  

Page 22: Forces and Frictions affecting MDE

Complex tool chain leads to update cycles of days rather than minutes.

Kuhn  etal,  MODELS  2012   22  

Page 23: Forces and Frictions affecting MDE

Domain experts invent novel systems, but lack the power to extend the language.

Kuhn  etal,  MODELS  2012   23  

Page 24: Forces and Frictions affecting MDE

Related  work  on  user  studies  

•  Hutchinson  etal,  ICSE  2011  

•  Mohagheghi  and  Dehlen,  MODELS  2008  

•  Forward  and  Lethbridge,  MISE  2008  

•  Heijstek  and  Chaudron,  SEAA  2010  

Kuhn  etal,  MODELS  2012   24  

Page 25: Forces and Frictions affecting MDE

So  here  is  what  we  learned…  

Engineers seem to prefer the linear reading path of text over visual languages.

Complex tool chain leads to update cycles of days rather than minutes.

Domain experts invent novel systems, but the lack power to extend the language.

Kuhn  etal,  MODELS  2012   25  

Page 26: Forces and Frictions affecting MDE

Download our papers"http://arxiv.org/abs/1207.0855 "http://arxiv.org/abs/1209.5800

Kuhn  etal,  MODELS  2012   26