Developer Reading Behavior While Summarizing Java Methods: Size and Context Matters
Nahla J. Abid
Bonita SharifNatalia DraganHAHend Alrasheed
Jonathan I. Maletic Nahla J. Abid

Bonita Sharif
Natalia Dragan
HAHend Alrasheed

Jonathan I. Maletic
+5
This eye-tracking study of 18 developers summarizing Java methods in the Eclipse IDE, with access to the full system code, reports that developers focus more on the method body than the signature, contrary to prior work. Both experts and novices revisit control flow terms rather than reading them continuously, and spend significant time on call terms. Experts revisit the method body significantly more than the signature as method size increases, and write summaries from the lines they read most.

arXiv ·
· March 8, 2019