DyTSSAM: A Dynamic Dependency Analysis Model Based on DAST

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.

Authors

Institutions

Publication Details

Journal
Electronics
Published
2025-11-14
DOI
https://doi.org/10.3390/electronics14224443
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

DyTSSAM: A Dynamic Dependency Analysis Model Based on DAST

Ying Jiang, Y. M. Zhao, Peilin Huang
Electronics
Software Engineering Research
article

DyTSSAM: A Dynamic Dependency Analysis Model Based on DAST

Ying Jiang, Y. M. Zhao, Peilin Huang
article en

Abstract

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.

ElectronicsVol. 14(22)
Kunming University of Science and Technology (CN)
Openalex Percentile: Top 52%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.