Monday, September 8, 2025
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Mathematics

IMDEA Software creates FIXCHECK, a novel approach that improves automatic software repair by generating test cases revealing defects in 62% of incorrect patches

July 23, 2024
in Mathematics
Reading Time: 3 mins read
0
66
SHARES
599
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

IMDEA Software researchers Facundo Molina, Juan Manuel Copia and Alessandra Gorla present FIXCHECK, a novel approach to improve patch fix analysis that combines static analysis, randomized testing and large language models. Their innovations, embodied in the paper: “Improving Patch Correctness Analysis via Random Testing and Large Language Models” were presented at the International Conference on Software Testing, Verification and Validation (ICST 2024).

IMDEA Software researchers Facundo Molina, Juan Manuel Copia and Alessandra Gorla present FIXCHECK, a novel approach to improve patch fix analysis that combines static analysis, randomized testing and large language models. Their innovations, embodied in the paper: “Improving Patch Correctness Analysis via Random Testing and Large Language Models” were presented at the International Conference on Software Testing, Verification and Validation (ICST 2024).

Context

Generating patches that fix software defects is a crucial task in the maintenance of software systems. Typically, software defects are reported via test cases, which unveil undesirable behaviors in the software. 

In response to these defects, developers create patches that must undergo validation before being committed to the codebase, ensuring that the test provided no longer exposes the defect. However, patches may still fail to effectively address the underlying bug or introduce new bugs, resulting in what is known as bad fixes or incorrect patches. 

The detection of these incorrect patches can significantly impact the time and effort spent on bug fixes by developers and the overall maintenance of software systems. 

The study

Automatic program repair (APR) provides software developers with tools capable of automatically generating patches for buggy programs. However, their use has uncovered numerous incorrect patches that fail to address the bug.

To tackle this problem, researchers at IMDEA Software have created FIXCHECK, a novel approach for improving the output of patch correctness analyses that combines static analysis, random testing and large language models (LLMs) to automatically generate tests to detect bugs in potentially incorrect patches. FIXCHECK employs a two-step process. The first step consists of generating random tests, obtaining a large set of test cases. The second step is based on the use of large language models, from which meaningful assertions are derived for each test case.

In addition, FIXCHECK includes a selection and prioritization mechanism that executes new test cases on the patched program and then discards or ranks these tests based on their probability of revealing bugs in the patch.

“The effectiveness of FIXCHECK in generating test cases that reveal bugs in incorrect patches was evaluated on 160 patches, including both developer-created patches and patches generated by RPA tools” states Facundo Molina, postdoctoral researcher at Institute IMDEA Software. 

The results show that FIXCHECK can effectively generate bug detection tests for 62% of incorrect developer-written patches, with a high degree of confidence. In addition, it complements existing patch fix evaluation techniques by providing test cases that reveal bugs for up to 50% of incorrect patches identified by state-of-the-art techniques.

FIXCHECK represents a significant advance in the field of software repair and maintenance by providing a robust solution for automating test generation and detecting faults during software maintenance. This approach not only improves the effectiveness of patch validation, but also promotes wider adoption of automated program repair methods.

**This work was funded by the Madrid regional government program S2018/TCS-4339 (BLOQUES-CM) and by the Span- ish Governement MCIN/AEI/10.13039/501100011033/ERDF through grants TED2021-132464B-I00 (PRODIGY) and PID2022-142290OB-I00 (ESPADA). Those projects are co- funded by European Union ESF, EIE, and NextGeneration funds.



DOI

10.5281/zenodo.10498173

Share26Tweet17
Previous Post

U.S. homicides by firearms concentrated among Black youth before, during, and after the start of COVID-19 pandemic

Next Post

Researchers led by Rice’s James Tour develop more environmentally friendly and cost-effective method for soil remediation

Related Posts

Mathematics

Hunting for the Ideal Fold? The Challenge Unfolds

September 5, 2025
blank
Mathematics

Mathematics: Manuel Krannich Awarded Prestigious ERC Starting Grant

September 5, 2025
blank
Mathematics

Exploring Language Learning Strategies Among Japanese STEM University Students

September 4, 2025
blank
Mathematics

Rice Algorithms Challenge Quantum Adversaries

September 3, 2025
blank
Mathematics

New Unified Tool Created for Quantum and Supercomputer Systems

September 3, 2025
blank
Mathematics

Innovative Attack Redefines the Fundamentals of Bitcoin Mining

September 2, 2025
Next Post
Researchers led by Rice’s James Tour develop more environmentally friendly and cost-effective method for soil remediation

Researchers led by Rice’s James Tour develop more environmentally friendly and cost-effective method for soil remediation

  • Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27545 shares
    Share 11015 Tweet 6884
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    961 shares
    Share 384 Tweet 240
  • Bee body mass, pathogens and local climate influence heat tolerance

    643 shares
    Share 257 Tweet 161
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    510 shares
    Share 204 Tweet 128
  • Warm seawater speeding up melting of ‘Doomsday Glacier,’ scientists warn

    313 shares
    Share 125 Tweet 78
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Vientovirus Protein Mimics Autoantigens, Fuels Sjögren’s Disease
  • Spinning Particles Orbit Magnetized Black Hole

  • Frailty Drives Gut Microbiome Imbalance and Heightens Post-Surgical GI Risks
  • Researchers Discover Breakthrough Method to Separate Economic Growth from Pollution in Developing Nations

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Success! An email was just sent to confirm your subscription. Please find the email now and click 'Confirm Follow' to start subscribing.

Join 5,183 other subscribers

© 2025 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2025 Scienmag - Science Magazine