AILINKPREVIEWER: Enhancing Code Reviews with LLM-Powered Link Previews
Panya Trakoolgerntong, Tao Xiao, Masanari Kondo, Chaiyong Ragkhitwetsagul, Morakot Choetkiertikul, Pattaraporn Sangaroonsilp, Yasutaka Kamei

TL;DR
AILINKPREVIEWER uses Large Language Models to generate link previews in pull requests, enriching context for code reviews and improving automation, with a trade-off between metric performance and user preference.
Contribution
The paper introduces AILINKPREVIEWER, a novel tool that leverages LLMs to generate link previews in pull requests, enhancing code review context and automation.
Findings
Contextual summaries outperform other methods in metrics.
Most users preferred non-contextual summaries despite better metrics.
LLM-powered previews can improve code review efficiency.
Abstract
Code review is a key practice in software engineering, where developers evaluate code changes to ensure quality and maintainability. Links to issues and external resources are often included in Pull Requests (PRs) to provide additional context, yet they are typically discarded in automated tasks such as PR summarization and code review comment generation. This limits the richness of information available to reviewers and increases cognitive load by forcing context-switching. To address this gap, we present AILINKPREVIEWER, a tool that leverages Large Language Models (LLMs) to generate previews of links in PRs using PR metadata, including titles, descriptions, comments, and link body content. We analyzed 50 engineered GitHub repositories and compared three approaches: Contextual LLM summaries, Non-Contextual LLM summaries, and Metadata-based previews. The results in metrics such as BLEU,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Engineering Techniques and Practices · Expert finding and Q&A systems
