Multi-dimensional exploration of API usage

Status
Published in Proceedings of ICPC 2013

Authors
Coen De Roover and Ralf Lämmel and Ekaterina Pek

Abstract
This paper is concerned with understanding API usage in a systematic, explorative manner for the benefit of both API developers and API users. There exist complementary, less explorative methods based on code search or API documentation. In contrast, our approach is highly interactive and can be seen as an extension of what IDEs readily provide today. Exploration is based on multiple dimensions: i) the hierarchically organized scopes of projects and APIs; ii) metrics of API usage (e.g., number of project classes extending API classes); iii) metadata for APIs; iv) project- versus API-centric views. We also provide the QUAATLAS corpus of Java projects which enhances the existing QUALITAS corpus to enable API-usage analysis. We implemented the exploration approach in an open-source, IDE-like, Web- enabled tool EXAPUS.

Keywords
API usage. Code exploration. Metadata. Program comprehension. Reverse engineering. QUAATLAS. QUALITAS. EXAPUS.

Bibtex entry
@misc{RooverLP13,
  author    = {Coen De Roover and Ralf L{\"a}mmel and Ekaterina Pek},
  title     = {Multi-dimensional exploration of API usage},
  note      = "10 pages. Online since March 2012."
}

Downloads and links