Deep semantic-based feature envy identification

Xueliang Guo, Chongyang Shi, He Jiang

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

13 Citations (Scopus)

Abstract

Code smells regularly cause potential software quality problems in software development. Thus, code smell detection has attracted the attention of many researchers. A number of approaches have been suggested in order to improve the accuracy of code smell detection. Most of these approaches rely solely on structural information (code metrics) extracted from source code and heuristic rules designed by people. In this paper, We propose a method-representation based model to represent the methods in textual code, which can effectively reflect the semantic relationships embedded in textual code. We also propose a deep learning based approach that combines method-representation and a CNN model to detect feature envy. The proposed approach can automatically extract semantic and features from textual code and code metrics, and can also automatically build complex mapping between these features and predictions. Evaluation results on open-source projects demonstrate that our proposed approach achieves better performance than the state-of-the-art in detecting feature envy.

Original languageEnglish
Title of host publication11th Asia-Pacific Symposium on Internetware, Internetware 2019
PublisherAssociation for Computing Machinery
ISBN (Electronic)9781450377010
DOIs
Publication statusPublished - 28 Oct 2019
Event11th Asia-Pacific Symposium on Internetware, Internetware 2019 - Fukuoka, Japan
Duration: 28 Oct 201929 Oct 2019

Publication series

NameACM International Conference Proceeding Series

Conference

Conference11th Asia-Pacific Symposium on Internetware, Internetware 2019
Country/TerritoryJapan
CityFukuoka
Period28/10/1929/10/19

Keywords

  • Code Smell
  • Deep Learning
  • Deep Semantic
  • Feature Envy
  • Software Refactoring

Fingerprint

Dive into the research topics of 'Deep semantic-based feature envy identification'. Together they form a unique fingerprint.

Cite this