用混合深度学习模型进行软件缺陷预测的语义和传统功能融合
Ahmed Abdu1, Zhengjun Zhai2,3, Hakim A Abdo4
1School of Software, Northwestern Polytechnical University, Xi'an, 710072, China.
Scientific reports
|July 1, 2024
概括
这项研究介绍了一种混合深度学习模型,集成传统和语义软件功能,以改进缺陷预测. 这种新的方法显著提高了预测准确性,超过了现有的方法.
科学领域:
- 软件工程 软件工程 软件工程
- 人工智能的人工智能
- 机器学习 机器学习
背景情况:
- 传统的软件缺陷预测模型依赖于代码指标,这些指标往往无法捕捉到基本的语义细微差别.
- 语义特征虽然有洞察力,但缺乏代码大小和复杂性等统计指标,限制了它们独立的有效性.
- 整合两种特征类型对于强大的缺陷预测至关重要.
研究的目的:
- 提出一种新的缺陷预测模型,可以协同结合传统和语义软件功能.
- 为了解决在软件缺陷预测中使用单个特征类型的局限性.
- 为了提高预测软件缺陷的准确性和可靠性.
主要方法:
- 开发了一种混合深度学习模型,即卷积神经网络 (CNN) - 多层感知器 (MLP).
- 美国有线电视新闻网 (CNN) 使用Word2vec.vec从抽象语法树 (AST) 中提取的语义特征进行处理.
- MLP处理了传统特征,并将输出集成为最终的缺陷预测.
主要成果:
- 拟议的CNN-MLP模型在软件缺陷预测性能方面取得了显著的改进.
- 在开源项目上的广泛实验验证实了该模型的有效性.
- 在非精力意识和精力意识的场景中,CNN-MLP方法在现有方法中表现出色.
结论:
- 通过混合深度学习方法整合传统和语义特征对于软件缺陷预测非常有效.
- 与现有技术相比,CNN-MLP模型为识别软件缺陷提供了更好的解决方案.
- 这项研究为软件工程师提供了一种更可靠的方法,用于为高质量的软件发布分配资源.
相关概念视频
Functional Classification of Joints
4.0K
Functional Classification of Joints
The functional classification of joints is determined by the amount of mobility between the adjacent bones. Joints are functionally classified as a synarthrosis or immobile joint, an amphiarthrosis or slightly moveable joint, or as a diarthrosis, a freely moveable joint. Fibrous and cartilaginous joints can be functionally classified as either synarthroses or amphiarthroses, whereas all synovial joints are classified as diarthroses.
Synarthrosis
An...
The functional classification of joints is determined by the amount of mobility between the adjacent bones. Joints are functionally classified as a synarthrosis or immobile joint, an amphiarthrosis or slightly moveable joint, or as a diarthrosis, a freely moveable joint. Fibrous and cartilaginous joints can be functionally classified as either synarthroses or amphiarthroses, whereas all synovial joints are classified as diarthroses.
Synarthrosis
An...
4.0K
Improving Translational Accuracy
10.0K
Base complementarity between the three base pairs of mRNA codon and the tRNA anticodon is not a failsafe mechanism. Inaccuracies can range from a single mismatch to no correct base pairing at all. The free energy difference between the correct and nearly correct base pairs can be as small as 3 kcal/ mol. With complementarity being the only proofreading step, the estimated error frequency would be one wrong amino acid in every 100 amino acids incorporated. However, error frequencies observed in...
10.0K
Structural Classification of Joints
3.3K
Joints, also known as articulations, are classified based on their structural characteristics, i.e., based on whether the articulating surfaces of the adjacent bones are directly connected by fibrous connective tissue or cartilage, or whether the articulating surfaces contact each other within a fluid-filled joint cavity. These differences serve to divide the joints of the body into three structural classifications.
A fibrous joint is where the adjacent bones are united by fibrous connective...
A fibrous joint is where the adjacent bones are united by fibrous connective...
3.3K
Aggregates Classification
317
Aggregate classification is generally based on its size, petrographic characteristics, weight, and source. Size classification ranges from coarse to fine aggregates, defined by the size of the particles. Coarse aggregates are particles that do not pass through ASTM sieve No. 4, and aggregates that pass through the sieve are fine aggregates.
Petrographic classification groups aggregates based on common mineralogical characteristics. Some of the common mineral groups found in aggregates are...
Petrographic classification groups aggregates based on common mineralogical characteristics. Some of the common mineral groups found in aggregates are...
317
Force Classification
1.2K
Forces play a crucial role in the study of physics and engineering. They are essential in describing the motion, behavior, and equilibrium of objects in the physical world. Forces can be classified based on their origin, type, and direction of action.
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
1.2K
Classification of Systems-I
179
Linearity is a system property characterized by a direct input-output relationship, combining homogeneity and additivity.
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
179


