Skip to main navigation Skip to search Skip to main content

Constructing usage scenarios for API redocumentation

  • Jiang Juanjuan
  • , Johannes Koskinen
  • , Anna Ruokonen
  • , Tarja Systä

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

Software development relies heavily on reusable libraries 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 automatically by first monitoring the API usage of sample applications, 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 comprehending the usage of the API. With proper tool support they can also be used for validating other applications ' API usage and for generating code for a new application using the same API. ©2007 IEEE.
Original languageEnglish
Title of host publicationIEEE International Conference on Program Comprehension
Pages259-264
DOIs
Publication statusPublished - 2007
Externally publishedYes
Event15th IEEE International Conference on Program Comprehension, ICPC'07 - Banff, AB, Canada
Duration: 26 Jun 200729 Jun 2007

Conference

Conference15th IEEE International Conference on Program Comprehension, ICPC'07
PlaceCanada
CityBanff, AB
Period26/06/0729/06/07

Fingerprint

Dive into the research topics of 'Constructing usage scenarios for API redocumentation'. Together they form a unique fingerprint.

Cite this