Diversity maximization speedup for fault localization

Fault localization is useful for reducing debugging effort. However, many fault localization techniques require non-trivial number of test cases with oracles, which can determine whether a program behaves correctly for every test input. Test oracle creation is expensive because it can take much manu...

Full description

Saved in:
Bibliographic Details
Main Authors: GONG, Liang, LO, David, JIANG, Lingxiao, ZHANG, Hongyu
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2012
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/1590
https://ink.library.smu.edu.sg/context/sis_research/article/2589/viewcontent/ase12_diversity.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-2589
record_format dspace
spelling sg-smu-ink.sis_research-25892018-12-05T06:10:48Z Diversity maximization speedup for fault localization GONG, Liang LO, David JIANG, Lingxiao ZHANG, Hongyu Fault localization is useful for reducing debugging effort. However, many fault localization techniques require non-trivial number of test cases with oracles, which can determine whether a program behaves correctly for every test input. Test oracle creation is expensive because it can take much manual labeling effort. Given a number of test cases to be executed, it is challenging to minimize the number of test cases requiring manual labeling and in the meantime achieve good fault localization accuracy. To address this challenge, this paper presents a novel test case selection strategy based on Diversity Maximization Speedup (DMS). DMS orders a set of unlabeled test cases in a way that maximizes the effectiveness of a fault localization technique. Developers are only expected to label a much smaller number of test cases along this ordering to achieve good fault localization results. Our experiments with more than 250 bugs from the Software-artifact Infrastructure Repository show (1) that DMS can help existing fault localization techniques to achieve comparable accuracy with on average 67% fewer labeled test cases than previously best test case prioritization techniques, and (2) that given a labeling budget (i.e., a fixed number of labeled test cases), DMS can help existing fault localization techniques reduce their debugging cost (in terms of the amount of code needed to be inspected to locate faults). We conduct hypothesis test and show that the saving of the debugging cost we achieve for the real C programs are statistically significant. 2012-09-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/1590 info:doi/10.1145/2351676.2351682 https://ink.library.smu.edu.sg/context/sis_research/article/2589/viewcontent/ase12_diversity.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Test Case Prioritization Fault Localization Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Test Case Prioritization
Fault Localization
Software Engineering
spellingShingle Test Case Prioritization
Fault Localization
Software Engineering
GONG, Liang
LO, David
JIANG, Lingxiao
ZHANG, Hongyu
Diversity maximization speedup for fault localization
description Fault localization is useful for reducing debugging effort. However, many fault localization techniques require non-trivial number of test cases with oracles, which can determine whether a program behaves correctly for every test input. Test oracle creation is expensive because it can take much manual labeling effort. Given a number of test cases to be executed, it is challenging to minimize the number of test cases requiring manual labeling and in the meantime achieve good fault localization accuracy. To address this challenge, this paper presents a novel test case selection strategy based on Diversity Maximization Speedup (DMS). DMS orders a set of unlabeled test cases in a way that maximizes the effectiveness of a fault localization technique. Developers are only expected to label a much smaller number of test cases along this ordering to achieve good fault localization results. Our experiments with more than 250 bugs from the Software-artifact Infrastructure Repository show (1) that DMS can help existing fault localization techniques to achieve comparable accuracy with on average 67% fewer labeled test cases than previously best test case prioritization techniques, and (2) that given a labeling budget (i.e., a fixed number of labeled test cases), DMS can help existing fault localization techniques reduce their debugging cost (in terms of the amount of code needed to be inspected to locate faults). We conduct hypothesis test and show that the saving of the debugging cost we achieve for the real C programs are statistically significant.
format text
author GONG, Liang
LO, David
JIANG, Lingxiao
ZHANG, Hongyu
author_facet GONG, Liang
LO, David
JIANG, Lingxiao
ZHANG, Hongyu
author_sort GONG, Liang
title Diversity maximization speedup for fault localization
title_short Diversity maximization speedup for fault localization
title_full Diversity maximization speedup for fault localization
title_fullStr Diversity maximization speedup for fault localization
title_full_unstemmed Diversity maximization speedup for fault localization
title_sort diversity maximization speedup for fault localization
publisher Institutional Knowledge at Singapore Management University
publishDate 2012
url https://ink.library.smu.edu.sg/sis_research/1590
https://ink.library.smu.edu.sg/context/sis_research/article/2589/viewcontent/ase12_diversity.pdf
_version_ 1770571310743683072