Software maintenance and evolution account for approximately 90% of the software development process (e.g., implementation, testing, and maintenance). Bug triaging refers to an activity where developers diagnose, fix, test, and document bug reports during software development and maintenance to improve the speed of bug repair and project progress. However, the large number of bug reports submitted daily increases the triaging workload, and open-source software has a long maintenance cycle. Meanwhile, the developer activity is not stable and changes significantly during software development. Hence, we propose a novel bug triaging model known as auto bug triaging via deep reinforcement learning (BT-RL), which comprises two models: a deep multi-semantic feature (DMSF) fusion model and an online dynamic matching (ODM) model. In the DMSF model, we extract relevant information from bug reports to obtain high-quality feature representation. In the ODM model, through bug report analysis and developer activities, we use a strategy based on the reinforcement learning framework, through which we perform training while learning and recommend developers for bug reports. Extensive experiments on open-source datasets show that the BT-RL method outperforms state-of-the-art methods in bug triaging.
Bug tracking systems, such as Bugzilla, contain bug reports collected from sources such as development teams, testing teams and end users. Developers often depend on bug reports to fix identified bugs. Frequently used bug reports are the so-called severe bug reports. Although severe bug reports can be manually detected within bug reports in bug tracking systems, they impose heavy burdens on management of bug tracking systems. Consequently, an automated mechanism to examine the severity of bug reports is desirable to augment productivity. Unfortunately, identifying the severity of bug reports from thousands of bug reports in a bug tracking system is not an easy feat, because of the problem of low-quality and imbalance distributions that could affect the performance of automated mechanisms. In this paper, we propose an approach, namely FER, to counter low-quality and imbalanced distributions of bug reports relative to their severity. First, FER approach gets high-quality bug reports based on instance fuzzy entropy. Then, FER approach weakens the imbalancedness degree of class distribution according to the high-quality bug reports to train classifiers to recognize the severity of bug reports. Several experiments are conducted on bug reports from three open source projects (Eclipse, Mozilla, GNOME) and they reveal that our approach is robust against the low-quality and imbalance distributions of bug reports, while identifying the severity of bug reports.
Currently, software projects require a significant amount of time, effort and other resources to be invested in software testing to reduce the number of code defects. However, this process decreases the efficiency of software development and leads to a significant waste of workforce and resources. To address this challenge, researchers developed various solutions utilising deep neural networks. However, these solutions are frequently challenged by issues, such as a vast vocabulary, network training difficulties and elongated training processes resulting from the handling of redundant information. To overcome these limitations, the authors proposed a new neural network-based model named HopFix, designed to detect software defects that may be introduced during the coding process. HopFix consists of four parts: data preprocessing, encoder, decoder and code generation components, which were used for preprocessing data, extracting information about software defects, analysing defect information, generating software patches and controlling the generation process of software patches, respectively. Experimental studies on Bug-Fix Pairs (BFP) show that HopFix correctly fixed 47.2% (BFP small datasets) and 25.7% (BFP medium datasets) of software defects.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.