Evaluating forum discussions to inform the design of an API critic | IEEE Conference Publication | IEEE Xplore

Evaluating forum discussions to inform the design of an API critic


Abstract:

Learning to use a software framework and its API (Application Programming Interfaces) can be a major endeavor for novices. To help, we have built a critic to advise the u...Show More

Abstract:

Learning to use a software framework and its API (Application Programming Interfaces) can be a major endeavor for novices. To help, we have built a critic to advise the use of an API based on the formal semantics of the API. Specifically, the critic offers advice when the symbolic state of the API client code triggers any API usage rules. To assess to what extent our critic can help solve practical API usage problems and what kinds of API usage rules can be formulated, we manually analyzed 150 discussion threads from the Java Swing forum. We categorize the discussion threads according to how they can be helped by the critic. We find that API problems of the same nature appear repeatedly in the forum, and that API problems of the same nature can be addressed by implementing a new API usage rule for the critic. We characterize the set of discovered API usage rules as a whole. Unlike past empirical studies that focus on answering why frameworks and APIs are hard to learn, ours is the first designed to produce systematic data that have been directly used to build an API support tool.
Date of Conference: 11-13 June 2012
Date Added to IEEE Xplore: 16 July 2012
ISBN Information:
Print ISSN: 1092-8138
Conference Location: Passau, Germany

Contact IEEE to Subscribe

References

References is not available for this document.