paperbot · PL 论文追踪

全部论文 待读 收藏

P2 JDetect: A Fine-Grained Detecting Method for Java Source SCA by Fusing Behavioral and Code Features

JDetect:融合行为与代码特征的Java源码软件成分分析细粒度检测方法
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 1/10 · 该论文研究Java源码软件成分分析(SCA),通过代码与开发者行为特征检测OSS复用,属于软件供应链安全方向,与用户关注的PL与AI/LLM交叉、浮点程序分析或贝叶斯程序分析无直接关联。虽然涉及程序分析且强调工业验证,但研究目标和方法均不匹配。引用 0 inbox
Guisheng Fan, Shulin Liu, Wentao Chen, Huiqun Yu, Huan Wang, Diwen Shi
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出JDetect,融合代码与开发者行为特征,实现Java源码OSS复用组件的细粒度检测与提交级追踪。

开源复用关系识别是软件供应链管理的前提,源码软件成分分析(SSCA)通过分析仓库源码来发现此类关系。但现有SSCA方法缺乏针对Java语言的工业验证,常依赖单一版本特征并忽略开发者集成习惯,导致检测鲁棒性差、可追溯性有限。为此,本文提出JDetect,一种融合行为特征与代码特征的Java SSCA方法。JDetect从开源函数中提取多维代码特征以构建组件数据库,并结合哈希指纹、向量排序与开发者行为模式,检测复用组件并在commit级别进行追踪。在真实工业Java项目上的实验表明,JDetect识别OSS组件的F1值为85.41%,较基线提升约10%;在OSS追踪任务中,97.47%的识别组件可被追踪到最优位置;平均每个仓库检测时间为66.74秒。

问题
现有Java源码软件成分分析(SSCA)方法缺乏工业验证,依赖单一版本特征并忽略开发者集成习惯,导致OSS复用检测鲁棒性差且可追溯性有限。
方法
JDetect从开源函数提取多维代码特征构建组件库,融合哈希指纹、向量排序和开发者行为模式,在commit级别检测并追踪复用组件。
评估
在真实工业Java项目上评估组件识别、追踪和效率;组件识别F1达85.41%,较基线提升约10%,97.47%的组件追踪到最优位置,平均每仓库检测66.74秒。
原文摘要(Abstract)

Accurate identification of open-source software (OSS) reuse relationships is a prerequisite for effective software supply chain management. Source software composition analysis (SSCA) techniques analyze repository source code to identify such relationships. However, existing SSCA methods lack industrial validation for the Java language. They typically rely on single version-based features, and neglect developers' integration habits. These limitations lead to poor detection robustness and limited traceability. To address these issues, we propose JDetect, a Java SSCA method that fuses behavioral and code features for fine-grained traceability. JDetect extracts multi-dimensional code features from OSS functions to construct a component database. JDetect combines hash fingerprints, vector sorting, and developer behavior patterns to detect reused components and trace them at the commit level. Experimental results on real-world industrial Java projects show that JDetect achieves an F1 score of 85.41% in OSS component identification, representing an improvement of approximately 10% over the baseline. In the OSS tracking task, 97.47% of the identified components are traced to their optimal locations. In addition, JDetect demonstrates high efficiency, with an average detection time of 66.74 seconds per repository. Overall, JDetect provides a precise and efficient SSCA solution for managing software supply chains in industrial settings.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{FanLCYWS26,
  title = {JDetect: A Fine-Grained Detecting Method for Java Source SCA by Fusing Behavioral and Code Features},
  author = {Guisheng Fan and Shulin Liu and Wentao Chen and Huiqun Yu and Huan Wang and Diwen Shi},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3805233}
}