Saturday, August 16, 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
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

Students’ Imaging Tool Enables Sharper Detection, Earlier Warnings from Lab to Space

August 15, 2025
blank
Mathematics

Meta-Analysis Suggests Helicobacter pylori Eradication Could Increase Risk of Reflux Esophagitis

August 14, 2025
blank
Mathematics

Innovative Few-Shot Learning Model Boosts Accuracy in Crop Disease Detection

August 13, 2025
blank
Mathematics

Scientists Unveil Mathematical Model Explaining ‘Matrix Tides’ and Complex Wave Patterns in Qiantang River

August 12, 2025
blank
Mathematics

Enhancing Medical Imaging with Advanced Pixel-Particle Analogies

August 12, 2025
blank
Mathematics

Brain-Inspired Devices Become Reality Through Neuromorphic Technology and Machine Learning

August 12, 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

    27534 shares
    Share 11010 Tweet 6882
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    948 shares
    Share 379 Tweet 237
  • Bee body mass, pathogens and local climate influence heat tolerance

    641 shares
    Share 256 Tweet 160
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    507 shares
    Share 203 Tweet 127
  • Warm seawater speeding up melting of ‘Doomsday Glacier,’ scientists warn

    311 shares
    Share 124 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

  • Rising Hydrological Extremes Heighten US Community Vulnerability
  • Mount Sinai Reinstated as Official Medical Services Provider for US Open Tennis Championships
  • Saudi Archaeology and Predicting Pro-Environmental Intentions
  • Breakthrough Cancer Drug Eradicates Aggressive Tumors in Clinical Trial

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • 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

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4,859 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

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading