Replication Package for "Automated Program Repair for UI-centric Android Bugs: How Far are We?"
Authors/Creators
Description
Replication Package for "Automated Program Repair of UI-centric Android Bugs: How Far are We?"
This repository contains the source code required to reproduce the experimental results discussed in our original paper. The repository is organized as follows:
- Dataset: contains both synthetic and real data from DroidFixBench dataset
- real-bug-buggy-fixed-code.csv: contains buggy and fixed code for the bugs in the real dataset
- real-bug-test-cases.csv: contains test cases for the bugs in the real dataset
- synthetic-bug-buggy-fixed-code.csv: contains buggy and fixed code for the bugs in the synthetic dataset
- synthetic-bug-test-cases.csv: contains test cases for the bugs in the synthetic dataset
- apks: This zip folder contains all of the buggy and fixed apks for the synthetic and real bug datasets.
- ReplicationPackages: contains the necessary source code for reproducing the results for the following Automated Program Repair techniques:
- ChatRepair: source code for replicating ChatRepair results
- D4C: source code for replicating D4C results
- NTR: source code for replicating NTR results
- OpenHands: source code for replicating OpenHands results
- RewardRepair: source code for replicating RewardRepair results
The instructions for running code are given inside each folder.
- ReproducingScripts: contains the following types of test cases
- Bug Specific Test Cases: test cases for reproducing the bugs
- Bug Related Feature Test Cases: test cases that check features related to the bugs
The instructions for running the test cases are provided ```ReproducingScripts/app``` directory.
- ShortScripts: scripts for processing and aggregating results
- GeneratedPatches: contains all the generated patches
- ChatRepair: contains results for ChatRepair
- ChatRepair-result-real-bugs.csv: contains all the generated patches by ChatRepair for the bugs in the real dataset
- ChatRepair-result-synthetic-bugs.csv: contains all the generated patches by ChatRepair for the bugs in the synthetic dataset
- D4C: contains results for D4C
- D4C-result-real-bugs.csv: contains all the generated patches by D4C for the bugs in the real dataset
- D4C-result-synthetic-bugs.csv: contains all the generated patches by D4C for the bugs in the synthetic dataset
- NTR: contains results for NTR
- NTR-result-real-bugs.csv: contains all the generated patches by NTR for the bugs in the real dataset
- NTR-result-synthetic-bugs.csv: contains all the generated patches by NTR for the bugs in the synthetic dataset
- OpenHands: contains results for OpenHands
- OpenHands-result-real-bugs.csv: contains all the generated patches by OpenHands for the bugs in the real dataset
- OpenHands-result-synthetic-bugs.csv: contains all the generated patches by OpenHands for the bugs in the synthetic dataset
- RewardRepair: contains results for RewardRepair
- RewardRepair-result-real-bugs.csv: contains all the generated patches by RewardRepair for the bugs in the real dataset
- RewardRepair-result-synthetic-bugs.csv: contains all the generated patches by RewardRepair for the bugs in the synthetic dataset
- Codebooks: contains codebooks for our manual analysis
- guidelines_examples_for_annotating_correct_patches.pdf: contains the codebook for annotating correct patches
- guidelines_ methodology_for_qualitative_analysis_of_the_unsuccessful_generated_patches.pdf: contains the codebook for qualitative analysis of the unsuccessful generated patches
- guidlines_methodology_for_creating_the_test_cases.pdf: contains the codebook for creating the test cases
- taxonomy-codebook.csv: The codebook for the labeling of the taxonomy categories
Files
UI-Program-Repair.zip
Additional details
Software
- Development Status
- Active