The Static Analysis of the Uniqueness of Polymorphism

Article Preview

Abstract:

The existence of the polymorphism brings many changes on the executable paths of the object-oriented program, which makes it difficult to test the internal communication of the system and the interaction between the objects. This paper analyzes the structure feature of the Java program and builds an inheritance tree using the technique of reflection in Java, which guarantees the accuracy of the analysis data. This paper proposes an algorithm to determine the uniqueness based on the full analysis of the Java polymorphic calling states and the Liskov substitution principle. And the algorithm uses the asynchronous mode of high concurrency to increase the efficiency. The result shows the algorithm can determine the uniqueness of polymorphism efficiently and accurately. It can play an important role in the Java program comprehension and the system maintenance.

You might also be interested in these eBooks

Info:

Periodical:

Pages:

425-431

Citation:

Online since:

September 2013

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2013 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] ZHU Meixia, WANG Hanpin, and JIN Wei: Semantic analysis of UML 2. 0 sequence diagram based on model transformation, Proc IEEE 34 th Annual Computer Software and Applications Conference Workshops.

DOI: 10.1109/compsacw.2010.38

Google Scholar

[2] In Chinese: Zhihua Zhang and Yonmin Mu: Acta Electronica Sinica Vol. 38 No. 8 (2010), p.1808.

Google Scholar

[3] Alhroob A, Dahal K and Hossain A: Transforming UML sequence diagram to high level Petri Net, Puerto Rico USA: Proc 2nd International Conference on Software Technology and Engineering.

DOI: 10.1109/icste.2010.5608842

Google Scholar

[4] Yang Nianhua, Yu Huiqun and Sun Hua: Modeling UML sequence diagrams using extended Petri Nets, Tamilnadu, India: Proc International Conference on Information Scince and Applications.

DOI: 10.1109/icisa.2010.5480384

Google Scholar

[5] Yongmin Mu, Yuhui Zheng, Zhihua Zhang, and Mengting LIU: Chinese Journal of Electronics Vol. 21 No. 2 (2012), p.236.

Google Scholar