【24h】

Smells in block-based programming languages

机译:嗅到基于块的编程语言

获取原文

摘要

Code smells were originally designed for object-oriented code, but in recent years, have been applied to end-user languages, including spreadsheets and Yahoo! Pipes. In this paper, we explore code smells in block-based end-user programming languages aimed at education. Specifically, we explore the occurrence of smells in two educational languages not previously targeted by smell detection and refactoring research: LEGO MINDSTORMS EV3 and Microsoft's Kodu. The results of this exploration show that object-oriented-inspired smells indeed occur in educational end-user languages and are present in 88% and 93% of the EV3 and Kodu programs, respectively. Most commonly we find that programs are plagued with lazy class, duplication, and dead code smells, with duplication smells being present in nearly two-thirds of programs in both languages.
机译:代码气味最初是为面向对象的代码而设计,但近年来,已应用于最终用户语言,包括电子表格和雅虎!管子。在本文中,我们以旨在教育的基于块的最终用户编程语言探索代码闻。具体而言,我们探讨了两种教育语言的嗅觉的发生,这些语言不是以前没有由嗅觉检测和重构研究的研究:LEGO MINESTORMS EV3和微软的KODU。该探索的结果表明,面向对象的灵感嗅觉确实发生在教育最终用户语言中,并分别存在于88%和93%的EV3和Kodu计划中。最常见的是,我们发现程序困扰着懒惰的课程,复制和死亡的味道,并且两种语言中的近三分之二的节目中存在复制味道。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号