Skip to main content

Identifying the Weaknesses of UML Class Diagrams during Data Model Comprehension

  • Conference paper
Model Driven Engineering Languages and Systems (MODELS 2011)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Navathe, S.B.: Evolution of data modeling for databases. Commun. ACM 35, 112–123 (1992)

    Article  Google Scholar 

  2. Shoval, P., Frumermann, I.: OO and EER conceptual schemas: A comparison of user comprehension. Journal of Database Management 5(4), 28–38 (1994)

    Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Article  Google Scholar 

  5. Shoval, P., Shiran, S.: Entity-relationship and object-oriented data modeling: an experimental comparison of design quality. Data Knowledge Engineering 21, 297–315 (1997)

    Article  MATH  Google Scholar 

  6. Bock, D., Ryan, T.: Accuracy in modeling with extended entity relationship and object oriented data models. Journal of Database Management 4, 30–39 (1993)

    Article  Google Scholar 

  7. 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)

    Article  Google Scholar 

  8. 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)

    Article  Google Scholar 

  9. 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)

    Article  Google Scholar 

  10. Oppenheim, A.N.: Questionnaire Design, Interviewing and Attitude Measurement. Pinter Publishers (1992)

    Google Scholar 

  11. Baeza-Yates, R.A., Ribeiro-Neto, B.: Modern Information Retrieval. Addison-Wesley Longman Publishing Co., Inc., Boston (1999)

    Google Scholar 

  12. 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)

    Article  Google Scholar 

  13. Bavota, G., et al.: UML vs ER - experimental material (2011), http://sesa.dmi.unisa.it/UMLvsER.html

  14. Conover, W.J.: Practical Nonparametric Statistics, 3rd edn. Wiley, Chichester (1998)

    Google Scholar 

  15. 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)

    Article  Google Scholar 

  16. Wohlin, C., Runeson, P., Host, M., Ohlsson, M.C., Regnell, B., Wesslen, A.: Experimentation in Software Engineering - An Introduction. Kluwer, Dordrecht (2000)

    Book  MATH  Google Scholar 

  17. 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)

    Article  Google Scholar 

  18. 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)

    Chapter  Google Scholar 

  19. 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)

    Chapter  Google Scholar 

  20. 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)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics