Why BGPT?
logo

Deconstruct Scientific Papers

Go beyond summaries to locate specific, verifiable claims and sources within research.Know what falsifiable science actually supports before you trust the answer.

Press Enter ↡ to search paper


     Quick Explanation



    This eye-tracking study of 20 CS students finds comments' effect on comprehension is snippet-dependent (composite scores from βˆ’30% to +34%), with comments absorbing ~23% of fixations, promoting more linear local reading, and being rated helpful without reliably improving performance.


     Long Explanation



    What the study reports

    Abdelsalam et al. ran a within-subjects eye-tracking experiment (Tobii EyeX, 60 Hz) with 20 computer-science students reading 12 Java snippets (~16–24 LOC) in Comments Present (CP) vs Comments Missing (CM) conditions, a partially crossover design analyzed with linear mixed-effects models and FDR-corrected Wilcoxon tests.

    Key quantitative results:

    • Composite performance effect range: βˆ’30% (Snippet 1: correctness 70%β†’30%, time 190.9β†’271.7 s) to +34% (Snippet 9: correctness 60%β†’100%, time 339.2β†’189.4 s).
    • Comments drew ~23% of fixations (92 of 397) when present.
    • Local linearity shifted: fewer vertical-later (14.3%β†’12.1%, p=0.011) and regression fixations (28.7%β†’25.7%, p=0.001), more horizontal-later (16.6%β†’22.8%, p<0.001).
    • Code-to-comment transitions exceeded comment-to-code overall (p=0.007), but global code-first vs comment-first N-W alignment showed no significant difference (e.g., dynamic story order βˆ’55.5 vs βˆ’56.5, p=0.224).
    • Perceived difficulty fell 34% for Snippet 9 (p<0.001) but high comment-contribution ratings did not track difficulty reductions elsewhere (e.g., Snippet 4 rating 3.7 despite +4% difficulty).

    Critical assessment

    Strengths: isolated the comment variable (obfuscated identifiers, no JavaDocs), used established eye-tracking metrics, FDR correction, per-snippet LMEs, and released raw data plus analysis scripts (replication package on GitHub), which is commendable for reproducibility.

    Weaknesses and blind spots: N=20 students (18 male) from one German university; no professional developers and no formal expertise subgroup analysis, so generalizability is limited and the authors acknowledge it. Comments were written by the first author with near-per-line density, an unusual style that may inflate the negative effects and the 23% attention share β€” the paper's contrast with Karas et al. (4.7% attention in a reading task) is attributed to comment density but not directly tested. Block comments were excluded. The composite score equal-weighting correctness and time is a defensible but arbitrary design choice that shapes the headline βˆ’30%/+34% range. Several LMEs required alternate optimizers due to convergence issues. No pre-registration is mentioned. Some snippet-level correctness cells rest on ~10–20 participants each, so small-N snippet effects (e.g., Snippet 11 at 10% correctness) carry wide uncertainty.

    Interpretation caution: the perception-performance mismatch is a reported correlation, not evidence that comments causally help or hinder; confounds between snippet difficulty and comment quality are plausible and partially discussed. The βˆ’30%/+34% claim would be weakened if a pre-registered, larger replication found uniform effects across snippets.

    Bottom line (moderate confidence): a methodologically careful, well-documented study whose main contribution is honest heterogeneity β€” comments are not universally good or bad β€” but the small student sample, comment-density design choice, and single-language scope cap its external validity.



    Feedback:    

    Updated: September 11, 2026



     BGPT Paper Review



    Study Novelty

    70%

    First study to combine behavioral, eye-tracking (attention, linearity, gaze-strategy), and qualitative data on inline comments with an isolated comment variable; prior work was confounded or subjective, though comment effects themselves are long-studied.



    Scientific Quality

    60%

    Solid within-subject design, FDR correction, LMEs, and a public replication package; but N=20 students, first-author-written near-per-line comments, no pre-registration, LME convergence workarounds, and a partially crossover design that reduces matched CM/CP pairs temper confidence.



    Study Generality

    40%

    Findings are bounded to one language (Java), inline comments only, ~20-line snippets, and students; the authors explicitly acknowledge limited generalizability to professionals and complex codebases.



    Study Usefulness

    60%

    Practically useful for commenting guidelines (quality over quantity), tool design, and education; the perception-vs-performance mismatch and replication package add concrete value, though effects are snippet-specific.



    Study Reproducibility

    70%

    Raw data, snippets, design, and executable analysis scripts are publicly released; remaining gaps include no pre-registration and manual semantic correctness scoring.



    Explanatory Depth

    60%

    Mechanistic eye-tracking evidence (attention allocation, local linearity, transition ratios) goes beyond performance deltas, but causal explanation of why comments help some snippets and hurt others remains correlational and unspecified.


    🎁 Authors: Collect 84 Free Science Tokens (β‰ˆ $8.4 USD)

    Claim My Author Tokens

    Use for 21 days of free BGPT access (4 tokens = 1 day) or trade/sell (β‰ˆ $8.4 USD)

     Top Data Sources ExportMCP



     Hypothesis Graveyard



    Uniformly beneficial comments (early 1980s experiments): superseded by snippet-dependent effects and modern isolated designs showing βˆ’30% to +34% heterogeneity.


    Comments never matter for small tasks (Nielebock et al. 2018): this study shows large effects on ~20-line snippets, so task size alone does not bound the effect.

     Science Art


    Paper Review: The Effect of Comments on Program Comprehension: An Eye-tracking Study Science Art

     Science Movie



    Make a narrated HD Science movie for this answer ($64 per minute)




     Discussion


    Stay current without chasing every paper.

    Know what changed, what holds up, and what remains uncertain. Every Friday. No ads.


    My BGPT