Enhancing Source Code Representations for Deep Learning with Static Analysis


연구 분야: Strategies



학회: 2024 IEEE/ACM 32nd International Conference on Program Comprehension (ICPC)


초록

Deep learning techniques applied to program analysis tasks such as code classification, summarization, and bug detection have seen widespread interest. Traditional approaches, however, treat programming source code as natural language text, which may neglect significant structural or semantic details. Additionally, most current methods of representing source code focus solely on the code, without considering beneficial additional context. This paper explores the integration of static analysis and additional context such as bug reports and design patterns into source code representations for deep learning models. We use the Abstract Syntax Tree-based Neural Network (ASTNN) method and augment it with additional context information obtained from bug reports and design patterns, creating an enriched source code representation that significantly enhances the performance of common software engineering tasks such as code classification and code clone detection. Utilizing existing open-source code data, our approach improves the representation and processing of source code, thereby improving task performance.CCS CONCEPTS• Software and its engineering • Programming languages


Author Profile
Xueting Guan

School of Computing and Information Systems The University of Melbourne Melbourne Australia

Andorra
Author Profile
Christoph Treude

School of Computing and Information Systems The University of Melbourne Melbourne Australia

Andorra

📄 논문 정보

발행 연도 2024년
인용수 111
출판 국가 Andorra
사이트 IEEE
좋아요 수 0

연관 논문 목록 (216건)