首页> 外文期刊>Journal of computer sciences >SCUTMA: Selecting Components for Unit Testing in Mobile Applications
【24h】

SCUTMA: Selecting Components for Unit Testing in Mobile Applications

机译:Scutma:在移动应用中选择用于单元测试的组件

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

摘要

Context The source code of a mobile application has several components (i.e., code units) and they have a cost (e.g., test creation and execution) and benefit (e.g., find bug) value for performing unit testing. Problem Choosing in which components unit tests should be done, in order to increase the benefit (effectiveness) and decrease the cost of this activity. Proposal This study presents an approach that supports the selection of components for unit test creation in Android mobile applications. The SCUTMA approach allows the selection of components with respect to the following criteria, which can be combined: Cost of future maintenance, propensity to defects, frequency of call, risk of failure, market vulnerability and business value. Results Two empirical studies were performed to evaluate SCUTMA. The first study aimed at analyzing the correlation between the metrics that represent the criteria described above, where the result showed the possibility of using the metrics Cost of Future Maintenance (CFM), Code Smell (CS), Frequency of Calls (FC), Fault Risk (FR), Market Vulnerability (MV) and Business Value (BV) combined in a solution for component selection. The second study aimed to evaluate the effectiveness of using the SCUTMA approach. The result indicates that SCUTMA selected more components with error (58.33%) than the selection performed by specialists (40%). Conclusions The SCUTMA approach is effective in selecting components for creating unit tests in Android mobile applications.
机译:背景信息移动应用程序的源代码具有多个组件(即代码单位),它们具有成本(例如,测试创建和执行),并且有益(例如,查找错误)用于执行单元测试的值。应在哪个组件单元测试中选择的问题,以提高益处(有效性)并降低该活动的成本。该研究提出了一种方法,它支持在Android移动应用程序中选择组件的组件选择。 Scutma方法允许选择关于以下标准的组件,该标准可以组合:未来维护的成本,缺陷倾向,呼叫频率,失败风险,市场漏洞和业务价值。结果进行了两个实证研究来评估瘢痕疙瘩。旨在分析代表上述标准的度量之间的相关性的第一研究,其中结果显示了使用未来维护(CFM)的度量成本,代码气味(CS),呼叫频率(FC),故障的可能性风险(FR),市场漏洞(MV)和业务价值(BV)组合在组件选择的解决方案中。第二项研究旨在评估使用瘢痕形成方法的有效性。结果表明,Scutma从专家(40%)所执行的选择时选择具有错误(58.33%)的更多组件。结论Scutma方法有效选择用于在Android移动应用程序中创建单元测试的组件。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号