SANER 2025
Tue 4 - Fri 7 March 2025 Montréal, Québec, Canada
Fri 7 Mar 2025 11:30 - 11:45 at M-1410 - Code Quality and Refactoring Chair(s): Wesley Assunção

Code reviews are an integral part of software development and have been recognized as a crucial practice for minimizing bugs and favouring higher code quality. They serve as an important checkpoint before committing code and play an essential role in knowledge transfer between developers. However, code reviews can be time-consuming and can stale the development of large software projects.

In a recent study, Guo et al. assessed how ChatGPT can help the code review process. They evaluated the effectiveness of ChatGPT in automating the code refinement tasks, where developers recommend small changes in the submitted code. While Guo et al. ’s study showed promising results, proprietary models like ChatGPT pose risks to data privacy and incur extra costs for software projects. In this study, we explore alternatives to ChatGPT in code refinement tasks by including two open-source, smaller-scale large language models: CodeLlama and Llama 2 (7B parameters). Our results show that, if properly tuned, the Llama models, particularly CodeLlama, can achieve reasonable performance, often comparable to ChatGPT in automated code refinement. However, not all code refinement tasks are equally successful: tasks that require changing existing code (e.g., refactoring) are more manageable for models to automate than tasks that demand new code. Our study highlights the potential of open-source models for code refinement, offering cost-effective, privacy-conscious solutions for real-world software development.

Fri 7 Mar

Displayed time zone: Eastern Time (US & Canada) change

11:00 - 12:30
Code Quality and RefactoringResearch Papers / Reproducibility Studies and Negative Results (RENE) Track at M-1410
Chair(s): Wesley Assunção North Carolina State University
11:00
15m
Talk
Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarios
Research Papers
Zhi Chen Singapore Management University, Lingxiao Jiang Singapore Management University
Pre-print
11:15
15m
Talk
Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projects
Research Papers
Henrique Gomes Nunes Federal University of Minas Gerais, Eduardo Figueiredo Federal University of Minas Gerais, Larissa Rocha State University of Bahia, Sarah Nadi New York University Abu Dhabi, Fischer Ferreira Federal University of Ceará, Geanderson Esteves dos Santos Federal University of Minas Gerais
11:30
15m
Talk
Exploring the Potential of Llama Models in Automated Code Refinement: A Replication Study
Research Papers
Genevieve Caumartin Concordia University, Qiaolin Qin Polytechnique Montréal, Heng Li Polytechnique Montréal, Diego Costa Concordia University, Canada
Pre-print
11:45
15m
Talk
Exploring the Relationship between Technical Debt and Lead Time: An Industrial Case Study
Reproducibility Studies and Negative Results (RENE) Track
Bhuwan Paudel Blekinge Institute of Technology, Javier Gonzalez-Huerta Blekinge Institute of Technology, Ehsan Zabardast Nordea, Blekinge Institute of Technology, Eriks Klotins Blekinge Institute of Technology
:
:
:
: