TailorFix: An Automated Repair Framework for Assignment Statements

Chunyan Ma, Tong Zhao, Shangru Li, Tao Zhang

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

The repair of software faults is an important task of software engineering. In this paper, an automated repair framework, called TailorFix is designed and implemented based on abstract syntax tree and repair operators, which is easily expandable by adding different types of repair operators. The TailorFix can be combined with a variety of fault localization technologies. In this paper, we integrate the Delta Debugging technique, as an example, into TailorFix, to achieve a fully automated fault localization and repair for assignment statements of C programs. By classifying faults of assignment statements and designing nine kinds of repair operators, a repair method that applies mutation technology to abstract syntax tree is proposed based on the location information of the Delta Debugging. Finally, experimental subjects of SIR (Software-artifact Infrastructure Repository) are used to verify the effectiveness of the TailorFix. With TailorFix, the average rate is high (on average 85.67%for various types of faults) for assignment statements. The proposed TailorFix framework can achieves more accurate repairs using the corresponding repair operators with respect to abstract syntax tree of different grammar structures, and does not require manual repair patterns, specifications, constraint solving, or search space.

Original languageEnglish
Title of host publicationICSESS 2018 - Proceedings of 2018 IEEE 9th International Conference on Software Engineering and Service Science
EditorsLi Wenzheng, M. Surendra Prasad Babu
PublisherIEEE Computer Society
Pages978-982
Number of pages5
ISBN (Electronic)9781538665640
DOIs
StatePublished - 2 Jul 2018
Event9th IEEE International Conference on Software Engineering and Service Science, ICSESS 2018 - Beijing, China
Duration: 23 Nov 201825 Nov 2018

Publication series

NameProceedings of the IEEE International Conference on Software Engineering and Service Sciences, ICSESS
Volume2018-November
ISSN (Print)2327-0586
ISSN (Electronic)2327-0594

Conference

Conference9th IEEE International Conference on Software Engineering and Service Science, ICSESS 2018
Country/TerritoryChina
CityBeijing
Period23/11/1825/11/18

Keywords

  • an automated repair framework
  • Delta Debugging
  • fault localization technologies
  • repair operator

Fingerprint

Dive into the research topics of 'TailorFix: An Automated Repair Framework for Assignment Statements'. Together they form a unique fingerprint.

Cite this