Date of Award:
5-2012
Document Type:
Thesis
Degree Name:
Master of Science (MS)
Department:
Computer Science
Committee Chair(s)
Stephen W. Clyde
Committee
Stephen W. Clyde
Committee
Nicholas Flann
Committee
Curtis Dyreson
Abstract
Software reuse enhances a programmer's productivity and reduces programming errors. Improving software reuse through libraries and frameworks is a vast problem area. This thesis offers an approach to solve two sub-problems within the problem area - to identify the right library components, and to offer code snippets that use the components correctly. The Java API-Aware Code Generation Engine, or JAGE for short, is a prototype system that demonstrates the feasibility of generating semantically valid code snippets consisting of method calls to classes in the J2SDK library.
Developers often search for sample code snippets that describe how to use the library. This thesis describes the design and implementation of JAGE, which allows software developers to use an English sentence to generate helpful code snippets in Java. This thesis also discusses the related concepts in natural-language processing including ontology, Wordnet, and object-orientation in the area of automatic code snippet generation.
Checksum
a4f80e2f4b936cb404a1bca96284404b
Recommended Citation
Vijyapurpu, Chandra Sekhar, "Java API-Aware Code Generation Engine: A Prototype" (2012). All Graduate Theses and Dissertations, Spring 1920 to Summer 2023. 1198.
https://digitalcommons.usu.edu/etd/1198
Included in
Copyright for this work is retained by the student. If you have any questions regarding the inclusion of this work in the Digital Commons, please email us at .
Comments
This work made publicly available electronically on May 9, 2012.