Studying Developer Reading Behavior on Stack Overflow during API Summarization Tasks

被引:0
|
作者
Saddler, Jonathan A. [1 ]
Peterson, Cole S. [1 ]
Sama, Sanjana [2 ]
Nagaraj, Shruthi [3 ]
Baysal, Olga [3 ]
Guerrouj, Latifa [4 ]
Sharif, Bonita [1 ]
机构
[1] Univ Nebraska, Lincoln, NE 68588 USA
[2] Youngstown State Univ, Youngstown, OH 44555 USA
[3] Carleton Univ, Ottawa, ON, Canada
[4] Ecole Technol Super ETS, Montreal, PQ, Canada
关键词
API summarization; Stack Overflow; eye tracking; controlled experiment; reading behavior;
D O I
10.1109/saner48275.2020.9054848
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Stack Overflow is commonly used by software developers to help solve problems they face while working on software tasks such as fixing bugs or building new features. Recent research has explored how the content of Stack Overflow posts affects attraction and how the reputation of users attracts more visitors. However, there is very little evidence on the effect that visual attractors and content quantity have on directing gaze toward parts of a post, and which parts hold the attention of a user longer. Moreover, little is known about how these attractors help developers (students and professionals) answer comprehension questions. This paper presents an eye tracking study on thirty developers constrained to reading only Stack Overflow posts while summarizing four open source methods or classes. Results indicate that on average paragraphs and code snippets were fixated upon most often and longest. When ranking pages by number of appearance of code blocks and paragraphs, we found that while the presence of more code blocks did not affect number of fixations, the presence of increasing numbers of plain text paragraphs significantly drove down the fixations on comments. SO posts that were looked at only by students had longer fixation times on code elements within the first ten fixations. We found that 16 developer summaries contained 5 or more meaningful terms from SO posts they viewed. We discuss how our observations of reading behavior could benefit how users structure their posts.
引用
收藏
页码:195 / 205
页数:11
相关论文
共 3 条
  • [1] API-Related Developer Information Needs in Stack Overflow
    Liu, Mingwei
    Peng, Xin
    Marcus, Andrian
    Xing, Shuangshuang
    Treude, Christoph
    Zhao, Chengyuan
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (11) : 4485 - 4500
  • [2] Studying Software Developer Expertise and Contributions in Stack Overflow and GitHub
    Vadlamani, Sri Lakshmi
    Baysal, Olga
    2020 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2020), 2020, : 312 - 323
  • [3] A technique to train new oculomotor behavior in patients with central macular scotomas during reading related tasks using scanning laser ophthalmoscopy: Immediate functional benefits and gains retention
    Déruaz A.
    Goldschmidt M.
    Whatham A.R.
    Mermoud C.
    Lorincz E.N.
    Schnider A.
    Safran A.B.
    BMC Ophthalmology, 6 (1)