Abstract
Though Unified Modeling Language (UML) has been widely used in software development, the major problems confronted lie in comprehension and testing. Dependence analysis is an important approach to analyze, understand, test and maintain programs. A new kind of dependence analysis method for UML class diagrams is developed. A set of dependence relations is defined corresponding to the relations among classes. Thus, the dependence graph of UML class diagram can be constructed from these dependence relations. Based on this model, both slicing and measurement coupling are further given as its two applications.
References
OMG, OMG unified modeling language specification 1.5, http://www.omg.org/uml/.
W. Shao, Y. Jiang, et al., The present problems and roadmap of UML, Chinese Journal of Computer Research & Development, 40(2003)4, 509–516, (in Chinese).
S. Horwitz, T. Reps, et al., Interprocedural slicing using dependence graphs, ACM Trans. on Programming Languages and System, 2(1990)1, 26–60.
B. Xu, Reverse program dependency and applications, Chinese Journal of Computers, 16(1993)5, 385–392, (in Chinese).
A. Krishnaswamy, Program slicing: An application of object-oriented program dependency graphs, Technical Report TR94-08, Department of Computer Science, Clemson University, 1994. http://www.clemson.edu.
B. Xu, T. Zhang, et al., Dependence analysis of recursive subprograms and its applications, Chinese Journal of Computer, 24(2001)11, 1178–1184, (in Chinese).
Z. Chen, B. Xu, et al., An approach for analyzing dependence of concurrent programs, Chinese Journal of Computer Research and Development, 39(2002)2, 159–164, (in Chinese).
M. Weiser, Program slicing, IEEE Trans. on Software Engineering, 16(1984)5, 498–509.
R. Liu, Object Design & Programming with UML, Beijing, Beijing Hope Electronic Press, 2001, 40, 76.
H. Eriksson, M. Penker, UML Toolkit, Indianapolis, USA, John Wiley & Sons, 1998, 333.
H. Jiang, L. Wu, et al., UML Programming Guide, Beijing, Beijing Hope Electronic Press, 2001, 70.
W. Boggs, M. Boggs, UML with Rational Rose, Beijing, Beijing Hope Electronic Press, 2000, 364.
Xprogrammer, 18, 22, http://www.umlchina.com.
M. Marchesi, OOA metrics for the united modeling languages, Proceedings of 2nd Euromicro Conference on Software Maintenance and Reengineering (CSMR’98), IEEE Computer Society Press, Palazzo degli Affari, Italy, March 8–11, 1998, 67–73.
M. Genero, M. Piattini, et al., Early measures for UML class diagrams. L’Objet: Software, Databases, Networks, Hermes Science Publications, 6(2000)4, 489–515.
Z. Chen, Y. Zhou, et al., A novel approach to measuring class cohesion based on dependence analysis, IEEE International Conference on Software Maintenance (ICSM’02), Montreal, Quebec, Canada, October 3–6, 2002, 377–384.
Author information
Authors and Affiliations
About this article
Cite this article
Wu, F., Yi, T. Dependence analysis for UML class diagrams. J. of Electron.(China) 21, 249–254 (2004). https://doi.org/10.1007/BF02687879
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF02687879