Computer Science and Engineering Graphic ITEB Link    
University of Connecticut Logo
About Computer Science and Engineering
Line
Computer Science and Engineering Undergrad
Line
Computer Science and Engineering Graduate Programs
Line
Computer Science and Engineering Research Programs
Line
Computer Science and Engineering Faculty Information
Line
Computer Science and Engineering Job Opportunities
Line
Computer Science and Engineering News
Line
Computer Science and Engineering Contact Information
Line
School of Engineering Website
Line
University of Connecticut Main Page
Line
Computer Science and Engineering Site Map
Line

Computer Science & 
Engineering Department 
371 Fairfield Road 
Unit 2155 
Storrs, CT 06269-2155 
Phone: (860) 486-3719 
Fax: (860) 486-4817 



Colloquia, Seminars and Conference News

Title : XSnippet: Mining For Sample Code

Date : April 28, 2006. (2:00 pm) Tea starts half an hour before each seminar

Location: ITEB 336

Speaker : Kajal Claypool

Abstract:

It is common practice for software developers to use examples to guide development efforts. This largely unwritten, yet standard, practice of ``develop by example'' is often supported by examples bundled with library or framework packages, provided in textbooks, and made available for download on both official and unofficial web sites. However, the vast number of examples that are embedded in the billions of lines of already developed library and framework code are largely untapped. We have developed XSnippet, a context-sensitive code assistant framework that allows developers to query a sample repository for code snippets that are relevant to the programming task at hand. In particular, our work makes three primary contributions. First, a range of queries is provided to allows developers to switch between a context-independent retrieval of code snippets to various degrees of context-sensitive retrieval. Second, a novel graph-based code mining algorithm is provided to support the range of queries and enable mining within and across method boundaries. Third, an innovative context-sensitive ranking heuristic is provided that has been experimentally proven to provide better ranking for best-fit code snippets than context-independent heuristics such as shortest path and frequency. Our experimental evaluation has shown that XSnippet has significant potential to assist developers, and provides better coverage of tasks and better rankings for best-fit snippets than other code assistant systems. 

Bio:

Kajal Claypool is currently an Assistant Professor of the Department of Computer Science at University of Massachusetts, Lowell, and an Associate Director of the Center of Biomolecular and Medical Informatics, Lowell. She received her B.Tech. degree in Computer Engineering from Manipal Institute of Technology, Karnataka India, and a Ph.D. degree in Computer Science from Worcester Polytechnic Institute, Worcester. Dr. Claypool has been active in the database research community for over 8 years and her current research interests include information integration and transformation, stream data management, database evolution and migration, and stream query evolution and migration. She has numerous publications in these and other related areas.

[Back]