Monday, August 4, 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 Technology and Engineering

Researchers speed up fault localization during software development

July 31, 2024
in Technology and Engineering
Reading Time: 3 mins read
0
Researchers speed up fault localization during software development
65
SHARES
592
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

Modern software applications usually consist of numerous files and several million lines of code. Due to the sheer quantity, finding and correcting faults, known as debugging, is difficult. In many software companies, developers still search for faults manually – something which takes up a large proportion of their working time. Studies indicate that this accounts for between 30 and 90 per cent of the total development time. Birgit Hofer and Thomas Hirsch from the Institute of Software Technology at Graz University of Technology (TU Graz) have developed a solution based on existing natural language processing methods and metrics that can greatly speed up the process of finding faulty code and thus debugging.

Fault localization uses up the most time

“As a first step, we conducted surveys among developers to find out what the biggest time wasters are when debugging. It turned out that the actual bug fixing is not the big problem at all, but that programmers mainly get bogged down with locating faults, i.e. narrowing down the search to the right area in the program code,” explains Birgit Hofer.

Based on this realisation, the researchers set about finding a solution to this problem which is also scalable to applications with a lot of code. Although there are efficient model-based approaches in which a program is converted into a logical representation (referred to as a model), this only works for small programs. This is because the computing effort increases exponentially with the size of the code. The approach taken up by Birgit Hofer and Thomas Hirsch represents certain software properties in numbers – for example the readability or complexity of code – and can also be used for large amounts of code, as the computational effort only increases linearly.

ADVERTISEMENT

Comparison of bug description and code

The starting point for fault localization is the bug report, for which testers or users fill out a form in which they describe the observed failure and enter information about the software version, their operating system, the steps they took before the failure occured and other relevant information. Based on this bug report, the combination of natural language processing and metrics analyses the entire code with regard to classes and the names of variables, files, methods or functions and the calls to methods and functions. The application identifies code sections that best correspond to the bug report. As a result, the developers receive a list of five to ten files ranked according to the probability of their being responsible for the observed failure. The developers also receive information on the type of fault that is most likely to be involved. This data can be used to locate and fix the bug more quickly.

“The working time of software developers is expensive, yet they often spend more of this expensive time locating and fixing bugs than developing new features,” says Birgit Hofer. “As there are already a number of approaches to eradicating this problem, we have investigated how we can combine and improve them so that there is a basis for commercial application. We have now laid the foundations and the system works. However, in order to integrate it into a company, it would still have to be adapted to the company’s respective needs.”

The debugging system is available via the “GitHub“ platform. On the project website the papers and repositories associated with this research can be found.

This research is anchored in the Austrian Science Fund (FWF) project “Amadeus” (https://doi.org/10.55776/P32653) and is anchored in the Field of Expertise Information, Communication & Computing, one of five strategic research foci at TU Graz.

Share26Tweet16
Previous Post

Newly discovered sheets of nanoscale “cubes” make excellent catalysts

Next Post

Surprising finding in glioblastomas:

Related Posts

blank
Technology and Engineering

AI Models Reveal Microplastics in Neuse River Basin

August 4, 2025
blank
Technology and Engineering

Tree Scarcity Hits African Informal City Settlements

August 4, 2025
blank
Technology and Engineering

Microplastics Found in Human Feces: Dietary Links Explored

August 4, 2025
blank
Technology and Engineering

Chip-Based Label-Free Incoherent Super-Resolution Microscopy

August 4, 2025
blank
Technology and Engineering

Debating Microplastics in Blood: New Analysis Sparks Discussion

August 4, 2025
blank
Technology and Engineering

Baseline Microplastics Mask Added Fertilizer Impact

August 4, 2025
Next Post
Surprising finding in glioblastomas:

Surprising finding in glioblastomas:

  • 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

    27529 shares
    Share 11008 Tweet 6880
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    938 shares
    Share 375 Tweet 235
  • Bee body mass, pathogens and local climate influence heat tolerance

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

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

    310 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

  • Social Sciences’ 20th Century Challenge: Geertz’s Insight
  • AI Models Reveal Microplastics in Neuse River Basin
  • New Species of Ancient Marine Reptile Unearthed in Germany’s Renowned Jurassic Fossil Sites
  • Sleep Duration, Depression, and Mortality Links

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 5,184 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