Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Ergebnis 10 von 459
2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE), 2017, p.27-37
2017
Volltextzugriff (PDF)

Details

Autor(en) / Beteiligte
Titel
Analyzing APIs Documentation and Code to Detect Directive Defects
Ist Teil von
  • 2017 IEEE/ACM 39th International Conference on Software Engineering (ICSE), 2017, p.27-37
Ort / Verlag
IEEE
Erscheinungsjahr
2017
Quelle
IEEE Electronic Library (IEL)
Beschreibungen/Notizen
  • Application Programming Interface (API) documents represent one of the most important references for API users. However, it is frequently reported that the documentation is inconsistent with the source code and deviates from the API itself. Such inconsistencies in the documents inevitably confuse the API users hampering considerably their API comprehension and the quality of software built from such APIs. In this paper, we propose an automated approach to detect defects of API documents by leveraging techniques from program comprehension and natural language processing. Particularly, we focus on the directives of the API documents which are related to parameter constraints and exception throwing declarations. A first-order logic based constraint solver is employed to detect such defects based on the obtained analysis results. We evaluate our approach on parts of well documented JDK 1.8 APIs. Experiment results show that, out of around 2000 API usage constraints, our approach can detect 1158 defective document directives, with a precision rate of 81.6%, and a recall rate of 82.0%, which demonstrates its practical feasibility.
Sprache
Englisch
Identifikatoren
eISSN: 1558-1225
DOI: 10.1109/ICSE.2017.11
Titel-ID: cdi_ieee_primary_7985647

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX