Towards Better Fault Localization: A Crosstab-Based Statistical Approach

It is becoming prohibitively expensive and time consuming, as well as tedious and error-prone, to perform debugging manually. Among the debugging activities, fault localization has been one of the most expensive, and therefore, a large number of fault-localization techniques have been proposed over...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:IEEE transactions on systems, man and cybernetics. Part C, Applications and reviews man and cybernetics. Part C, Applications and reviews, 2012-05, Vol.42 (3), p.378-396
Hauptverfasser: Wong, W. E., Debroy, V., Dianxiang Xu
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page 396
container_issue 3
container_start_page 378
container_title IEEE transactions on systems, man and cybernetics. Part C, Applications and reviews
container_volume 42
creator Wong, W. E.
Debroy, V.
Dianxiang Xu
description It is becoming prohibitively expensive and time consuming, as well as tedious and error-prone, to perform debugging manually. Among the debugging activities, fault localization has been one of the most expensive, and therefore, a large number of fault-localization techniques have been proposed over the recent years. This paper presents a crosstab-based statistical technique that makes use of the coverage information of each executable statement and the execution result (success or failure) with respect to each test case to localize faults in an effective and efficient manner. A crosstab is constructed for each executable statement, and a statistic is computed to determine the suspiciousness of the corresponding statement. Statements with a higher suspiciousness are more likely to contain bugs and should be examined before those with a lower suspiciousness. Case studies are performed on both small- (the Siemens and Unix suites) and large-sized programs (space, grep, gzip, and make), and results suggest that the crosstab-based technique (CBT) is more effective (in terms of a smaller percentage of executable statements that have to be examined until the first statement containing the fault is reached) than other techniques, such as Tarantula. Further studies using the Siemens suite reveal that the proposed technique is also more effective at locating faults than other statistically oriented techniques, such as SOBER and Liblit05. Additional experiments evaluate the CBT from other perspectives, such as its efficiency in terms of time taken, its applicability to object-oriented languages (on a very large Java program: Ant), and its sensitivity to test suite size, and demonstrate its superior performance.
doi_str_mv 10.1109/TSMCC.2011.2118751
format Article
fullrecord <record><control><sourceid>pascalfrancis_RIE</sourceid><recordid>TN_cdi_ieee_primary_5772029</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><ieee_id>5772029</ieee_id><sourcerecordid>25828117</sourcerecordid><originalsourceid>FETCH-LOGICAL-c363t-13124a0be6bc591389f467f6ee8fc486c20550cd6096940dd0e96a8bfe659613</originalsourceid><addsrcrecordid>eNo9kE9LAzEUxIMoWKtfQC-5eNyal__x1i7WChUP3fuSzSa4UrtLEhH99G5t6ekNzMxj-CF0C2QGQMxDtXktyxklADMKoJWAMzQBIXRBOafnoyaGF9IodYmuUvogBDg3bIJWVf9tY5vwwufsI17ar23G697Zbfdrc9fvHvEcl7FPKdumWNjkW7zJo5NyN4bwfBhib937NboIdpv8zfFOUbV8qspVsX57finn68IxyXIBDCi3pPGyccIA0yZwqYL0XgfHtXSUCEFcK4mRhpO2Jd5Iq5vgpTAS2BTRw1u3nxR9qIfYfdr4UwOp9yjqfxT1HkV9RDGW7g-lwaZxc4h257p0alKhqQZQY-7ukOu89ydbKEUJNewPw0Rm9g</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Towards Better Fault Localization: A Crosstab-Based Statistical Approach</title><source>IEEE Electronic Library (IEL)</source><creator>Wong, W. E. ; Debroy, V. ; Dianxiang Xu</creator><creatorcontrib>Wong, W. E. ; Debroy, V. ; Dianxiang Xu</creatorcontrib><description>It is becoming prohibitively expensive and time consuming, as well as tedious and error-prone, to perform debugging manually. Among the debugging activities, fault localization has been one of the most expensive, and therefore, a large number of fault-localization techniques have been proposed over the recent years. This paper presents a crosstab-based statistical technique that makes use of the coverage information of each executable statement and the execution result (success or failure) with respect to each test case to localize faults in an effective and efficient manner. A crosstab is constructed for each executable statement, and a statistic is computed to determine the suspiciousness of the corresponding statement. Statements with a higher suspiciousness are more likely to contain bugs and should be examined before those with a lower suspiciousness. Case studies are performed on both small- (the Siemens and Unix suites) and large-sized programs (space, grep, gzip, and make), and results suggest that the crosstab-based technique (CBT) is more effective (in terms of a smaller percentage of executable statements that have to be examined until the first statement containing the fault is reached) than other techniques, such as Tarantula. Further studies using the Siemens suite reveal that the proposed technique is also more effective at locating faults than other statistically oriented techniques, such as SOBER and Liblit05. Additional experiments evaluate the CBT from other perspectives, such as its efficiency in terms of time taken, its applicability to object-oriented languages (on a very large Java program: Ant), and its sensitivity to test suite size, and demonstrate its superior performance.</description><identifier>ISSN: 1094-6977</identifier><identifier>EISSN: 1558-2442</identifier><identifier>DOI: 10.1109/TSMCC.2011.2118751</identifier><identifier>CODEN: ITCRFH</identifier><language>eng</language><publisher>New-York, NY: IEEE</publisher><subject>Applied sciences ; Computer bugs ; Computer science; control theory; systems ; Computer systems performance. Reliability ; Crosstab ; Debugging ; debugging aids ; Exact sciences and technology ; Instruments ; Noise measurement ; Probability ; Software ; software fault localization ; Statistical analysis ; statistical methods ; testing and debugging</subject><ispartof>IEEE transactions on systems, man and cybernetics. Part C, Applications and reviews, 2012-05, Vol.42 (3), p.378-396</ispartof><rights>2015 INIST-CNRS</rights><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c363t-13124a0be6bc591389f467f6ee8fc486c20550cd6096940dd0e96a8bfe659613</citedby><cites>FETCH-LOGICAL-c363t-13124a0be6bc591389f467f6ee8fc486c20550cd6096940dd0e96a8bfe659613</cites></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://ieeexplore.ieee.org/document/5772029$$EHTML$$P50$$Gieee$$H</linktohtml><link.rule.ids>314,778,782,794,27913,27914,54747</link.rule.ids><linktorsrc>$$Uhttps://ieeexplore.ieee.org/document/5772029$$EView_record_in_IEEE$$FView_record_in_$$GIEEE</linktorsrc><backlink>$$Uhttp://pascal-francis.inist.fr/vibad/index.php?action=getRecordDetail&amp;idt=25828117$$DView record in Pascal Francis$$Hfree_for_read</backlink></links><search><creatorcontrib>Wong, W. E.</creatorcontrib><creatorcontrib>Debroy, V.</creatorcontrib><creatorcontrib>Dianxiang Xu</creatorcontrib><title>Towards Better Fault Localization: A Crosstab-Based Statistical Approach</title><title>IEEE transactions on systems, man and cybernetics. Part C, Applications and reviews</title><addtitle>TSMCC</addtitle><description>It is becoming prohibitively expensive and time consuming, as well as tedious and error-prone, to perform debugging manually. Among the debugging activities, fault localization has been one of the most expensive, and therefore, a large number of fault-localization techniques have been proposed over the recent years. This paper presents a crosstab-based statistical technique that makes use of the coverage information of each executable statement and the execution result (success or failure) with respect to each test case to localize faults in an effective and efficient manner. A crosstab is constructed for each executable statement, and a statistic is computed to determine the suspiciousness of the corresponding statement. Statements with a higher suspiciousness are more likely to contain bugs and should be examined before those with a lower suspiciousness. Case studies are performed on both small- (the Siemens and Unix suites) and large-sized programs (space, grep, gzip, and make), and results suggest that the crosstab-based technique (CBT) is more effective (in terms of a smaller percentage of executable statements that have to be examined until the first statement containing the fault is reached) than other techniques, such as Tarantula. Further studies using the Siemens suite reveal that the proposed technique is also more effective at locating faults than other statistically oriented techniques, such as SOBER and Liblit05. Additional experiments evaluate the CBT from other perspectives, such as its efficiency in terms of time taken, its applicability to object-oriented languages (on a very large Java program: Ant), and its sensitivity to test suite size, and demonstrate its superior performance.</description><subject>Applied sciences</subject><subject>Computer bugs</subject><subject>Computer science; control theory; systems</subject><subject>Computer systems performance. Reliability</subject><subject>Crosstab</subject><subject>Debugging</subject><subject>debugging aids</subject><subject>Exact sciences and technology</subject><subject>Instruments</subject><subject>Noise measurement</subject><subject>Probability</subject><subject>Software</subject><subject>software fault localization</subject><subject>Statistical analysis</subject><subject>statistical methods</subject><subject>testing and debugging</subject><issn>1094-6977</issn><issn>1558-2442</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2012</creationdate><recordtype>article</recordtype><sourceid>RIE</sourceid><recordid>eNo9kE9LAzEUxIMoWKtfQC-5eNyal__x1i7WChUP3fuSzSa4UrtLEhH99G5t6ekNzMxj-CF0C2QGQMxDtXktyxklADMKoJWAMzQBIXRBOafnoyaGF9IodYmuUvogBDg3bIJWVf9tY5vwwufsI17ar23G697Zbfdrc9fvHvEcl7FPKdumWNjkW7zJo5NyN4bwfBhib937NboIdpv8zfFOUbV8qspVsX57finn68IxyXIBDCi3pPGyccIA0yZwqYL0XgfHtXSUCEFcK4mRhpO2Jd5Iq5vgpTAS2BTRw1u3nxR9qIfYfdr4UwOp9yjqfxT1HkV9RDGW7g-lwaZxc4h257p0alKhqQZQY-7ukOu89ydbKEUJNewPw0Rm9g</recordid><startdate>20120501</startdate><enddate>20120501</enddate><creator>Wong, W. E.</creator><creator>Debroy, V.</creator><creator>Dianxiang Xu</creator><general>IEEE</general><general>Institute of Electrical and Electronics Engineers</general><scope>97E</scope><scope>RIA</scope><scope>RIE</scope><scope>IQODW</scope><scope>AAYXX</scope><scope>CITATION</scope></search><sort><creationdate>20120501</creationdate><title>Towards Better Fault Localization: A Crosstab-Based Statistical Approach</title><author>Wong, W. E. ; Debroy, V. ; Dianxiang Xu</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c363t-13124a0be6bc591389f467f6ee8fc486c20550cd6096940dd0e96a8bfe659613</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2012</creationdate><topic>Applied sciences</topic><topic>Computer bugs</topic><topic>Computer science; control theory; systems</topic><topic>Computer systems performance. Reliability</topic><topic>Crosstab</topic><topic>Debugging</topic><topic>debugging aids</topic><topic>Exact sciences and technology</topic><topic>Instruments</topic><topic>Noise measurement</topic><topic>Probability</topic><topic>Software</topic><topic>software fault localization</topic><topic>Statistical analysis</topic><topic>statistical methods</topic><topic>testing and debugging</topic><toplevel>online_resources</toplevel><creatorcontrib>Wong, W. E.</creatorcontrib><creatorcontrib>Debroy, V.</creatorcontrib><creatorcontrib>Dianxiang Xu</creatorcontrib><collection>IEEE All-Society Periodicals Package (ASPP) 2005-present</collection><collection>IEEE All-Society Periodicals Package (ASPP) 1998-Present</collection><collection>IEEE Electronic Library (IEL)</collection><collection>Pascal-Francis</collection><collection>CrossRef</collection><jtitle>IEEE transactions on systems, man and cybernetics. Part C, Applications and reviews</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Wong, W. E.</au><au>Debroy, V.</au><au>Dianxiang Xu</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Towards Better Fault Localization: A Crosstab-Based Statistical Approach</atitle><jtitle>IEEE transactions on systems, man and cybernetics. Part C, Applications and reviews</jtitle><stitle>TSMCC</stitle><date>2012-05-01</date><risdate>2012</risdate><volume>42</volume><issue>3</issue><spage>378</spage><epage>396</epage><pages>378-396</pages><issn>1094-6977</issn><eissn>1558-2442</eissn><coden>ITCRFH</coden><abstract>It is becoming prohibitively expensive and time consuming, as well as tedious and error-prone, to perform debugging manually. Among the debugging activities, fault localization has been one of the most expensive, and therefore, a large number of fault-localization techniques have been proposed over the recent years. This paper presents a crosstab-based statistical technique that makes use of the coverage information of each executable statement and the execution result (success or failure) with respect to each test case to localize faults in an effective and efficient manner. A crosstab is constructed for each executable statement, and a statistic is computed to determine the suspiciousness of the corresponding statement. Statements with a higher suspiciousness are more likely to contain bugs and should be examined before those with a lower suspiciousness. Case studies are performed on both small- (the Siemens and Unix suites) and large-sized programs (space, grep, gzip, and make), and results suggest that the crosstab-based technique (CBT) is more effective (in terms of a smaller percentage of executable statements that have to be examined until the first statement containing the fault is reached) than other techniques, such as Tarantula. Further studies using the Siemens suite reveal that the proposed technique is also more effective at locating faults than other statistically oriented techniques, such as SOBER and Liblit05. Additional experiments evaluate the CBT from other perspectives, such as its efficiency in terms of time taken, its applicability to object-oriented languages (on a very large Java program: Ant), and its sensitivity to test suite size, and demonstrate its superior performance.</abstract><cop>New-York, NY</cop><pub>IEEE</pub><doi>10.1109/TSMCC.2011.2118751</doi><tpages>19</tpages></addata></record>
fulltext fulltext_linktorsrc
identifier ISSN: 1094-6977
ispartof IEEE transactions on systems, man and cybernetics. Part C, Applications and reviews, 2012-05, Vol.42 (3), p.378-396
issn 1094-6977
1558-2442
language eng
recordid cdi_ieee_primary_5772029
source IEEE Electronic Library (IEL)
subjects Applied sciences
Computer bugs
Computer science
control theory
systems
Computer systems performance. Reliability
Crosstab
Debugging
debugging aids
Exact sciences and technology
Instruments
Noise measurement
Probability
Software
software fault localization
Statistical analysis
statistical methods
testing and debugging
title Towards Better Fault Localization: A Crosstab-Based Statistical Approach
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-15T08%3A19%3A05IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-pascalfrancis_RIE&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Towards%20Better%20Fault%20Localization:%20A%20Crosstab-Based%20Statistical%20Approach&rft.jtitle=IEEE%20transactions%20on%20systems,%20man%20and%20cybernetics.%20Part%20C,%20Applications%20and%20reviews&rft.au=Wong,%20W.%20E.&rft.date=2012-05-01&rft.volume=42&rft.issue=3&rft.spage=378&rft.epage=396&rft.pages=378-396&rft.issn=1094-6977&rft.eissn=1558-2442&rft.coden=ITCRFH&rft_id=info:doi/10.1109/TSMCC.2011.2118751&rft_dat=%3Cpascalfrancis_RIE%3E25828117%3C/pascalfrancis_RIE%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rft_ieee_id=5772029&rfr_iscdi=true