首页> 外文学位 >What the Smell? An Empirical Investigation on the Distribution and Severity of Test Smells in Open Source Android Applications
【24h】

What the Smell? An Empirical Investigation on the Distribution and Severity of Test Smells in Open Source Android Applications

机译:什么气味?开源Android应用程序中测试气味分布和严重性的实证研究

获取原文
获取原文并翻译 | 示例

摘要

The widespread adoption of mobile devices, coupled with the ease of developing mobile-based applications (apps) has created a lucrative and competitive environment for app developers. Solely focusing on app functionality and time-to-market is not enough for developers to ensure the success of their app. Quality attributes exhibited by the app must also be a key focus point; not just at the onset of app development, but throughout its lifetime.;The impact analysis of bad programming practices, or code smells, in production code has been the focus of numerous studies in software maintenance. Similar to production code, unit tests are also susceptible to bad programming practices which can have a negative impact not only on the quality of the software system but also on maintenance activities. With the present corpus of studies on test smells primarily on traditional applications, there is a need to fill the void in understanding the deviation of testing guidelines in the mobile environment. Furthermore, there is a need to understand the degree to which test smells are prevalent in mobile apps and the impact of such smells on app maintenance. Hence, the purpose of this research is to: (1) extend the existing set of bad test-code practices by introducing new test smells, (2) provide the software engineering community with an open-source test smell detection tool, and (3) perform a large-scale empirical study on test smell occurrence, distribution, and impact on the maintenance of open-source Android apps.;Through multiple experiments, our findings indicate that most Android apps lack an automated verification of their testing mechanisms. As for the apps with existing test suites, they exhibit test smells early on in their lifetime with varying degrees of co-occurrences with different smell types. Our exploration of the relationship between test smells and technical debt proves that test smells are a strong measurement of technical debt. Furthermore, we observed positive correlations between specific smell types and highly changed/buggy test files. Hence, this research demonstrates that test smells can be used as indicators for necessary preventive software maintenance for test suites.
机译:移动设备的广泛采用,以及开发基于移动的应用程序(应用程序)的便捷性,为应用程序开发人员创造了有利可图的竞争环境。对于开发人员来说,仅专注于应用程序功能和上市时间还不足以确保其应用程序的成功。应用程序展示的质量属性也必须是重点。不仅在应用程序开发之初,而且在整个生命周期中。生产代码中不良编程习惯或代码气味的影响分析已成为软件维护方面众多研究的重点。与生产代码相似,单元测试也容易受到不良编程习惯的影响,这不仅会对软件系统的质量产生负面影响,而且还会对维护活动产生负面影响。由于目前对测试气味的研究主要集中在传统应用上,因此有必要填补了解移动环境中测试准则偏差的空白。此外,有必要了解测试气味在移动应用程序中的普遍程度以及此类气味对应用程序维护的影响。因此,本研究的目的是:(1)通过引入新的测试气味来扩展现有的不良测试代码实践集;(2)为软件工程界提供开源的测试气味检测工具,以及(3) )对测试气味的发生,分布及其对开源Android应用程序维护的影响进行大规模的实证研究。;通过多次实验,我们的发现表明大多数Android应用程序缺乏对其测试机制的自动验证。对于具有现有测试套件的应用程序,它们在生命周期的早期就表现出测试气味,并且不同气味类型的共现程度不同。我们对测试气味和技术债务之间的关系的探索证明,测试气味是对技术债务的有力衡量。此外,我们观察到特定的气味类型与高度变化的/潮湿的测试文件之间存在正相关。因此,这项研究表明,测试气味可以用作测试套件必要的预防性软件维护的指示。

著录项

  • 作者单位

    Rochester Institute of Technology.;

  • 授予单位 Rochester Institute of Technology.;
  • 学科 Computer science.;Information technology.
  • 学位 M.S.
  • 年度 2018
  • 页码 76 p.
  • 总页数 76
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 公共建筑;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号