首页    期刊浏览 2024年12月02日 星期一
登录注册

文章基本信息

  • 标题:Specification and Automated Detection of Code Smells using OCL
  • 本地全文:下载
  • 作者:Tae-Woong Kim ; Tae-Gong Kim ; Jai-Hyun Seu
  • 期刊名称:International Journal of Software Engineering and Its Applications
  • 印刷版ISSN:1738-9984
  • 出版年度:2013
  • 卷号:7
  • 期号:4
  • 出版社:SERSC
  • 摘要:The words Code smells mean certain code lines which makes problems in source code. It also means that code lines in bad design shape or any code made by bad coding habits. There are a few studies found in code smells detecting field. But these studies have their own weaknesses which are detecting only particular kinds of code smells and lack of expressing what the problems are. In this paper, we newly define code smells by using specification language OCL and use these models in auto detection. To construct our new code smells model, we first transform java source into XMI document format based on JavaEAST meta-model which is expanded from JavaAST meta-model. The prepared OCL will be run through OCL component based on Eclipse plug-in. Finally the effectiveness of the model will be verified by applying on primitive smell and derived smell in java source code
  • 关键词:Code Smells; Refactoring; OCL(Object Constraint Language); AST(Abstract ;Syntax Tree); Meta-model
国家哲学社会科学文献中心版权所有