A smarter way to catch software bugs
en-GBde-DEes-ESfr-FR

A smarter way to catch software bugs


A research team led by members from The University of Osaka helps develop a new method to pinpoint code changes that introduce software bugs

Osaka, Japan – We all know how frustrating software bugs can be. But finding the exact line of code that caused a bug can be even more frustrating for developers, especially when thousands of changes have been made to the code over time.

The good news is that researchers are working on a solution. In a new article published in IEEE Transactions on Software Engineering, a collaborative team from The University of Osaka, Kyushu University, and the University of Victoria has created a new method called Majority Voting SZZ (MV-SZZ) that helps developers accurately identify the exact code change that introduced a bug.

Software bugs are unavoidable, and fixing these mistakes can take a lot of time and money, particularly in large projects with many contributors. To help with this, developers use the SZZ method, which takes a bug fix and traces the code history to identify the change that likely caused the problem. But the SZZ method is far from perfect.

“The idea behind the original SZZ method is to examine lines of code in their entirety,” says lead author Inase Kondo. “As a result, it can miss small edits or incorrectly blame changes that have nothing to do with the bug.”

Other variations of the SZZ method attempt to improve accuracy by breaking lines of code into smaller pieces, similar to analyzing individual words instead of full sentences. This can help uncover hidden bug sources but can also create confusion by flagging too many changes as possible causes. The MV-SZZ method solves this problem by grouping these smaller pieces together and using a “majority vote” to decide which change is most likely responsible.

“The MV-SZZ method strikes a delicate balance between coarse and fine,” explains senior author Yoshiki Higo. “By combining detailed change tracking with a majority voting mechanism, we are able to significantly lower the false positive rate.”

When the research team compared their method with six existing approaches, they found that MV-SZZ performed the best overall: it found the real sources of bugs very accurately while reducing incorrect matches.

“Even small improvements in accuracy can save developers a lot of time and effort,” says Kondo. “Our results show that majority voting is a simple yet effective way to improve defect tracking.”

By making it easier to find where bugs begin, this research could help developers build more reliable and cost-effective software, leading to smoother apps, safer systems, and most importantly, fewer frustrating glitches for users.
###
The article, “MV-SZZ: A Majority Voting-Based SZZ Method,” was published in IEEE Transactions on Software Engineering at https://doi.ieeecomputersociety.org/10.1109/TSE.2026.3688089

About The University of Osaka
The University of Osaka was founded in 1931 as one of the seven imperial universities of Japan and is now one of Japan's leading comprehensive universities with a broad disciplinary spectrum. This strength is coupled with a singular drive for innovation that extends throughout the scientific process, from fundamental research to the creation of applied technology with positive economic impacts. Its commitment to innovation has been recognized in Japan and around the world. Now, The University of Osaka is leveraging its role as a Designated National University Corporation selected by the Ministry of Education, Culture, Sports, Science and Technology to contribute to innovation for human welfare, sustainable development of society, and social transformation.
Website: https://resou.osaka-u.ac.jp/en
Title: MV-SZZ: A Majority Voting-Based SZZ Method
Journal: IEEE Transactions on Software Engineering
Authors: Inase Kondo, Masanari Kondo, Daniel M. German, Yasutaka Kamei, and Yoshiki Higo
DOI: 10.1109/TSE.2026.3688089
Funded by: Japan Society for the Promotion of Science
Related links:
HIGO LAB
Department of Computer Science, Graduate School of Information Science and Technology, The University of Osaka
https://sel.ist.osaka-u.ac.jp/index.html.en
Attached files
  • Fig. 1 Overview of MV-SZZ©CC BY-NC, 2026, Inase Kondo et al., MV-SZZ: A Majority Voting-Based SZZ Method, IEEE Transactions on Software Engineering
  • Fig. 2 Example of the majority voting process©CC BY-NC, 2026, Inase Kondo et al., MV-SZZ: A Majority Voting-Based SZZ Method, IEEE Transactions on Software Engineering
Regions: Asia, Japan, North America, United States
Keywords: Applied science, Artificial Intelligence, Computing

Disclaimer: AlphaGalileo is not responsible for the accuracy of content posted to AlphaGalileo by contributing institutions or for the use of any information through the AlphaGalileo system.

Testimonials

For well over a decade, in my capacity as a researcher, broadcaster, and producer, I have relied heavily on Alphagalileo.
All of my work trips have been planned around stories that I've found on this site.
The under embargo section allows us to plan ahead and the news releases enable us to find key experts.
Going through the tailored daily updates is the best way to start the day. It's such a critical service for me and many of my colleagues.
Koula Bouloukos, Senior manager, Editorial & Production Underknown
We have used AlphaGalileo since its foundation but frankly we need it more than ever now to ensure our research news is heard across Europe, Asia and North America. As one of the UK’s leading research universities we want to continue to work with other outstanding researchers in Europe. AlphaGalileo helps us to continue to bring our research story to them and the rest of the world.
Peter Dunn, Director of Press and Media Relations at the University of Warwick
AlphaGalileo has helped us more than double our reach at SciDev.Net. The service has enabled our journalists around the world to reach the mainstream media with articles about the impact of science on people in low- and middle-income countries, leading to big increases in the number of SciDev.Net articles that have been republished.
Ben Deighton, SciDevNet

We Work Closely With...


  • The Research Council of Norway
  • SciDevNet
  • Swiss National Science Foundation
  • iesResearch
Copyright 2026 by AlphaGalileo Terms Of Use Privacy Statement