BEARS: An Extensible Java Bug Benchmark for Automatic Program Repair Studies

Benchmarks of bugs are essential to empirically evaluate automatic program repair tools. In this paper, we present BEARS, a project for collecting and storing bugs into an extensible bug benchmark for automatic repair studies in Java. The collection of bugs relies on commit building state from Conti...

Full description

Saved in:
Bibliographic Details
Published in2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER) pp. 468 - 478
Main Authors Madeiral, Fernanda, Urli, Simon, Maia, Marcelo, Monperrus, Martin
Format Conference Proceeding
LanguageEnglish
Published IEEE 01.02.2019
Subjects
Online AccessGet full text
DOI10.1109/SANER.2019.8667991

Cover

Abstract Benchmarks of bugs are essential to empirically evaluate automatic program repair tools. In this paper, we present BEARS, a project for collecting and storing bugs into an extensible bug benchmark for automatic repair studies in Java. The collection of bugs relies on commit building state from Continuous Integration (CI) to find potential pairs of buggy and patched program versions from open-source projects hosted on GitHub. Each pair of program versions passes through a pipeline where an attempt of reproducing a bug and its patch is performed. The core step of the reproduction pipeline is the execution of the test suite of the program on both program versions. If a test failure is found in the buggy program version candidate and no test failure is found in its patched program version candidate, a bug and its patch were successfully reproduced. The uniqueness of Bears is the usage of CI (builds) to identify buggy and patched program version candidates, which has been widely adopted in the last years in open-source projects. This approach allows us to collect bugs from a diversity of projects beyond mature projects that use bug tracking systems. Moreover, BEARS was designed to be publicly available and to be easily extensible by the research community through automatic creation of branches with bugs in a given GitHub repository, which can be used for pull requests in the BEARS repository. We present in this paper the approach employed by BEARS, and we deliver the version 1.0 of BEARS, which contains 251 reproducible bugs collected from 72 projects that use the Travis CI and Maven build environment.
AbstractList Benchmarks of bugs are essential to empirically evaluate automatic program repair tools. In this paper, we present BEARS, a project for collecting and storing bugs into an extensible bug benchmark for automatic repair studies in Java. The collection of bugs relies on commit building state from Continuous Integration (CI) to find potential pairs of buggy and patched program versions from open-source projects hosted on GitHub. Each pair of program versions passes through a pipeline where an attempt of reproducing a bug and its patch is performed. The core step of the reproduction pipeline is the execution of the test suite of the program on both program versions. If a test failure is found in the buggy program version candidate and no test failure is found in its patched program version candidate, a bug and its patch were successfully reproduced. The uniqueness of Bears is the usage of CI (builds) to identify buggy and patched program version candidates, which has been widely adopted in the last years in open-source projects. This approach allows us to collect bugs from a diversity of projects beyond mature projects that use bug tracking systems. Moreover, BEARS was designed to be publicly available and to be easily extensible by the research community through automatic creation of branches with bugs in a given GitHub repository, which can be used for pull requests in the BEARS repository. We present in this paper the approach employed by BEARS, and we deliver the version 1.0 of BEARS, which contains 251 reproducible bugs collected from 72 projects that use the Travis CI and Maven build environment.
Author Monperrus, Martin
Madeiral, Fernanda
Urli, Simon
Maia, Marcelo
Author_xml – sequence: 1
  givenname: Fernanda
  surname: Madeiral
  fullname: Madeiral, Fernanda
  organization: Federal University of Uberlândia, Brazil
– sequence: 2
  givenname: Simon
  surname: Urli
  fullname: Urli, Simon
  organization: INRIA & University of Lille, France
– sequence: 3
  givenname: Marcelo
  surname: Maia
  fullname: Maia, Marcelo
  organization: Federal University of Uberlândia, Brazil
– sequence: 4
  givenname: Martin
  surname: Monperrus
  fullname: Monperrus, Martin
  organization: KTH Royal Institute of Technology, Sweden
