BUGSPHP: A dataset for Automated Program Repair in PHP

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Pramod, K. D., De Silva, W. T. N., Thabrew, W. U. K., Shariffdeen, Ridwan, Wickramanayake, Sandareka
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866929217499824128
author Pramod, K. D.
De Silva, W. T. N.
Thabrew, W. U. K.
Shariffdeen, Ridwan
Wickramanayake, Sandareka
author_facet Pramod, K. D.
De Silva, W. T. N.
Thabrew, W. U. K.
Shariffdeen, Ridwan
Wickramanayake, Sandareka
contents Automated Program Repair (APR) improves developer productivity by saving debugging and bug-fixing time. While APR has been extensively explored for C/C++ and Java programs, there is little research on bugs in PHP programs due to the lack of a benchmark PHP bug dataset. This is surprising given that PHP has been one of the most widely used server-side languages for over two decades, being used in a variety of contexts such as e-commerce, social networking, and content management. This paper presents a benchmark dataset of PHP bugs on real-world applications called BUGSPHP, which can enable research on analysis, testing, and repair for PHP programs. The dataset consists of training and test datasets, separately curated from GitHub and processed locally. The training dataset includes more than 600,000 bug-fixing commits. The test dataset contains 513 manually validated bug-fixing commits equipped with developer-provided test cases to assess patch correctness.
format Preprint
id arxiv_https___arxiv_org_abs_2401_07356
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle BUGSPHP: A dataset for Automated Program Repair in PHP
Pramod, K. D.
De Silva, W. T. N.
Thabrew, W. U. K.
Shariffdeen, Ridwan
Wickramanayake, Sandareka
Software Engineering
Automated Program Repair (APR) improves developer productivity by saving debugging and bug-fixing time. While APR has been extensively explored for C/C++ and Java programs, there is little research on bugs in PHP programs due to the lack of a benchmark PHP bug dataset. This is surprising given that PHP has been one of the most widely used server-side languages for over two decades, being used in a variety of contexts such as e-commerce, social networking, and content management. This paper presents a benchmark dataset of PHP bugs on real-world applications called BUGSPHP, which can enable research on analysis, testing, and repair for PHP programs. The dataset consists of training and test datasets, separately curated from GitHub and processed locally. The training dataset includes more than 600,000 bug-fixing commits. The test dataset contains 513 manually validated bug-fixing commits equipped with developer-provided test cases to assess patch correctness.
title BUGSPHP: A dataset for Automated Program Repair in PHP
topic Software Engineering
url https://arxiv.org/abs/2401.07356