AILINKPREVIEWER: Enhancing Code Reviews with LLM-Powered Link Previews
Fuente:
arXiv
Saved in:
| Main Authors: | , , , , , , |
|---|---|
| Format: | Preprint |
| Published: |
2025
|
| Subjects: | |
| Online Access: | |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1866914153436807168 |
|---|---|
| author | Trakoolgerntong, Panya Xiao, Tao Kondo, Masanari Ragkhitwetsagul, Chaiyong Choetkiertikul, Morakot Sangaroonsilp, Pattaraporn Kamei, Yasutaka |
| author_facet | Trakoolgerntong, Panya Xiao, Tao Kondo, Masanari Ragkhitwetsagul, Chaiyong Choetkiertikul, Morakot Sangaroonsilp, Pattaraporn Kamei, Yasutaka |
| contents | 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, BERTScore, and compression ratio show that contextual summaries consistently outperform other methods. However, in a user study with seven participants, most preferred non-contextual summaries, suggesting a trade-off between metric performance and perceived usability. These findings demonstrate the potential of LLM-powered link previews to enhance code review efficiency and to provide richer context for developers and automation in software engineering.
The video demo is available at https://www.youtube.com/watch?v=h2qH4RtrB3E, and the tool and its source code can be found at https://github.com/c4rtune/AILinkPreviewer. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2511_09223 |
| institution | arXiv |
| publishDate | 2025 |
| record_format | arxiv |
| spellingShingle | AILINKPREVIEWER: Enhancing Code Reviews with LLM-Powered Link Previews Trakoolgerntong, Panya Xiao, Tao Kondo, Masanari Ragkhitwetsagul, Chaiyong Choetkiertikul, Morakot Sangaroonsilp, Pattaraporn Kamei, Yasutaka Software Engineering 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, BERTScore, and compression ratio show that contextual summaries consistently outperform other methods. However, in a user study with seven participants, most preferred non-contextual summaries, suggesting a trade-off between metric performance and perceived usability. These findings demonstrate the potential of LLM-powered link previews to enhance code review efficiency and to provide richer context for developers and automation in software engineering. The video demo is available at https://www.youtube.com/watch?v=h2qH4RtrB3E, and the tool and its source code can be found at https://github.com/c4rtune/AILinkPreviewer. |
| title | AILINKPREVIEWER: Enhancing Code Reviews with LLM-Powered Link Previews |
| topic | Software Engineering |
| url | https://arxiv.org/abs/2511.09223 |