Presentation 2012-08-21
Measuring structure metrics of Java framework Struts 2
Yoshihisa Udagawa,
PDF Download Page PDF download Page Link
Abstract(in Japanese) (See Japanese page)
Abstract(in English) In this paper, we present an approach to improve source code retrieval using the structure of control statements. We develop a lexical parser to extract structural information. The extracted structural information is used not only to retrieve source codes but also to construct a document vector for source code retrieval. We conduct two types of experiments using the open source Struts 2 Core. In the first experiment, we use the try-catch and synchronized statements as keys, and examine the quality of the code retrieved with respect to exceptions and thread control. In the second experiment, we retrieve source code on the basis of similarity and difference measurements that is based the Euclidean distance between two vectors. In both experiments, several sets of source codes that are presumably maintained in a consistent manner are retrieved.
Keyword(in Japanese) (See Japanese page)
Keyword(in English) Java source code retrieval / Control statement structure / Vector difference measurement / Vector space model
Paper # SWIM2012-12
Date of Issue

Conference Information
Committee SWIM
Conference Date 2012/8/14(1days)
Place (in Japanese) (See Japanese page)
Place (in English)
Topics (in Japanese) (See Japanese page)
Topics (in English)
Chair
Vice Chair
Secretary
Assistant

Paper Information
Registration To Software Interprise Modeling (SWIM)
Language ENG
Title (in Japanese) (See Japanese page)
Sub Title (in Japanese) (See Japanese page)
Title (in English) Measuring structure metrics of Java framework Struts 2
Sub Title (in English)
Keyword(1) Java source code retrieval
Keyword(2) Control statement structure
Keyword(3) Vector difference measurement
Keyword(4) Vector space model
1st Author's Name Yoshihisa Udagawa
1st Author's Affiliation Faculty of Engineering, Tokyo Polytechnic University()
Date 2012-08-21
Paper # SWIM2012-12
Volume (vol) vol.112
Number (no) 179
Page pp.pp.-
#Pages 6
Date of Issue