当前位置: X-MOL 学术Comput. Stand. Interfaces › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
Comparing Coverage Criteria for Dynamic Web application: An Empirical Evaluation
Computer Standards & Interfaces ( IF 4.1 ) Pub Date : 2021-01-01 , DOI: 10.1016/j.csi.2020.103467
Salman Sherin , Muhammad Zohaib Iqbal , Muhammad Uzair Khan , Atif Aftab Jilani

Abstract Web applications have become popular and a preferred mean for users to do various crucial tasks such as selling and buying goods, doing short tasks, controlling smart houses and bank account management. The correctness of all such applications is important and requires thorough testing. Structural testing is widely used to achieve correctness in traditional software's, however, for web applications, it is challenging because of its dynamic and heterogeneous nature. To achieve desired structural coverage of web applications different dynamic coverage criteria are used as a quality assessment indicator. However, there is a lack of empirical evidence regarding the effectiveness of the proposed coverage criteria. In this paper, we conduct an empirical evaluation by evaluating and comparing the fault detection effectiveness and efficiency of various dynamic coverage criteria by performing mutation analysis. We conduct a series of experiments to assess and compare four widely used coverage criteria on seven open-source case studies including small to large scale applications. We performed mutation analysis by first generating different faulty versions (mutants) for the case studies and then by executing test suites to record mutation score for each criterion. The results from most of the subject applications show that DOM coverage is the most effective and efficient criterion followed by Virtual DOM, HTML Element and Statement coverage criteria.

中文翻译:

比较动态 Web 应用程序的覆盖标准:实证评估

摘要 Web 应用程序已经变得流行并成为用户执行各种关键任务的首选手段,例如买卖商品、执行短期任务、控制智能家居和银行账户管理。所有此类应用程序的正确性都很重要,需要进行彻底的测试。结构测试被广泛用于实现传统软件的正确性,然而,对于 Web 应用程序,由于其动态和异构性质,它具有挑战性。为了实现 Web 应用程序所需的结构覆盖,使用不同的动态覆盖标准作为质量评估指标。但是,缺乏关于拟议覆盖标准有效性的经验证据。在本文中,我们通过执行变异分析来评估和比较各种动态覆盖标准的故障检测有效性和效率,从而进行实证评估。我们进行了一系列实验,以评估和比较七个开源案例研究的四个广泛使用的覆盖标准,包括小型到大型应用程序。我们通过首先为案例研究生成不同的错误版本(突变体),然后通过执行测试套件来记录每个标准的突变分数来执行突变分析。大多数主题应用的结果表明,DOM 覆盖率是最有效和最高效的标准,其次是 Virtual DOM、HTML Element 和 Statement 覆盖率标准。我们进行了一系列实验,以评估和比较七个开源案例研究的四个广泛使用的覆盖标准,包括小型到大型应用程序。我们通过首先为案例研究生成不同的错误版本(突变体),然后通过执行测试套件来记录每个标准的突变分数来执行突变分析。大多数主题应用的结果表明,DOM 覆盖率是最有效和最高效的标准,其次是 Virtual DOM、HTML Element 和 Statement 覆盖率标准。我们进行了一系列实验,以评估和比较七个开源案例研究的四个广泛使用的覆盖标准,包括小型到大型应用程序。我们通过首先为案例研究生成不同的错误版本(突变体),然后通过执行测试套件来记录每个标准的突变分数来执行突变分析。大多数主题应用的结果表明,DOM 覆盖率是最有效和最高效的标准,其次是 Virtual DOM、HTML Element 和 Statement 覆盖率标准。
更新日期:2021-01-01
down
wechat
bug