An experimental comparison of ER and UML class diagrams for data modelling

We present the results of three sets of controlled experiments aimed at analysing whether UML class diagrams are more comprehensible than ER diagrams during data models maintenance. In particular, we considered the support given by the two notations in the comprehension and interpretation of data models, comprehension of the change to perform to meet a change request, and detection of defects contained in a data model. The experiments involved university students with different levels of ability and experience. The results demonstrate that using UML class diagrams subjects achieved better comprehension levels. With regard to the support given by the two notations during maintenance activities the results demonstrate that the two notations give the same support, while in general UML class diagrams provide a better support with respect to ER diagrams during verification activities.

[1]  Jim Conallen,et al.  Building Web applications with UML , 1999 .

[2]  Massimiliano Di Penta,et al.  An experimental investigation of formality in UML-based development , 2005, IEEE Transactions on Software Engineering.

[3]  Dag I. K. Sjøberg,et al.  Evaluating the effect of a delegated versus centralized control style on the maintainability of object-oriented software , 2004, IEEE Transactions on Software Engineering.

[4]  Peter M. Chisnall,et al.  Questionnaire Design, Interviewing and Attitude Measurement , 1993 .

[5]  Peretz Shoval,et al.  OO and EER Conceptual Schemas: A Comparison of User Comprehension , 1994 .

[6]  Victor R. Basili,et al.  Experimentation in software engineering , 1986, IEEE Transactions on Software Engineering.

[7]  Webster West,et al.  Applied Statistics for Engineers and Scientists , 2007 .

[8]  Ritu Agarwal,et al.  Comprehending Object and Process Models: An Empirical Study , 1999, IEEE Trans. Software Eng..

[9]  Shamkant B. Navathe,et al.  Evolution of data modeling for databases , 1992, CACM.

[10]  Ivar Jacobson,et al.  The unified modeling language reference manual , 2010 .

[11]  Shouhong Wang Two MIS Analysis Methods: An Experimental Comparison , 1996 .

[12]  G. A. Miller THE PSYCHOLOGICAL REVIEW THE MAGICAL NUMBER SEVEN, PLUS OR MINUS TWO: SOME LIMITS ON OUR CAPACITY FOR PROCESSING INFORMATION 1 , 1956 .

[13]  Claes Wohlin,et al.  Experimentation in software engineering: an introduction , 2000 .

[14]  David K. Hsiao ACM transactions on database systems: aim and scope , 1976, TODS.

[15]  Marco Torchiano,et al.  The Role of Experience and Ability in Comprehension Tasks Supported by UML Stereotypes , 2007, 29th International Conference on Software Engineering (ICSE'07).

[16]  Peter P. Chen The entity-relationship model: toward a unified view of data , 1975, VLDB '75.

[17]  Genny Tortora,et al.  ADAMS: an Artefact-based Process Support System , 2004, SEKE.

[18]  Peretz Shoval,et al.  Entity-Relationship and Object-Oriented Data Modeling-an Experimental Comparison of Design Quality , 1997, Data Knowl. Eng..

[19]  Barbara A. Kitchenham,et al.  The case against cross-over designs in software engineering , 2003, Eleventh Annual International Workshop on Software Technology and Engineering Practice.

[20]  Chris Gane,et al.  Structured Systems Analysis: Tools and Techniques , 1977 .

[21]  Mario Piattini,et al.  Evaluating the effect of composite states on the understandability of UML statechart diagrams , 2005, MoDELS'05.

[22]  Ed Downs,et al.  Structured systems analysis and design method: application and context , 1988 .

[23]  David A. Carrington,et al.  UML Class Diagram Syntax: An Empirical Study of Comprehension , 2001, InVis.au.

[24]  Ashok Gupta,et al.  The Communication Effectiveness of System Models Using the UML versus Structured Techniques: A Field Experiment , 2005 .

[25]  Martin Gogolla,et al.  Object Constraint Language , 2009, Encyclopedia of Database Systems.

[26]  Andreas Zeller,et al.  Mining Version Histories to Guide Software Changes , 2004 .

[27]  W. J. Conover,et al.  Practical Nonparametric Statistics , 1972 .

[28]  Prashant Palvia,et al.  The Impact of Conceptual Data Models on End-User Performance , 1992 .

[29]  Genny Tortora,et al.  Data Model Comprehension: An Empirical Comparison of ER and UML Class Diagrams , 2008, 2008 16th IEEE International Conference on Program Comprehension.

[30]  Genny Tortora,et al.  Assessing the Support of ER and UML Class Diagrams during Maintenance Activities on Data Models , 2008, 2008 12th European Conference on Software Maintenance and Reengineering.

[31]  Mario Piattini,et al.  Does object coupling really affect the understanding and modifying of OCL expressions? , 2006, SAC '06.

[32]  Andrew Gemino,et al.  Complexity and clarity in conceptual modeling: Comparison of mandatory and optional properties , 2005, Data Knowl. Eng..

[33]  C. Lévi-Strauss,et al.  Experimental investigation , 2013 .

[34]  E. Lavernia,et al.  An experimental investigation , 1992, Metallurgical and Materials Transactions A.

[35]  Diane K. Michelson,et al.  Applied Statistics for Engineers and Scientists , 2001, Technometrics.

[36]  Andreas Zeller,et al.  Mining version histories to guide software changes , 2005, Proceedings. 26th International Conference on Software Engineering.

[37]  Ray Welland,et al.  Comprehension of diagram syntax: an empirical study of entity relationship notations , 2004, Int. J. Hum. Comput. Stud..

[38]  José Javier Dolado,et al.  An Initial Experimental Assessment of the Dynamic Modelling in UML , 2004, Empirical Software Engineering.

[39]  Marco Torchiano Empirical assessment of UML static object diagrams , 2004, Proceedings. 12th IEEE International Workshop on Program Comprehension, 2004..

[40]  Douglas B. Bock,et al.  Accuracy in Modeling with Extended Entity Relationship and Object Oriented Data Models , 1993 .

[41]  Andrew Gemino,et al.  Empirical comparison of object-oriented and dataflow models , 1997, ICIS '97.

[42]  Natalia Juristo Juzgado,et al.  Basics of Software Engineering Experimentation , 2010, Springer US.

[43]  Miroslaw Staron,et al.  An empirical study on using stereotypes to improve understanding of UML models , 2004, Proceedings. 12th IEEE International Workshop on Program Comprehension, 2004..

[44]  David J. Groggel,et al.  Practical Nonparametric Statistics , 2000, Technometrics.

[45]  Peter B. Henderson Mathematical reasoning in software engineering education , 2003, CACM.

[46]  Giuliano Antoniol,et al.  Recovering Traceability Links between Code and Documentation , 2002, IEEE Trans. Software Eng..

[47]  Ivar Jacobson,et al.  Unified Modeling Language Reference Manual, The (2nd Edition) , 2004 .