Treffer: Analyzing Stack Flows to Compare Java Programs

Title:
Analyzing Stack Flows to Compare Java Programs
Authors:
Contributors:
Han, Taisook, Lim, HI
Publisher Information:
IEICE-INST ELECTRONICS INFORMATION COMMUNICATIONS ENG
Publication Year:
2012
Collection:
Korea Advanced Institute of Science and Technology: KOASAS - KAIST Open Access Self-Archiving System
Document Type:
Fachzeitschrift article in journal/newspaper
Language:
English
Relation:
http://hdl.handle.net/10203/98046; 898; 74584; 000300471900033
DOI:
10.1587/transinf.E95.D.565
Accession Number:
edsbas.3FDCBF8
Database:
BASE

Weitere Informationen

This paper presents a method for comparing and detecting clones of Java programs by analyzing program stack flows. A stack flow denotes an operational behavior of a program by describing individual instructions and stack movements for performing specific operations. We analyze stack flows by simulating the operand stack movements during execution of a Java program. Two programs for detection of clones of Java programs are compared by matching similar pairs of stack flows in the programs. Experiments were performed on the proposed method and compared with the earlier approaches of comparing Java programs, the Tamada, k-gram, and stack pattern based methods. Their performance was evaluated with real-world Java programs in several categories collected from the Internet. The experimental results show that the proposed method is more effective than earlier methods of comparing and detecting clones of Java programs.