• DocumentCode
    3031252
  • Title

    SpotWeb: Detecting Framework Hotspots and Coldspots via Mining Open Source Code on the Web

  • Author

    Thummalapenta, Suresh ; Xie, Tao

  • Author_Institution
    Dept. of Comput. Sci., North Carolina State Univ., Raleigh, NC
  • fYear
    2008
  • fDate
    15-19 Sept. 2008
  • Firstpage
    327
  • Lastpage
    336
  • 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.
  • Keywords
    application program interfaces; data mining; public domain software; software reusability; API; Java; SpotWeb; Web mining; code-search-engine-based approach; framework coldspots; framework hotspots; open source code mining; Application software; Computer bugs; Computer science; Costs; Documentation; Face detection; Java; Programming; Software libraries; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automated Software Engineering, 2008. ASE 2008. 23rd IEEE/ACM International Conference on
  • Conference_Location
    L´Aquila
  • ISSN
    1938-4300
  • Print_ISBN
    978-1-4244-2187-9
  • Electronic_ISBN
    1938-4300
  • Type

    conf

  • DOI
    10.1109/ASE.2008.43
  • Filename
    4639336