• DocumentCode
    700356
  • Title

    An observational study on API usage constraints and their documentation

  • Author

    Saied, Mohamed Aymen ; Sahraoui, Houari ; Dufour, Bruno

  • Author_Institution
    DIRO, Univ. de Montreal, Montréal, QC, Canada
  • fYear
    2015
  • fDate
    2-6 March 2015
  • Firstpage
    33
  • Lastpage
    42
  • Abstract
    Nowadays, APIs represent the most common reuse form when developing software. However, the reuse benefits depend greatly on the ability of client application developers to use correctly the APIs. In this paper, we present an observational study on the API usage constraints and their documentation. To conduct the study on a large number of APIs, we implemented and validated strategies to automatically detect four types of usage constraints in existing APIs. We observed that some of the constraint types are frequent and that for three types, they are not documented in general. Surprisingly, the absence of documentation is, in general, specific to the constraints and not due to the non documenting habits of developers.
  • Keywords
    application program interfaces; system documentation; API usage constraints; documentation; Documentation; Law; Libraries; Niobium; Null value; Semantics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Analysis, Evolution and Reengineering (SANER), 2015 IEEE 22nd International Conference on
  • Conference_Location
    Montreal, QC
  • Type

    conf

  • DOI
    10.1109/SANER.2015.7081813
  • Filename
    7081813