Authors
Qing Mi, Jacky Keung, Yan Xiao, Solomon Mensah, Yujin Gao
Publication date
2018/12/1
Journal
Information and Software Technology
Volume
104
Pages
60-71
Publisher
Elsevier
Description
Context
Code readability classification (which refers to classification of a piece of source code as either readable or unreadable) has attracted increasing concern in academia and industry. To construct accurate classification models, previous studies depended mainly upon handcrafted features. However, the manual feature engineering process is usually labor-intensive and can capture only partial information about the source code, which is likely to limit the model performance.
Objective
To improve code readability classification, we propose the use of Convolutional Neural Networks (ConvNets).
Method
We first introduce a representation strategy (with different granularities) to transform source codes into integer matrices as the input to ConvNets. We then propose DeepCRM, a deep learning-based model for code readability classification. DeepCRM consists of three separate ConvNets with identical architectures …
Total citations
20182019202020212022202320241213831124
Scholar articles
Q Mi, J Keung, Y Xiao, S Mensah, Y Gao - Information and Software Technology, 2018