AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Submit Manuscript
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Regular Paper

Coverage-Based Fault Localization in Haskell

Key Laboratory of High Confidence Software Technologies (Peking University), Ministry of Education, Beijing 100871China
Department of Computer Science, University of Bristol, Bristol BS81UB, U.K.
Show Author Information

Abstract

Fault localization is to identify faulty program elements. Among a large number of fault localization approaches in the literature, coverage-based fault localization, especially spectrum-based fault localization (SBFL), has been intensively studied due to its effectiveness and lightweightness. Despite the rich literature, almost all existing fault localization approaches and studies have been conducted on imperative programming languages such as Java and C, leaving a gap in other programming paradigms. In this paper, we aim to study fault localization approaches for the functional programming paradigm, using the Haskell language as a representative. To the best of our knowledge, we build up the first dataset on real Haskell projects, including both real and seeded faults. The dataset enables the research of fault localization for functional languages. With it, we explore fault localization techniques for Haskell. In particular, as is typical for SBFL approaches, we study methods for coverage collection and formulae for suspiciousness score computation, and carefully adapt these two components to Haskell considering the language features and characteristics, resulting in a series of adaption approaches. Moreover, we design a learning-based approach and a transfer learning based approach to take advantage of data from imperative languages. Both approaches are evaluated on our dataset to demonstrate the promises of the direction.

Electronic Supplementary Material

Download File(s)
JCST-2211-12967-Highlights.pdf (176.1 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 158-177

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Li F, Wang G-Q, Wang M, et al. Coverage-Based Fault Localization in Haskell. Journal of Computer Science and Technology, 2025, 40(1): 158-177. https://doi.org/10.1007/s11390-024-2967-1

611

Views

1

Crossref

0

Web of Science

0

Scopus

0

CSCD

Received: 14 November 2022
Accepted: 04 December 2024
Published: 23 February 2025
© Institute of Computing Technology, Chinese Academy of Sciences 2025