Skip to main content

2018 | OriginalPaper | Buchkapitel

API Documentation

A Conceptual Evaluation Model

verfasst von : Sergio Inzunza, Reyes Juárez-Ramírez, Samantha Jiménez

Erschienen in: Trends and Advances in Information Systems and Technologies

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Application Programming Interface (API) is packed functionality to solve specific tasks. In order for developers to learn to use its functionality, APIs include some kind of documentation. Documentation is an important part of the API itself, but, providing high-quality documentation is not a straightforward task. Nowadays, most of the documentation does not include the information expected by users. Another problem is the lack of comprehensive evaluation methods that can help creator to identify missing or incomplete elements in their documentation.
This papers presents a set of basic (minimum) elements that any API documentation should consider in order to provide target user the information they need to learn and make proper use of the provided functionality. Then through a survey, we collect the importance that software developers give to each basic element. Using the importance values collected, a conceptual API Documentation evaluation method is proposed that can be used by documentation creator to identify the weakness in their documentation. Finally, the model applicability is tested using it to evaluate some popular online API documentation for various domains.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Barth, M.: API Evaluation An overview of API evaluation techniques (2012) Barth, M.: API Evaluation An overview of API evaluation techniques (2012)
3.
Zurück zum Zitat Uddin, G., Robillard, M.P.: How API documentation fails. IEEE Softw. 32(4), 68–75 (2015)CrossRef Uddin, G., Robillard, M.P.: How API documentation fails. IEEE Softw. 32(4), 68–75 (2015)CrossRef
4.
Zurück zum Zitat Ellmann, M.: On the similarity of software development documentation. In: Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering - ESEC/FSE 2017, pp. 1030–1033 (2017) Ellmann, M.: On the similarity of software development documentation. In: Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering - ESEC/FSE 2017, pp. 1030–1033 (2017)
5.
Zurück zum Zitat Zhou, Y., Gu, R., Chen, T., Huang, Z.: Analyzing APIs documentation and code to detect directive defects, May 2017 Zhou, Y., Gu, R., Chen, T., Huang, Z.: Analyzing APIs documentation and code to detect directive defects, May 2017
6.
Zurück zum Zitat Robillard, M.P., Chhetri, Y.B.: Recommending reference API documentation. Empir. Softw. Eng. 20(6), 1558–1586 (2015)CrossRef Robillard, M.P., Chhetri, Y.B.: Recommending reference API documentation. Empir. Softw. Eng. 20(6), 1558–1586 (2015)CrossRef
7.
Zurück zum Zitat Watson, R., Mark Stamnes, M., Jeannot-Schroeder, J., Spyridakis, J.H.: API documentation and software community values. In: The 31st ACM International Conference, p. 165 (2013) Watson, R., Mark Stamnes, M., Jeannot-Schroeder, J., Spyridakis, J.H.: API documentation and software community values. In: The 31st ACM International Conference, p. 165 (2013)
8.
Zurück zum Zitat Treude, C., Robillard, M.P.: Augmenting API documentation with insights from stack overflow. In: Proceedings of the 38th International Conference on Software Engineering - ICSE 2016, pp. 392–403 (2016) Treude, C., Robillard, M.P.: Augmenting API documentation with insights from stack overflow. In: Proceedings of the 38th International Conference on Software Engineering - ICSE 2016, pp. 392–403 (2016)
9.
Zurück zum Zitat Sillito, J., Begel, A.: App-directed learning: an exploratory study. In: 2013 6th International Workshop on Cooperative and Human Aspects of Software Engineering, CHASE 2013 - Proceedings, pp. 81–84 (2013) Sillito, J., Begel, A.: App-directed learning: an exploratory study. In: 2013 6th International Workshop on Cooperative and Human Aspects of Software Engineering, CHASE 2013 - Proceedings, pp. 81–84 (2013)
10.
Zurück zum Zitat Gruenbaum, P.: “Hello World!” - A Coder’s Guide to Writing API Documentation (2014) Gruenbaum, P.: “Hello World!” - A Coder’s Guide to Writing API Documentation (2014)
11.
Zurück zum Zitat Robillard, M.P., Deline, R.: A field study of API learning obstacles. Empir. Softw. Eng. 16(6), 703–732 (2011)CrossRef Robillard, M.P., Deline, R.: A field study of API learning obstacles. Empir. Softw. Eng. 16(6), 703–732 (2011)CrossRef
12.
Zurück zum Zitat Bloch, J.: How to design a good API and why it matters. In: Companion to the 21st ACM SIGPLAN Conference on OOPSLA 2006, p. 506 (2006) Bloch, J.: How to design a good API and why it matters. In: Companion to the 21st ACM SIGPLAN Conference on OOPSLA 2006, p. 506 (2006)
13.
Zurück zum Zitat Nykaza, J., Messinger, R., Boehme, F., Norman, C.L., Mace, M., Gordon, M.: what programmers really want: results of a needs assessment for SDK documentation, pp. 133–141 (2002) Nykaza, J., Messinger, R., Boehme, F., Norman, C.L., Mace, M., Gordon, M.: what programmers really want: results of a needs assessment for SDK documentation, pp. 133–141 (2002)
14.
Zurück zum Zitat Watson, R., Stamnes, M., Jeannot-Schroeder, J., Spyridakis, J.H.: API documentation and software community values: a survey of open-source API documentation. In: Proceedings of the 31st ACM International Conference on Design of Communication, pp. 165–174. ACM (2013) Watson, R., Stamnes, M., Jeannot-Schroeder, J., Spyridakis, J.H.: API documentation and software community values: a survey of open-source API documentation. In: Proceedings of the 31st ACM International Conference on Design of Communication, pp. 165–174. ACM (2013)
15.
Zurück zum Zitat Brandt, J., Guo, P.J., Lewenstein, J., Dontcheva, M., Klemmer, S.R.: Two studies of opportunistic programming: interleaving web foraging, learning, and writing code. In: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, pp. 1589–1598. ACM (2009) Brandt, J., Guo, P.J., Lewenstein, J., Dontcheva, M., Klemmer, S.R.: Two studies of opportunistic programming: interleaving web foraging, learning, and writing code. In: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, pp. 1589–1598. ACM (2009)
16.
Zurück zum Zitat Ponzanelli, L., Bavota, G., Mocci, A., Di Penta, M., Oliveto, R., Hasan, M., Russo, B., Haiduc, S., Lanza, M.: CodeTube: extracting relevant fragments from software development video tutorials luca. In: Proceedings of the 38th International Conference on Software Engineering - ICSE 2016, pp. 261–272 (2016) Ponzanelli, L., Bavota, G., Mocci, A., Di Penta, M., Oliveto, R., Hasan, M., Russo, B., Haiduc, S., Lanza, M.: CodeTube: extracting relevant fragments from software development video tutorials luca. In: Proceedings of the 38th International Conference on Software Engineering - ICSE 2016, pp. 261–272 (2016)
17.
Zurück zum Zitat Robillard, M., Walker, R., Zimmermann, T.: Recommendation systems for software engineering. IEEE Softw. 27(4), 80–86 (2010)CrossRef Robillard, M., Walker, R., Zimmermann, T.: Recommendation systems for software engineering. IEEE Softw. 27(4), 80–86 (2010)CrossRef
18.
Zurück zum Zitat Rama, G.M., Kak, A.: Some structural measures of API usability. Softw. Pract. Exp. 45(1), 75–110 (2015)CrossRef Rama, G.M., Kak, A.: Some structural measures of API usability. Softw. Pract. Exp. 45(1), 75–110 (2015)CrossRef
20.
Zurück zum Zitat Monperrus, M., Eichberg, M., Tekes, E., Mezini, M.: What should developers be aware of? an empirical study on the directives of API documentation. Empir. Softw. Eng. 17(6), 703–737 (2012)CrossRef Monperrus, M., Eichberg, M., Tekes, E., Mezini, M.: What should developers be aware of? an empirical study on the directives of API documentation. Empir. Softw. Eng. 17(6), 703–737 (2012)CrossRef
21.
Zurück zum Zitat Zhong, H., Su, Z.: Detecting API documentation errors. In: ACM SIGPLAN Notices, vol. 48(10), pp. 803–816 (2013)CrossRef Zhong, H., Su, Z.: Detecting API documentation errors. In: ACM SIGPLAN Notices, vol. 48(10), pp. 803–816 (2013)CrossRef
22.
Zurück zum Zitat Jääskeläinen, R.: Think-aloud protocol. In: Handbook of Translation Studies, vol. 1, pp. 371–373 (2010)CrossRef Jääskeläinen, R.: Think-aloud protocol. In: Handbook of Translation Studies, vol. 1, pp. 371–373 (2010)CrossRef
23.
Zurück zum Zitat Wharton, C., Rieman, J., Lewis, C., Polson, P.: The cognitive walkthrough method: a practitioner’s guide. In: Usability Inspection Methods, pp. 105–140. John Wiley & Sons, Inc. (1994) Wharton, C., Rieman, J., Lewis, C., Polson, P.: The cognitive walkthrough method: a practitioner’s guide. In: Usability Inspection Methods, pp. 105–140. John Wiley & Sons, Inc. (1994)
24.
Zurück zum Zitat Watson, R.B.: Development and application of a heuristic to assess trends in API documentation. In: Proceedings of the 30th ACM International Conference on Design of Communication - SIGDOC 2012, p. 295 (2012) Watson, R.B.: Development and application of a heuristic to assess trends in API documentation. In: Proceedings of the 30th ACM International Conference on Design of Communication - SIGDOC 2012, p. 295 (2012)
25.
Zurück zum Zitat Jackson, M., Crouch, S., Baxter, R.: Software evaluation: criteria-based assessment, pp. 1–13 (2011) Jackson, M., Crouch, S., Baxter, R.: Software evaluation: criteria-based assessment, pp. 1–13 (2011)
Metadaten
Titel
API Documentation
verfasst von
Sergio Inzunza
Reyes Juárez-Ramírez
Samantha Jiménez
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-77712-2_22