Publication Type

Conference Proceeding Article

Version

acceptedVersion

Publication Date

4-2024

Abstract

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.

Keywords

Source code representation, Deep learning, Static analysis, Bug reports, Design patterns

Discipline

Software Engineering

Research Areas

Software and Cyber-Physical Systems

Publication

ICPC '24: Proceedings of the 32nd IEEE/ACM International Conference on Program Comprehension, Lisbon Portugal, April 15-16

First Page

64

Last Page

68

ISBN

9798400705861

Identifier

10.1145/3643916.3644396

Publisher

ACM

City or Country

New York

Additional URL

https://doi.org/10.1145/3643916.3644396

Share

COinS