Pith. sign in

REVIEW 2 cited by

LLMorpheus: Mutation Testing using Large Language Models

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2404.09952 v2 pith:OZADMDLS submitted 2024-04-15 cs.SE

classification cs.SE
keywords mutationtestingllmorpheusprogramapproachesbugscannotevaluated
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

In mutation testing, the quality of a test suite is evaluated by introducing faults into a program and determining whether the program's tests detect them. Most existing approaches for mutation testing involve the application of a fixed set of mutation operators, e.g., replacing a "+" with a "-", or removing a function's body. However, certain types of real-world bugs cannot easily be simulated by such approaches, limiting their effectiveness. This paper presents a technique for mutation testing where placeholders are introduced at designated locations in a program's source code and where a Large Language Model (LLM) is prompted to ask what they could be replaced with. The technique is implemented in LLMorpheus, a mutation testing tool for JavaScript, and evaluated on 13 subject packages, considering several variations on the prompting strategy, and using several LLMs. We find LLMorpheus to be capable of producing mutants that resemble existing bugs that cannot be produced by StrykerJS, a state-of-the-art mutation testing tool. Moreover, we report on the running time, cost, and number of mutants produced by LLMorpheus, demonstrating its practicality.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Mutation-Guided LLM-based Test Generation at Meta

    cs.SE 2025-01 conditional novelty 6.0 of 10

    ACH generates concern-specific mutants and tests that kill them; its industrial deployment shows 73% engineer acceptance and 36% privacy relevance.

  2. PRIMG : Efficient LLM-driven Test Generation Using Mutant Prioritization

    cs.SE 2025-05 reject novelty 4.0 of 10

    PRIMG combines mutant prioritization with LLM-based iterative test refinement, and its evaluation on three Solidity projects suggests prioritized mutant targeting yields more killed mutants than random targeting.

Pith tools