Loading...

A Solution Recommender for Exceptions in an Integrated Development Environment

Amintabar, Vahid | 2015

577 Viewed
  1. Type of Document: M.Sc. Thesis
  2. Language: Farsi
  3. Document No: 49505 (19)
  4. University: Sharif University of Technology
  5. Department: Computer Engineering
  6. Advisor(s): Heydarnoori, Abbas
  7. Abstract:
  8. Exceptions are an indispensable part of a software development process. Developers usually rely on imprecise results from a web search to resolve the exceptions. More specifically, they manually design a query based on the information indicated by the exception message and the stack trace of that exception. Afterwards, they choose and adapt a solution from the web search results. In this scenario, there is a gap between the development environment and web browsers. Moreover, manual search is very time consuming and a lot of useful information from the code is lost. In this thesis, we introduce Exception Tracer, an Eclipse plugin that helps developers find solutions of exceptions. Exception Tracer uses the information from the stack trace and the code context where that exception has happened to find relevant code snippets from the SourceForge projects. It then ranks retrieved code snippets from SourceForge projects with the help of GROUM graphs. Finally, variable names are replaced with appropriate names from the developer’s code and candidate solutions are shown to him. In addition to candidate code snippets from the SourceForge projects, Exception Tracer retrievs relevant discussions from StackOverFlow. The performance of the proposed approach is measured on 15 code samples from Apache projects and it is shown that Exception Tracer does find the correct solutions for %75 of exceptions. An empirical study with 14 subjects also indicated that Exception Tracer can increase the performance of developers an average of %38 compared to manual web search
  9. Keywords:
  10. Recommender System ; Stack Overflow Websites ; INTEGRATED DEVELOPMENT EQUIPMENT (IDE) ; Code Snippet ; Eclipse Plugin

 Digital Object List

 Bookmark

No TOC