loading...
Constructing Usage Scenarios for API Redocumentation
Banff, Alberta, Canada June 26-June 29
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/ICPC.2007.1615th IEEE International Conference on ...
 This Article 
 
PDF
HTML
 
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
Juanjuan Jiang, Tampere University of Technology, Institute of Software Systems
Johannes Koskinen, Tampere University of Technology, Institute of Software Systems
Anna Ruokonen, Tampere University of Technology, Institute of Software Systems
Tarja Systa, Tampere University of Technology, Institute of Software Systems
Software development relies heavily on reusable li- braries and software components. For correct use of the provided API, proper documentation is needed. API usage is often demonstrated by giving example applications and code samples. In this paper we propose an approach for mining such usage scenarios from run-time communication between sample applications and the API. This is done au- tomatically by first monitoring the API usage of sample ap- plications, then filtering the generated traces, and finally synthesizing the sequence diagrams and illustrating them in a well-formed way as UML2 sequence diagrams. Such usage scenarios support the software engineer in compre- hending the usage of the API. With proper tool support they can also be used for validating other applications? API us- age and for generating code for a new application using the same API.
Citation:
Juanjuan Jiang, Johannes Koskinen, Anna Ruokonen, Tarja Systa, "Constructing Usage Scenarios for API Redocumentation," icpc, pp.259-264, 15th IEEE International Conference on Program Comprehension (ICPC '07), 2007
Usage of this product signifies your acceptance of the Terms of Use.