In 2000's many studies for UML, de facto standard of notation for software design, are performed. The class diagram, a kind of UML, has been used for the software comprehension because this model is mainly employed to describe the object oriented soft...
In 2000's many studies for UML, de facto standard of notation for software design, are performed. The class diagram, a kind of UML, has been used for the software comprehension because this model is mainly employed to describe the object oriented software. The study for class diagram comprehension includes the effect of the layout of the diagram, the effect of UML stereotype.
This paper describes the effect on comprehension from the class diagram’s layout based on literature review. At first, although the criteria for effective layout of UML diagram are studied, there are such many criteria that the practicers are confused to select the layout. At second, adaptable algorithm should be presented, not just enumerating layout criteria. Thus, this paper presents layout criteria, which is generalized and theoretically validated, by collecting, analyzing, and synthesizing the diagram layout criteria invented by previous studies. Also, it proposes adaptable layout criteria at pseudo code level by defining layout algorithm.
To validate effectiveness of the invented layout criteria, controlled experiment is performed. The experiment tested whether a dependent variable, comprehension, was significantly affected by independent variables, layout (applied, not applied) and diagram complexity (simple, complex). The subjects are 47 Sangmyung University students who enroll the Software Engineering class. To evaluate the comprehension of diagram, subjects response some questions about specific diagram, and the comprehension score is calculated by grading the questionnaires. The experimental materials were class diagrams about IFIP conference and the university management. The response from subjects is recorded by using the web based online system. The results of this study indicate that layout and complexity affect the comprehension of class diagram.
This study makes contributions by suggesting the generalized layout criteria through literature review and algorithm for raising the adaptableness of the layout. This paper can be helpful to scientist who study algorithm of class diagram’s layout and also beneficial to software designer when he or she draw the class diagram.