BookMark eNotj81Og0AURsdEF7b1BXQzLwDODzAz7qDBqiHVgK6bC9ypEws0Axh9e5vY1ZezOTnfglz2Q4-E3HIWcs7MfZVu8zIUjJtQJ4kyhl-QBVdCcxYbbq5JkeVpWT3QtKf5z4T96OoD0hf4BprNe5ph33x24L-oHTxN52noYHINffPD3kNHSzyC87Sa5tbhuCJXFg4j3px3ST4e8_f1U1C8bp7XaRE4weUUtBJASSWk1cAijK1O0DArIzS1jQQqaZU-odUi4krZOkZQ0MQtb5ltGyOX5O7f6xBxd_TuVPi7Ox-Uf5eeSeo
ContentType Conference Proceeding
DBID 6IE
6IL
CBEJK
RIE
RIL
DOI 10.1109/SANER.2019.8667991
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP All) 1998-Present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
EISBN 1728105919
9781728105918
EndPage 478
ExternalDocumentID 8667991
Genre orig-research
GroupedDBID 6IE
6IL
CBEJK
RIE
RIL
ID FETCH-LOGICAL-i213t-d3aa73723f8a04e5f86e90f34e9bf42e73f78f34f824177fb5ea7ac5d1d0fdc93
IEDL.DBID RIE
IngestDate Thu Jun 29 18:39:04 EDT 2023
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-i213t-d3aa73723f8a04e5f86e90f34e9bf42e73f78f34f824177fb5ea7ac5d1d0fdc93
PageCount 11
ParticipantIDs ieee_primary_8667991
PublicationCentury 2000
PublicationDate 2019-Feb.
PublicationDateYYYYMMDD 2019-02-01
PublicationDate_xml – month: 02
  year: 2019
  text: 2019-Feb.
PublicationDecade 2010
PublicationTitle 2019 IEEE 26th International Conference on Software Analysis, Evolution and Reengineering (SANER)
PublicationTitleAbbrev SANER
PublicationYear 2019
Publisher IEEE
Publisher_xml – name: IEEE
Score 2.080981
Snippet Benchmarks of bugs are essential to empirically evaluate automatic program repair tools. In this paper, we present BEARS, a project for collecting and storing...
SourceID ieee
SourceType Publisher
StartPage 468
SubjectTerms Benchmark testing
Computer bugs
Java
Maintenance engineering
Open source software
Pipelines
Title BEARS: An Extensible Java Bug Benchmark for Automatic Program Repair Studies
URI https://ieeexplore.ieee.org/document/8667991
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3NT8IwFG-Qkyc1YPxODx4djG5rV2_DjBAixIAk3Eg_XpWgw5DNGP962w0wGg_e1qVf6Tv83mt_v_cQutZUUulz5XEJ3AupDXd4GaUoKQgoi9GREycPR7Q_DQezaFZDNzstDACU5DNouc_yLV-vVOGuytoxpYw7qfoeY7zSam11MD5vT5JROnZkLWv9quOPiiklYPQO0HC7VMUTWbaKXLbU568sjP_dyyFqfkvz8MMOdI5QDbIGuu-myXhyi5MMpx8lJV2-AB6Id4G7xRPu2lHPr2K9xNZDxUmRr8o8rW4ex83C1gkXizXeUAqbaNpLH-_63qZMgrcgnSD3dCCEKzYTmFj4IUQmpsB9E4TApQkJsMCw2DZNbNGaMSMjEEyoSHe0b7TiwTGqZ6sMThAOKJBYE2b9BBZGUgkboUEsQ-ITLYjkp6jhTmL-VmXCmG8O4ezv3-do31mj4jhfoHq-LuDSQngur0rbfQE9bJ1E
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1LT8JAEN4QPOhJDRjf7sGjhbJtd7vewJQgAjE8Em5kH1MlaDGkNcZf724LGI0Hb9tNX5k5fPO13zeD0LWmkkqXK4dL4I5PDd3hOUtRUhBQBqMDa07uD2hn4nenwbSEbrZeGADIxWdQs8v8X75eqsx-KquHlDJureo7gWEVrHBrbZwwLq-PmoNoaOVaJv_FqT9mpuSQ0d5H_c3DCqXIopalsqY-f_Vh_O_bHKDqtzkPP25h5xCVIKmgXitqDke3uJng6CMXpcsXwF3xLnAre8Itc9Xzq1gtsKlRcTNLl3mnVnsfq87CpgwX8xVeiwqraNKOxncdZz0owZmThpc62hPCjpvx4lC4PgRxSIG7secDl7FPgHkxC81hHBq8ZiyWAQgmVKAb2o214t4RKifLBI4R9iiQUBNmKgXmB1IJw9EglD5xiRZE8hNUsZGYvRW9MGbrIJz-vX2Fdjvjfm_Wux88nKE9m5lC8XyOyukqgwsD6Km8zPP4BbGwoJU
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=2019+IEEE+26th+International+Conference+on+Software+Analysis%2C+Evolution+and+Reengineering+%28SANER%29&rft.atitle=BEARS%3A+An+Extensible+Java+Bug+Benchmark+for+Automatic+Program+Repair+Studies&rft.au=Madeiral%2C+Fernanda&rft.au=Urli%2C+Simon&rft.au=Maia%2C+Marcelo&rft.au=Monperrus%2C+Martin&rft.date=2019-02-01&rft.pub=IEEE&rft.spage=468&rft.epage=478&rft_id=info:doi/10.1109%2FSANER.2019.8667991&rft.externalDocID=8667991