通过使用静态程序分析和动态堆叠组合在Android应用程序中识别消息链和成员忽略方法的同时出现.
Zhichao Ma1, Yixin Bian2,3, Weijie Chen1
1College of Computer Science and Information Engineering, Harbin Normal University, Harbin, 150025, China.
Scientific reports
|December 19, 2025
概括
检测同时出现的Android代码,像消息链 (MC) 和成员忽视方法 (MIM) 这样的气味至关重要. 我们的新方法显著提高了检测准确度和效率,从而提高了软件的维护能力.
科学领域:
- 软件工程 软件工程 软件工程
- 计算机科学 计算机科学
背景情况:
- 在Android应用程序中的多个代码气味比单个气味更威胁维护能力.
- 现有的研究往往侧重于检测单个代码气味,忽视了共发生.
研究的目的:
- 为了检测流行并发的Android特定代码气味:消息链 (MC) 和成员忽视方法 (MIM).
- 开发一种整合静态分析和集体学习的方法,以改善检测.
主要方法:
- 开发了基于启发式的MC检测静态分析,扩展到MC和MIM同时发生.
- 使用自动样本生成工具 (ASSD) 来标记数据.
- 采用了结合ML和DL模型的向后消除 (DSE-BE) 动态堆叠组合.
主要成果:
- DSE-BE方法显著提高了检测性能.
- 与手动方法相比,F1得分从0.774增加到0.938,MCC从0.623增加到0.874.
- DSE-BE策略的表现优于单个模型,并提高了计算效率.
结论:
- 拟议的方法提供了一个强大的解决方案,用于检测Android应用程序中同时出现的代码气味.
- 这种方法显示出在提高软件质量方面具有强大的实际应用潜力.
相关概念视频
Automatic Processing and Automatic Social Behavior
196
Automatic processing refers to the cognitive operations that occur without conscious intent or awareness, playing a fundamental role in shaping social cognition and behavior. These processes enable individuals to navigate complex social environments efficiently by relying on mental shortcuts and pre-existing knowledge structures known as schemas. One of the most influential mechanisms underlying automatic processing is priming, which subtly activates mental representations through exposure to...
196
Assembly of Signaling Complexes
6.4K
Multiprotein signaling complexes are formed in a dynamic process involving protein-protein interactions at the cytoplasmic domain of transmembrane receptors or enzymatic and non-enzymatic proteins associated with the receptor. These complexes ensure the activation and propagation of intracellular signals that regulate cell functions.
Interaction domains in cell signaling
Interaction domains recognize exposed features of their binding partners containing post-translationally modified sequences,...
Interaction domains in cell signaling
Interaction domains recognize exposed features of their binding partners containing post-translationally modified sequences,...
6.4K
Mass Analyzers: Overview
1.5K
The mass analyzer is a crucial component of the mass spectrometer. In the ionization chamber, the vaporized sample is bombarded with a high-energy electron beam to generate a radical cation and further fragment into neutral molecules, radicals, and cations. A series of negatively charged accelerator plates accelerate the cations into the mass analyzer. The mass analyzer separates ions according to their mass-to-charge (m/z) ratios and then directs them to the detector. The common types of mass...
1.5K
Signal Sequences and Sorting Receptors
14.3K
Signal sequences are short amino acid sequences that guide newly synthesized proteins to their proper location within the cell. Classical signal sequences are fifteen to sixty amino acids long and present at the N-terminus of a polypeptide chain. Each signal sequence has a conserved segment of basic residues towards their N terminus, a hydrophobic core, and a C-terminus rich in polar residues. The C-terminus also contains a signal cleavage site and features a -3 -1 sequence motif. The -3-1...
14.3K
Impression Management Techniques III: Aligning Actions
118
Aligning actions are communicative strategies individuals employ to maintain social harmony and preserve personal identity in the face of potential disruptions to social norms. These actions are particularly important in managing social impressions when one's behavior might be seen as inappropriate, incompetent, or morally questionable.Types of Aligning ActionsThe three principal types of aligning actions are disclaimers, accounts, and apologies.DisclaimersDisclaimers are preventive; they are...
118
Signal Flow Graphs
580
Signal-flow graphs offer a streamlined and intuitive approach to representing control systems, providing an alternative to traditional block diagrams. These graphs use branches to symbolize systems and nodes to represent signals, effectively illustrating the relationships and interactions within the system.
In a signal-flow graph, branches denote the system's transfer functions, while nodes represent the signals. The direction of signal flow is indicated by arrows, with the corresponding...
In a signal-flow graph, branches denote the system's transfer functions, while nodes represent the signals. The direction of signal flow is indicated by arrows, with the corresponding...
580

