In recent years, the software industry has invested substantial effort to improve software quality in organizations. Applying proactive software defect prediction will help developers and white box testers to find the defects earlier, and this will reduce the time and effort. Traditional software defect prediction models concentrate on traditional features of source code including code complexity, lines of code, etc. However, these features fail to extract the semantics of source code. In this research, we propose a hybrid model that is called CBIL. CBIL can predict the defective areas of source code. It extracts Abstract Syntax Tree (AST) tokens as vectors from source code. Mapping and word embedding turn integer vectors into dense vectors. Then, Convolutional Neural Network (CNN) extracts the semantics of AST tokens. After that, Bidirectional Long Short-Term Memory (Bi-LSTM) keeps key features and ignores other features in order to enhance the accuracy of software defect prediction. The proposed model CBIL is evaluated on a sample of seven open-source Java projects of the PROMISE dataset. CBIL is evaluated by applying the following evaluation metrics: -measure and area under the curve (AUC). The results display that CBIL model improves the average of -measure by 25% compared to CNN, as CNN accomplishes the top performance among the selected baseline models. In average of AUC, CBIL model improves AUC by 18% compared to Recurrent Neural Network (RNN), as RNN accomplishes the top performance among the selected baseline models used in the experiments.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC8627227PMC
http://dx.doi.org/10.7717/peerj-cs.739DOI Listing

Publication Analysis

Top Keywords

software defect
16
defect prediction
16
source code
16
neural network
12
hybrid model
8
model cbil
8
convolutional neural
8
network cnn
8
bidirectional long
8
long short-term
8

Similar Publications

Anorexia nervosa (AN) and obsessive-compulsive disorder (OCD) often share multiple similar symptoms and are highly comorbid; however, the common and distinct brain neuroanatomy of these two diseases are unclear. The current study attempted to identify the overlapping and different gray matter volume (GMV) between AN and OCD. We conducted a voxel-wise meta-analysis of GMV using the latest Seed-based d Mapping with Permutation of Subject Images Toolbox (SDM-PSI) software.

View Article and Find Full Text PDF

Objectives: This study evaluates the potential of pulp volume/total tooth-volume measurements of canine teeth in relation to chronologic age in patients with cleft lip and palate (CLP). The significance of this study lies in its exploration of the usability of these measurements for age determination in CLP patients, providing a novel perspective to the existing literature.

Methods: Cone beam computed tomography images of 33 patients (16 females, 17 males) with unilateral CLP aged 14-45 years and 33 age- and sex-matched healthy individuals (16 females, 17 males) were retrospectively evaluated.

View Article and Find Full Text PDF

A recurrent variant c.5126C>T in a Han-Chinese family with tuberous sclerosis complex.

Pak J Med Sci

January 2025

Lamei Yuan, MD, PhD, Health Management Center, the Third Xiangya Hospital, Disease Genome Research Center, Center for Experimental Medicine, the Third Xiangya Hospital, Research Center of Medical Experimental Technology, the Third Xiangya Hospital, Xiangya School of Medicine, Central South University, Changsha 410013, Hunan, China.

Objective: To identify the disease-causing variant in a family with tuberous sclerosis complex (TSC).

Methods: This study including a Han-Chinese pedigree recruited from the Third Xiangya Hospital, Central South University, Changsha, Hunan, China was conducted between February, 2019 and January, 2023. Detailed clinical examinations were performed on the proband and other family members of a Han-Chinese family with TSC.

View Article and Find Full Text PDF

Aims: To verify the possible association between the stomatognathic and the visual system by analyzing the effects that different mandibular postures may have on the accommodative capacity and ocular convergence and by assessing whether temporomandibular disorders (TMD) can influence visual abilities.

Materials And Methods: A case-control study was performed during a 1-year period on a sample of 100 subjects (50 cases and 50 controls). The subjects underwent a gnathological examination, and two visual tests were performed in three different jaw positions: maximum intercuspation, resting position, and open mouth.

View Article and Find Full Text PDF

The growing demand for efficient, stable, and environmentally friendly photovoltaic technologies has motivated the exploration of nontoxic perovskite materials such as KGeCl. However, the performance of KGeCl-based perovskite solar cells (PSCs) depends heavily on the compatibility of charge transport layers (CTLs) and optimization of device parameters. In this study, six PSC configurations were simulated using SCAPS-1D software, incorporating CTLs such as Alq, CSTO, VO, PB, and SbS.

View Article and Find Full Text PDF

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!