DocumentCode :
2618834
Title :
CriticAL: A critic for APIs and libraries
Author :
Rupakheti, Chandan R. ; Hou, Daqing
Author_Institution :
Dept. of Electr. & Comput. Eng., Clarkson Univ., Potsdam, NY, USA
fYear :
2012
fDate :
11-13 June 2012
Firstpage :
241
Lastpage :
243
Abstract :
It is well-known that APIs can be hard to learn and use. Although search tools can help find related code examples, API novices still face other significant challenges such as evaluating the relevance of the search results. To help address the broad problems of finding, understanding, and debugging API-based solutions, we have built a critic system that offers recommendations, explanations, and criticisms for API client code. Our critic takes API usage rules as input, performs symbolic execution to check that the client code has followed these rules properly, and generates advice as output to help improve the client code. We demonstrate our critic by applying it to a real-world example derived from the Java Swing Forum.
Keywords :
Java; application program interfaces; libraries; API client code; CriticAL; Java Swing Forum; broad problems; critic system; libraries; related code; search tools; symbolic execution; Application programming interfaces; Buildings; Graphical user interfaces; Humans; Java; Layout; Libraries; API; AWT/Swing; Critic; Symbolic Execution;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Program Comprehension (ICPC), 2012 IEEE 20th International Conference on
Conference_Location :
Passau
ISSN :
1092-8138
Print_ISBN :
978-1-4673-1213-4
Electronic_ISBN :
1092-8138
Type :
conf
DOI :
10.1109/ICPC.2012.6240493
Filename :
6240493
Link To Document :
بازگشت