SAM 2014: System Analysis and Modeling: Models and Reusability pp 32-47 | Cite as
An Empirical Study on the Anticipation of the Result of Copying and Pasting among UML Editors
Abstract
Copy and paste is a function that is very popular in software programming. In software modeling, when a person performs a copy and paste, she/he expects that the copy will be similar to the original. The similarity refers to a selection of what properties and references from the original element have to be copied. This problem seems difficult because this feature is not addressed in scientific literature, is rarely available in — de-facto standard — editors of UML class diagram or functions differently from one editor to another. In this article, we will show that a significant part of the solution depends on the metrics used. We propose three families of metrics that produce various copy and paste behaviors. We adopted an empirical approach to assess their ergonomic qualities. We asked 67 people to predict results of a series of copy-pasting experiments. We observed two populations, one influenced by the visual representation and the other by semantics.
Keywords
Copy and paste Diagram editor Empirical studyPreview
Unable to display preview. Download preview PDF.
References
- 1.Alais, D., Blake, R., Lee, S.H.: Visual features that vary together over time group together over space. Nature Neuroscience 1(2), 160–164 (1998)CrossRefGoogle Scholar
- 2.Blok, M.C., Cybulski, J.L.: Reusing UML specifications in a constrained application domain. In: Proceedings of 1998 Asia Pacific Software Engineering Conference, pp. 196–202 (December 1998)Google Scholar
- 3.Booch, G., Rumbaugh, J., Jacobson, I.: The Unified Modeling Language User Guide. Addison Wesley Professional (2005)Google Scholar
- 4.Burkhardt, J.M., Détienne, F., Wiedenbeck, S.: Object-oriented program comprehension: Effect of expertise, task and phase. Empirical Software Engineering 7(2), 115–156 (2002), http://dx.doi.org/10.1023/A%3A1015297914742 CrossRefMATHGoogle Scholar
- 5.Harel, D., Rumpe, B.: Meaningful modeling: what’s the semantics of “semantics”? Computer 37(10), 64–72 (2004)CrossRefGoogle Scholar
- 6.Jézéquel, J.M.: Model driven design and aspect weaving. Software & Systems Modeling 7(2), 209–218 (2008)CrossRefGoogle Scholar
- 7.Kelly, S., Tolvanen, J.P.: Domain-Specific Modeling: Enabling Full Code Generation. John Wiley & Sons, Inc., Hoboken (2007)Google Scholar
- 8.Caskurlu, B.: Model driven engineering. In: Butler, M., Petre, L., Sere, K. (eds.) IFM 2002. LNCS, vol. 2335, pp. 286–298. Springer, Heidelberg (2002)CrossRefGoogle Scholar
- 9.Kim, M., Bergman, L., Lau, T., Notkin, D.: An ethnographic study of copy and paste programming practices in oopl. In: Proceedings of 2004 International Symposium on Empirical Software Engineering, ISESE 2004, pp. 83–92 (August 2004)Google Scholar
- 10.Koschke, R.: Identifying and removing software clones. In: Software Evolution, pp. 15–36. Springer, Heidelberg (2008)CrossRefGoogle Scholar
- 11.Li, Z., Lu, S., Myagmar, S., Zhou, Y.: Cp-miner: finding copy-paste and related bugs in large-scale software code. IEEE Transactions on Software Engineering 32(3), 176–192 (2006)CrossRefGoogle Scholar
- 12.Mann, Z.: Three public enemies: cut, copy, and paste. Computer 39(7), 31–35 (2006)CrossRefGoogle Scholar
- 13.Moody, D.: The “physics” of notations: Toward a scientific basis for constructing visual notations in software engineering. IEEE Transactions on Software Engineering 35(6), 756–779 (2009)CrossRefGoogle Scholar
- 14.Object Management Group: OMG Unified Modeling Language (OMG UML), Infrastructure. Version 2.4.1. OMG Document Number: formal/2011-08-05 (August 2011), http://www.omg.org/spec/UML/2.4.1/Infrastructure/PDF/
- 15.Palmer, S., Rock, I.: Rethinking perceptual organization: The role of uniform connectedness. Psychonomic Bulletin & Review 1(1), 29–55 (1994)CrossRefGoogle Scholar
- 16.Palmer, S.E.: Common region: A new principle of perceptual grouping. Cognitive Psychology 24(3), 436–447 (1992)CrossRefGoogle Scholar
- 17.Robles, K., Fraga, A., Morato, J., Llorens, J.: Towards an ontology-based retrieval of UML class diagrams. Information and Software Technology 54(1), 72–86 (2012)CrossRefGoogle Scholar
- 18.Roddick, J.F., Hornsby, K., de Vries, D.: A unifying semantic distance model for determining the similarity of attribute values. In: Proceedings of the 26th Australasian Computer Science Conference, ACSC 2003, pp. 111–118. Australian Computer Society, Inc., Darlinghurst (2003)Google Scholar
- 19.Rufai, R.A.: New Structural Similarity Metrics for UML Models. Ph.D. thesis, King Fahd University of Petroleum & Minerals, Saudi Arabia (2003)Google Scholar
- 20.Schmidt, D.: Guest editor’s introduction: Model-driven engineering. Computer 39(2), 25–31 (2006)CrossRefGoogle Scholar
- 21.Wagemans, J., Elder, J.H., Kubovy, M., Palmer, S.E., Peterson, M.A., Singh, M., von der Heydt, R.: A century of Gestalt psychology in visual perception: I. Perceptual grouping and figure-ground organization. Psychological Bulletin 138(6), 1172–1217 (2012)CrossRefGoogle Scholar
- 22.Wertheimer, M.: Untersuchungen zur lehre von der gestalt. ii. Psychologische Forschung 4(1), 301–350 (1923)CrossRefGoogle Scholar