Abstract
Models, as any other software artifact, evolve over time during the development life-cycle. Different versions of the same model are thus existing at different times. Model comparison of different versions has received a lot of attention in recent years. However, existing techniques focus on comparing only two model versions at the same time to identify model differences. Independently of model versioning context, another dimension of variation, called variation in space, appears in models. Contrary to variation in time, variation in space means that a set of model variants exists and should be maintained. Comparing all these model variants to identify common and variable elements becomes thus a major challenge. Current approaches for model variants comparison lack of flexibility and appropriate visualisation paradigm. The contribution of this paper is the Model Variants Comparison approach (MoVaC). This approach compares a set of model variants and identifies both commonality and variability in the form of what is referred to as features. Each feature consists in a set of atomic model-elements. MoVaC also visualizes the identified features using a graphical representation where common and variable features are explicitly presented to users. We validate the approach on two use cases demonstrating the flexibility of MoVaC to be applied to any kind of EMF-based model variants.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Alanen, M., Porres, I.: Difference and union of models. In: Stevens, P., Whittle, J., Booch, G. (eds.) UML 2003. LNCS, vol. 2863, pp. 2–17. Springer, Heidelberg (2003)
Blanc, X., Mounier, I., Mougenot, A., Mens, T.: Detecting model inconsistency through operation-based model construction. In: ICSE, pp. 511–520 (2008)
Brun, C., Pierantonio, A.: Model differences in the eclipse modeling framework. UPGRADE, The European Journal for the Informatics Professional 9(2), 29–34 (2008)
Eclipse: Eclipse modeling framework project (2014), http://www.eclipse.org/modeling/emf
Eclipse: Emf diff/merge: a diff/merge component for models (2014), http://eclipse.org/diffmerge/
Eclipse: The visualiser, ajdt: Aspectj development tools (2014), http://www.eclipse.org/ajdt/visualiser/
Engel, K.-D., Paige, R.F., Kolovos, D.S.: Using a model merging language for reconciling model versions. In: Rensink, A., Warmer, J. (eds.) ECMDA-FA 2006. LNCS, vol. 4066, pp. 143–157. Springer, Heidelberg (2006)
Estublier, J.: Software configuration management: A roadmap. In: Finkelstein, A. (ed.) ICSE - Future of SE Track, pp. 279–289. ACM (2000)
Fenske, W., Thüm, T., Saake, G.: A taxonomy of software product line reengineering. In: Collet, P., Wasowski, A., Weyer, T. (eds.) VaMoS, p. 4. ACM (2014)
Girschick, M., Darmstadt, T.: Difference detection and visualization in uml class diagrams. Tech. rep. (2006)
Istoan, P., Biri, N., Klein, J.: Issues in model-driven behavioural product derivation. In: VaMoS, pp. 69–78 (2011)
itemis: Yakindu statechart tool (2014), http://statecharts.org
Kelter, U., Wehren, J., Niere, J.: A generic difference algorithm for uml models. In: Liggesmeyer, P., Pohl, K., Goedicke, M. (eds.) Software Engineering. LNI, vol. 64, pp. 105–116. GI (2005)
Kolovos, D.S., Di Ruscio, D., Pierantonio, A., Paige, R.F.: Different models for model matching: An analysis of approaches to support model differencing. In: Proceedings of the 2009 ICSE Workshop on Comparison and Versioning of Software Models, CVSM 2009, pp. 1–6. IEEE Computer Society, Washington, DC (2009), http://dx.doi.org/10.1109/CVSM.2009.5071714
OMG: Meta object facility (mof) core specification (2006), http://www.omg.org/spec/MOF/2.0/
Pohl, K., Böckle, G., van der Linden, F.: Software Product Line Engineering: Foundations, Principles and Techniques (2005)
Rubin, J., Chechik, M.: Combining related products into product lines. In: de Lara, J., Zisman, A. (eds.) FASE. LNCS, vol. 7212, pp. 285–300. Springer, Heidelberg (2012)
Ryssel, U., Ploennigs, J., Kabitzsch, K.: Automatic variation-point identification in function-block-based models. In: GPCE, pp. 23–32 (2010)
Stephan, M., Cordy, J.R.: A survey of model comparison approaches and applications. In: Hammoudi, S., Pires, L.F., Filipe, J., das Neves, R.C. (eds.) MODELSWARD, pp. 265–277. SciTePress (2013)
Tairas, R., Gray, J., Baxter, I.: Visualization of clone detection results. In: Proceedings of the 2006 OOPSLA Workshop on Eclipse Technology EXchange, Eclipse 2006, pp. 50–54. ACM, New York (2006)
Ziadi, T., Frias, L., da Silva, M.A.A., Ziane, M.: Feature identification from the source code of product variants. In: CSMR, pp. 417–422 (2012)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Martinez, J., Ziadi, T., Klein, J., le Traon, Y. (2014). Identifying and Visualising Commonality and Variability in Model Variants. In: Cabot, J., Rubin, J. (eds) Modelling Foundations and Applications. ECMFA 2014. Lecture Notes in Computer Science, vol 8569. Springer, Cham. https://doi.org/10.1007/978-3-319-09195-2_8
Download citation
DOI: https://doi.org/10.1007/978-3-319-09195-2_8
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-09194-5
Online ISBN: 978-3-319-09195-2
eBook Packages: Computer ScienceComputer Science (R0)