【24h】

Prevalence of Bad Smells in PL/SQL Projects

机译:PL / SQL项目中不良气味的普遍性

获取原文

摘要

Code Smell can be defined as any feature in the source code of a software that may indicate possible problems. In database languages, the term Bad Smell has been used as a generalization of Code Smell, once some features that are not directly related to code also can indicate problems, such as, for instance, the inappropriate type of an index structure or a SQL query written inefficiently. Bearing in mind the recurrence of different Bad Smell, they were catalogued. Along with these catalogs, tools were developed to automatically identify Bad Smell occurrences in a given code. With the help of these tools, it has become possible to perform quick and effective analysis. In this context, this paper proposes an exploratory study about Bad Smell in PL/SQL codes, from free software projects, published on GitHub. We analyzed 20 open-source PL/SQL projects and empirically study the prevalence of bad smells. Our results showed that some smells occur together. Besides, some smells are more frequent than others. Based on this principle, this paper has the potential to aid professionals from the databases area to avoid future problems during the development of a PL/SQL project.
机译:可以将代码气味定义为软件源代码中可能表明可能存在问题的任何功能。在数据库语言中,术语“不良气味”已被用作“代码气味”的概括,一旦某些与代码不直接相关的功能也可以指示问题,例如索引结构或SQL查询的类型不合适写作效率低下。考虑到不同的不良气味的复发,将它们分类。与这些目录一起,开发了工具来自动识别给定代码中的不良气味事件。借助这些工具,可以执行快速有效的分析。在这种情况下,本文提出了一个探索性研究,该研究来自GitHub上发布的免费软件项目中的PL / SQL代码中的Bad Smell。我们分析了20个开源PL / SQL项目,并根据经验研究了难闻气味的发生率。我们的结果表明,一些气味一起出现。此外,有些气味比其他气味更常见。基于此原理,本文有潜力帮助数据库领域的专业人员避免在PL / SQL项目开发过程中出现将来的问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号