Unknown

Dataset Information

0

The improved dynamic slicing for spectrum-based fault localization.


ABSTRACT:

Background

Spectrum-based Fault localization have proven to be useful in the process of software testing and debugging. However, how to improve the effectiveness of software fault localization has always been a research hot spot in the field of software engineering. Dynamic slicing can extract program dependencies under certain conditions. Thus, this technology is expected to benefit for locating fault.

Methods

We propose an improved dynamic slicing for spectrum-based fault localization under a general framework. We first obtain the dynamic slice of program execution. Secondly, we construct a mixed slice spectrum matrix from the dynamic slice of each test case and the corresponding test results. Finally, we compute the suspiciousness value of each statement in the mixed-slice spectram matrix.

Results

To verify the performance of our method, we conduct an empirical study on 15 widely used open-source programs. Experimental results show that our approach achieves significant improvement than the compared techniques.

Conclusions

Our approach can reduce approximately 1% to 17.79% of the average cost of code examined significantly.

SUBMITTER: Cao H 

PROVIDER: S-EPMC9575932 | biostudies-literature | 2022

REPOSITORIES: biostudies-literature

altmetric image

Publications

The improved dynamic slicing for spectrum-based fault localization.

Cao Heling H   Wang Fei F   Deng Miaolei M   Li Lei L  

PeerJ. Computer science 20220907


<h4>Background</h4>Spectrum-based Fault localization have proven to be useful in the process of software testing and debugging. However, how to improve the effectiveness of software fault localization has always been a research hot spot in the field of software engineering. Dynamic slicing can extract program dependencies under certain conditions. Thus, this technology is expected to benefit for locating fault.<h4>Methods</h4>We propose an improved dynamic slicing for spectrum-based fault locali  ...[more]

Similar Datasets

| S-EPMC9270720 | biostudies-literature
| S-EPMC9481022 | biostudies-literature
| S-EPMC5738058 | biostudies-literature
| S-EPMC9417105 | biostudies-literature
| S-EPMC4786806 | biostudies-literature
| S-EPMC11913290 | biostudies-literature
| S-EPMC8872895 | biostudies-literature
| S-EPMC10798371 | biostudies-literature
| S-EPMC5750787 | biostudies-literature
| S-EPMC10803066 | biostudies-literature