An automated approach to transform use cases into activity diagrams

  • Authors:
  • Tao Yue;Lionel C. Briand;Yvan Labiche

  • Affiliations:
  • Software Quality Engineering Lab, Carleton University, Ottawa, ON, Canada;Simula Research Laboratory, University of Oslo, Lysaker, Norway;Software Quality Engineering Lab, Carleton University, Ottawa, ON, Canada

  • Venue:
  • ECMFA'10 Proceedings of the 6th European conference on Modelling Foundations and Applications
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Use cases are commonly used to structure and document requirements while UML activity diagrams are often used to visualize and formalize use cases, for example to support automated test case generation. Therefore the automated support for the transition from use cases to activity diagrams would provide significant, practical help. Additionally, traceability could be established through automated transformation, which could then be used for instance to relate requirements to design decisions and test cases. In this paper, we propose an approach to automatically generate activity diagrams from use cases while establishing traceability links. Data flow information can also be generated and added to these activity diagrams. Our approach is implemented in a tool, which we used to perform five case studies. The results show that high quality activity diagrams can be generated. Our analysis also shows that our approach outperforms existing academic approaches and commercial tools.