DyTSSAM: A Dynamic Dependency Analysis Model Based on DAST.

Uložené v:
Podrobná bibliografia
Názov: DyTSSAM: A Dynamic Dependency Analysis Model Based on DAST.
Autori: Zhao, Yuxiang, Jiang, Ying, Huang, Peifeng
Zdroj: Electronics (2079-9292); Nov2025, Vol. 14 Issue 22, p4443, 29p
Predmety: SOFTWARE maintenance, GRAPH neural networks, DATA analytics, COMPUTER software development
Abstrakt: Program dependence analysis plays a fundamental role in program comprehension, software maintenance, and defect detection. However, existing static approaches—such as those based on Program Dependence Graphs or Abstract Syntax Trees—struggle to model fine-grained syntactic changes and fail to capture how dependencies evolve as code changes over time. To address these limitations, this study proposes DyTSSAM, a dynamic dependency analysis model built upon the Dynamic Abstract Syntax Tree (DAST). DyTSSAM decomposes DAST into temporally ordered change subtrees to capture the minimal syntactic units of code evolution, and incorporates local–global dependency analysis to enrich node representations with heterogeneous dependency information. The model further integrates a dynamic structural-syntax layer and a temporal-semantic layer, which jointly learn dynamic syntactic structures and temporal dependency patterns through a dynamic graph neural network. Experiments conducted on real-world datasets compare DyTSSAM with seven state-of-the-art dynamic graph neural networks. Results demonstrate that DyTSSAM achieves significantly higher AUC and AP scores, improves fine-grained modeling of node- and subtree-level dependencies, and exhibits greater sensitivity in capturing dependency evolution throughout code changes. To support reproducibility and enable future research, the complete datasets, preprocessing code, and model implementation are publicly available on GitHub. These findings suggest that DyTSSAM provides an effective and scalable framework for dynamic program dependence analysis. [ABSTRACT FROM AUTHOR]
Copyright of Electronics (2079-9292) is the property of MDPI and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)
Databáza: Complementary Index
Popis
Abstrakt:Program dependence analysis plays a fundamental role in program comprehension, software maintenance, and defect detection. However, existing static approaches—such as those based on Program Dependence Graphs or Abstract Syntax Trees—struggle to model fine-grained syntactic changes and fail to capture how dependencies evolve as code changes over time. To address these limitations, this study proposes DyTSSAM, a dynamic dependency analysis model built upon the Dynamic Abstract Syntax Tree (DAST). DyTSSAM decomposes DAST into temporally ordered change subtrees to capture the minimal syntactic units of code evolution, and incorporates local–global dependency analysis to enrich node representations with heterogeneous dependency information. The model further integrates a dynamic structural-syntax layer and a temporal-semantic layer, which jointly learn dynamic syntactic structures and temporal dependency patterns through a dynamic graph neural network. Experiments conducted on real-world datasets compare DyTSSAM with seven state-of-the-art dynamic graph neural networks. Results demonstrate that DyTSSAM achieves significantly higher AUC and AP scores, improves fine-grained modeling of node- and subtree-level dependencies, and exhibits greater sensitivity in capturing dependency evolution throughout code changes. To support reproducibility and enable future research, the complete datasets, preprocessing code, and model implementation are publicly available on GitHub. These findings suggest that DyTSSAM provides an effective and scalable framework for dynamic program dependence analysis. [ABSTRACT FROM AUTHOR]
ISSN:20799292
DOI:10.3390/electronics14224443