Understanding initial API comprehension

Research output: Chapter in Book/Report/Conference proceedingConference article in proceedingsScientificpeer-review

27 Downloads (Pure)

Abstract

Programmers encounter new Application Programming Interfaces (APIs) regularly as a part of their work. Difficulties in API comprehension affect programmers' performance and the quality of the software they produce. To effectively support API comprehension, it is important to understand how programmers comprehend new APIs in real-life work contexts.In this study, we explore programmers' initial API comprehension efforts. We analyze what information programmers need about an API before they are ready to start working with it and the actions and information sources they use to acquire this information. Furthermore, we identify different contextual factors that affect this process.We used the critical incident method to interview programmers about their API comprehension processes in work contexts. Our results show that before our participants were ready to start using an API for a task, they sought information about the API from various sources to assess its validity and evaluate it with respect to the requirements of the task. They used their background knowledge to steer their information-seeking efforts and to recognize key pieces of information that strengthened or weakened their confidence in the suitability of the API for the task at hand.As initial API comprehension and the resulting initial API mental models seem to guide further stages of programmers' API comprehension efforts, they heavily influence the direction of the rest of the comprehension process. Therefore, it should be considered in the design of means to support API comprehension, such as API documentation.

Original languageEnglish
Title of host publicationProceedings - 2023 IEEE/ACM 31st International Conference on Program Comprehension, ICPC 2023
PublisherIEEE
Pages43-53
Number of pages11
ISBN (Electronic)979-8-3503-3750-1
DOIs
Publication statusPublished - 2023
MoE publication typeA4 Conference publication
EventInternational Conference on Program Comprehension - Melbourne, Australia
Duration: 15 May 202316 May 2023
Conference number: 31

Publication series

NameProceedings : IEEE international conference on program comprehension
ISSN (Electronic)2643-7171

Conference

ConferenceInternational Conference on Program Comprehension
Abbreviated titleICPC
Country/TerritoryAustralia
CityMelbourne
Period15/05/202316/05/2023

Keywords

  • API comprehension
  • human factors in software engineering
  • initial hypothesis
  • mental models
  • program comprehension

Fingerprint

Dive into the research topics of 'Understanding initial API comprehension'. Together they form a unique fingerprint.

Cite this