Augmenting Stack Overflow with API Usage Patterns Mined from GitHub
Programmers often consult Q&A websites like Stack Overflow to learn new APIs. However, such online code examples are not always complete or reliable in terms of API usage. To assess and augment Stack Overflow examples, we present an interactive approach, implemented as a Chrome extension, that mines and renders API usage patterns from GitHub projects, detects API usage violations by matching the mined patterns against Stack Overflow examples, and solicits user feedback. With such assistance, we expect that programmers will not need to cross-reference multiple resources for proper API usage, and will build confidence on how to use APIs correctly.