SpotWeb: Detecting framework hotspots and coldspots via mining open source code on the web

Suresh Thummalapenta, Tao Xie

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Software developers often face challenges in reusing open source frameworks due to several factors such as the framework complexity and lack of proper documentation. In this paper, we propose a code-search-engine-based approach that detects hotspots in a given framework by mining code examples gathered from open source repositories available on the web; these hotspots are API classes and methods that are frequently reused. Hotspots can serve as starting points for developers in understanding and reusing the given framework. Our approach also detects coldspots, which are API classes and methods that are rarely used. Coldspots serve as caveats for developers as there can be difficulties in finding relevant code examples and are generally less exercised compared to hotspots. We developed a tool, called SpotWeb, for frameworks or libraries written in Java and used our tool to detect hotspots and coldspots of eight widely used open source frameworks. We show the utility of our detected hotspots by comparing these hotspots with the API classes reused by a real application and compare our results with the results of a previous related approach.

Original languageEnglish (US)
Title of host publicationASE 2008 - 23rd IEEE/ACM International Conference on Automated Software Engineering, Proceedings
Pages327-336
Number of pages10
DOIs
StatePublished - Nov 21 2008
Externally publishedYes
EventASE 2008 - 23rd IEEE/ACM International Conference on Automated Software Engineering - L'Aquila, Italy
Duration: Sep 15 2008Sep 19 2008

Publication series

NameASE 2008 - 23rd IEEE/ACM International Conference on Automated Software Engineering, Proceedings

Other

OtherASE 2008 - 23rd IEEE/ACM International Conference on Automated Software Engineering
CountryItaly
CityL'Aquila
Period9/15/089/19/08

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'SpotWeb: Detecting framework hotspots and coldspots via mining open source code on the web'. Together they form a unique fingerprint.

Cite this