Simplified abstract syntax tree based semantic features learning for software change prediction. Issue 4 (28th February 2022)
- Record Type:
- Journal Article
- Title:
- Simplified abstract syntax tree based semantic features learning for software change prediction. Issue 4 (28th February 2022)
- Main Title:
- Simplified abstract syntax tree based semantic features learning for software change prediction
- Authors:
- Yang, Xinyue
Zhang, Xiaofang
Tong, Yao - Abstract:
- Abstract: Software change prediction aims to identify the change‐prone parts of source code, which can help software practitioners allocate resources more efficiently, increase the quality of software products, and reduce maintenance costs. In recent years, researchers have built many change prediction models based on product and process metrics using traditional classification algorithms. However, source code contains rich semantic structural information, which traditional features cannot usually capture. Therefore, extracting the semantic features of code can help improve the performance of existing models. To bridge the gap between semantic features and change prediction, we introduce a novel change prediction approach based on a simplified abstract syntax tree (AST). Specifically, we first extract semantic features from partial AST nodes that pay attention to the syntax and semantic of code instead of all AST nodes. Then, a bidirectional recurrent neural network is utilized to model the deep semantic information of the code for change prediction. We also propose a new dataset that to some extent alleviates the data‐imbalance problem, which has become an active research topic. We conducted extensive experiments on the proposed dataset. The results show the effectiveness of semantic features for change prediction. Further, our model outperformed a state‐of‐the‐art code representation method. Abstract :
- Is Part Of:
- Journal of software. Volume 34:Issue 4(2022)
- Journal:
- Journal of software
- Issue:
- Volume 34:Issue 4(2022)
- Issue Display:
- Volume 34, Issue 4 (2022)
- Year:
- 2022
- Volume:
- 34
- Issue:
- 4
- Issue Sort Value:
- 2022-0034-0004-0000
- Page Start:
- n/a
- Page End:
- n/a
- Publication Date:
- 2022-02-28
- Subjects:
- abstract syntax tree -- machine learning -- semantic features -- software quality assurance -- software change prediction
Software engineering -- Periodicals
Computer software -- Development -- Periodicals
Software maintenance -- Periodicals
005.1 - Journal URLs:
- http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)2047-7481 ↗
http://onlinelibrary.wiley.com/ ↗ - DOI:
- 10.1002/smr.2445 ↗
- Languages:
- English
- ISSNs:
- 2047-7473
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 21236.xml