Abstract
In this paper we present an experiment and two replications aimed at comparing the support provided by ER and UML class diagrams during comprehension activities by focusing on the single building blocks of the two notations. This kind of analysis can be used to identify weakness in a notation and/or justify the need of preferring ER or UML for data modeling. The results reveal that UML class diagrams are generally more comprehensible than ER diagrams, even if the former has some weaknesses related to three building blocks, i.e., multi-value attribute, composite attribute, and weak entity. These findings suggest that a UML class diagram extension should be considered to overcome these weaknesses and improve the comprehensibility of the notation.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Navathe, S.B.: Evolution of data modeling for databases. Commun. ACM 35, 112–123 (1992)
Shoval, P., Frumermann, I.: OO and EER conceptual schemas: A comparison of user comprehension. Journal of Database Management 5(4), 28–38 (1994)
De Lucia, A., Gravino, C., Oliveto, R., Tortora, G.: Assessing the support of ER and UML class diagrams during maintenance activities on data models. In: 2th European Conference on Software Maintenance and Reengineering, CSMR 2008, pp. 173–182 (April 2008)
Lucia, A.D., Gravino, C., Oliveto, R., Tortora, G.: An experimental comparison of ER and UML class diagrams for data modelling. Empirical Software Engineering 15(5), 455–492 (2010)
Shoval, P., Shiran, S.: Entity-relationship and object-oriented data modeling: an experimental comparison of design quality. Data Knowledge Engineering 21, 297–315 (1997)
Bock, D., Ryan, T.: Accuracy in modeling with extended entity relationship and object oriented data models. Journal of Database Management 4, 30–39 (1993)
Palvia, P., Lio, C., To, P.: The impact of conceptual data models on end-user performance. Journal of Database Management 3(4), 4–15 (1992)
Miller, G.A.: The magical number seven, plus or minus two: Some limits on our capacity for processing information. The Psychological Review 63, 81–97 (1956)
Ricca, F., Di Penta, M., Torchiano, M., Tonella, P., Ceccato, M.: How developers experience and ability influence web application comprehension tasks supported by UML stereotypes: A series of four experiments. IEEE Transactions on Software Engineering 36(1), 96–118 (2010)
Oppenheim, A.N.: Questionnaire Design, Interviewing and Attitude Measurement. Pinter Publishers (1992)
Baeza-Yates, R.A., Ribeiro-Neto, B.: Modern Information Retrieval. Addison-Wesley Longman Publishing Co., Inc., Boston (1999)
Antoniol, G., Canfora, G., Casazza, G., De Lucia, A., Merlo, E.: Recovering traceability links between code and documentation. IEEE Transactions on Software Engineering 28(10), 970–983 (2002)
Bavota, G., et al.: UML vs ER - experimental material (2011), http://sesa.dmi.unisa.it/UMLvsER.html
Conover, W.J.: Practical Nonparametric Statistics, 3rd edn. Wiley, Chichester (1998)
Briand, L.C., Labiche, Y., Penta, M.D., Yan-Bondoc, H.D.: An experimental investigation of formality in UML-based development. IEEE Transactions on Software Engineering 31, 833–849 (2005)
Wohlin, C., Runeson, P., Host, M., Ohlsson, M.C., Regnell, B., Wesslen, A.: Experimentation in Software Engineering - An Introduction. Kluwer, Dordrecht (2000)
Arisholm, E., Sjoberg, D.I.K.: Evaluating the effect of a delegated versus centralized control style on the maintainability of object-oriented software. IEEE Transactions on Software Engineering 30, 521–534 (2004)
Cruz-Lemus, J.A., Genero, M., Manso, M.E., Piattini, M.: Evaluating the effect of composite states on the understandability of UML statechart diagrams. In: Briand, L.C., Williams, C. (eds.) MoDELS 2005. LNCS, vol. 3713, pp. 113–125. Springer, Heidelberg (2005)
Genero, M., Cruz-Lemus, J.A., Caivano, D., Abrahão, S., Insfran, E., Carsí, J.Á.: Assessing the influence of stereotypes on the comprehension of UML sequence diagrams: A controlled experiment. In: Busch, C., Ober, I., Bruel, J.-M., Uhl, A., Völter, M. (eds.) MODELS 2008. LNCS, vol. 5301, pp. 280–294. Springer, Heidelberg (2008)
Staron, M., Kuzniarz, L., Thurn, C.: An empirical assessment of using stereotypes to improve reading techniques in software inspections. In: Proceedings of the Third Workshop on Software Quality, 3-WoSQ, pp. 1–7. ACM, New York (2005)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Bavota, G. et al. (2011). Identifying the Weaknesses of UML Class Diagrams during Data Model Comprehension. In: Whittle, J., Clark, T., Kühne, T. (eds) Model Driven Engineering Languages and Systems. MODELS 2011. Lecture Notes in Computer Science, vol 6981. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-24485-8_13
Download citation
DOI: https://doi.org/10.1007/978-3-642-24485-8_13
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-24484-1
Online ISBN: 978-3-642-24485-8
eBook Packages: Computer ScienceComputer Science (R0)