Figure 1. Outline of our research process
2.2. Extracting Source Code Segments
At the beginning of our approach, a set of Java source codes is partitioned into methods. Then, the code matching statements are extracted for each method. The extracted fragments comprise class method signatures, control statements, and method calls.
(1) Class method signatures
Each method in Java is declared in a class [5]. Our parser extracts class method signatures in the following syntax.
<class identifier>:<method signature>
An anonymous class, which is a local class without a class declaration, is often used when a local class is used only once. An anonymous class is defined and instantiated in a single expression using the new operator to make code concise. Our parser extracts a method declared in an anonymous class in the following syntax.
<class identifier>:<anonymous class identifier>:<method signature>
Arrays and generics are widely used in Java to facilitate the manipulation of data collections. Our parser also extracts arrays and generic data types according to Java syntax. For example, Object[], String[][], List<String>, and List<Integer> are extracted and treated as different data types.


60
arXiv:cs/0501006v1 [cs.LO] 4 Jan 2005 Formal Languages and Algorithms for Similarity based Retrieval from Sequence Databases ? A. Prasad Sistla ...
Each sequence was analyzed by the information-based similarity index using 4-tuples as “words.” The neighbor-joining phylogenetic tree is shown in Fig....
Database Retrieval Based on Spectral Similarity...Yang, “MACS: Music Audio Characteristic Sequence ...? ? ? ? Type II: Same analog source, ...
CONTENT-BASED COPY RETRIEVAL USING DISTORTION-BASED PROBABILISTIC SIMILARITY ...sequence, the similar local features are searched in the database via the ...
c literature retrieval service has steadily increased. One of the most ...computes a similarity score between papers using link-based similarity measure...
? ? ? ? Type II: Same analog source, ...based music retrieval based on spectral similarity....Yang, “MACS: Music Audio Characteristic Sequence ...
Content Based Image Retrieval using Color and ...Pin code 788011 *n.manimala888@gmail.com,$...FEATURE SIMILARITY MATCHING The Similarity matching ...
Similarity-Based Retrieval on Top of Relational Databases Abstract This paper presents an approach to realize a case retrieval engine on top of a ...
In particular, object-based video隐藏>> VIDEO RETRIEVAL USING DIALOGUE, KEYFRAME SIMILARITY AND VIDEO OBJECTS Paul Browne1 and Alan F. Smeaton1,2 Centre...
Content-based Image Database Retrieval Using Variances of Gray Level Spatial...The features and the similarity measure should be e cient enough to match ...
热门文档