摘要
Android应用程序中存在大量的代码异味,现有的Android代码异味检测工具效率较低.为此,将抽象语法树(AST)进行分层,提出一种基于分层AST的Android异味检测方法.实例研究表明,与其他方法相比,该方法能检测出更多类型的Android代码异味.
The existing Android code smell detection tools were inefficient for a mass of code smell detections in Android application.Consequently,the abstract syntax tree(AST)was layered and an Android code smell detection method based on hierarchical AST was proposed.The case study showed that this proposed method could detect more types of Android code smells compared to other similar measures.
作者
黄雅菁
HUANG Yajing(Department of Information Technology and Mechatronic Engineering,Shanghai Xingjian College,Shanghai 200072,China)
出处
《上海师范大学学报(自然科学版)》
2023年第4期418-423,共6页
Journal of Shanghai Normal University(Natural Sciences)