Izvorni znanstveni članak
https://doi.org/10.24138/jcomss.v13i4.402
Graph Mining for Software Fault Localization: An Edge Ranking based Approach
Marwa Gaber Abd El-Wahab
; Faculty of Computers and Information, Helwan University, Egypt
Amal Elsayed Aboutabl
orcid.org/0000-0002-7189-9274
; Faculty of Computers and Information, Helwan University, Egypt
Wessam M.H. EL Behaidy
orcid.org/0000-0002-6094-6602
; Faculty of Computers and Information, Helwan University, Egypt
Sažetak
Fault localization is considered one of the most challenging activities in the software debugging process. It is vital to guarantee software reliability. Hence, there has been a great demand for automated methods that can pinpoint faults for software developers. Various fault localization techniques that are based on graph mining have been proposed in the literature. These techniques rely on detecting discriminative sub-graphs between failing and passing traces. However, these approaches may not be applicable when the fault does not appear in a discriminative pattern. On the other hand, many approaches focus on selecting potentially faulty program components (statements or predicates) and then ranking these components according to their degree of suspiciousness. One of the difficulties encountered by such approaches is to understand the context of fault occurrence. To address these issues, this paper introduces an approach that helps in analyzing the context of execution traces based on control flow graphs. The proposed approach uses the edge-ranking of basic blocks in software programs using Dstar that proved to be more effective than many fault localization techniques. The proposed method helps in detecting some types of faults that could not be previously detected by many other approaches. Using Siemens benchmark, experiments show the effectiveness of the proposed technique compared to some well-known approaches such as Dstar, Tarantula, SOBER, Cause Transition and Liblit05. The percentage of localized faulty versions versus the percentage of code examined is taken as a measure. For instance, when the percentage of examined code is 30%, the proposed technique can localize nearly 81% of the faulty versions, which outperforms the other four techniques.
Ključne riječi
Bug localization; basic block; control flow graph; edge – ranking
Hrčak ID:
191337
URI
Datum izdavanja:
14.12.2017.
Posjeta: 1.586 *