JQuery变异算子的冗余检测
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:JQuery Mutation Operators’ Redundancy Detection
  • 作者:李晨章 ; 高建华
  • 英文作者:LI Chen-zhang;GAO Jian-hua;College of Information,Mechanical and Electrical Engineering,Shanghai Normal University;
  • 关键词:JQuery ; 编译测试 ; 变异算子 ; 算子冗余
  • 英文关键词:JQuery;;mutation testing;;mutation operators;;operator redundancy
  • 中文刊名:XXWX
  • 英文刊名:Journal of Chinese Computer Systems
  • 机构:上海师范大学计算机科学与技术系;
  • 出版日期:2019-04-15
  • 出版单位:小型微型计算机系统
  • 年:2019
  • 期:v.40
  • 基金:国家自然科学基金项目(61672355)资助
  • 语种:中文;
  • 页:XXWX201904035
  • 页数:6
  • CN:04
  • ISSN:21-1106/TP
  • 分类号:180-185
摘要
JavaScript是一种用于客户端web开发的脚本语言,jQuery作为一个快速、简洁的JavaScript框架被广泛的应用.针对jQuery功能和交互方面的测试问题,本文基于变异测试技术,设计了13个针对jQuery的变异算子,并对这13个变异算子中的冗余进行了实验和研究,目的是减少在对jQuery变异分析时所需要的计算成本.对于冗余的变异算子,在测试时可以排除但又能保持相同级别的故障检测能力.论文在4个web项目中,使用了13个变异算子进行了验证. 2个变异算子(O3和O4)被证明是多余的,可以排除在变异测试之外,并且对错误的检测能力的影响是最小的.
        JavaScirpt is a script language for client-side in web development,jQuery as a quick,concise JavaScirpt framework is widely used. This article is based on mutation testing,designed 13 mutation operators for the jQuery testing problem,discussed the redundancy of these 13 operators,the purpose is to reduce the needed of analysis cost. These redundant operators can be omitted during the test,but the same level of fault detection can be maintained. Used 13 operators for verification in four web application projects. Two jQuery mutation operators( O3 and O4) that can be excluded from mutation testing have been show n to be redundant,and have minimal impact on error detection capabilities.
引文
[1] Wei Na. Web Front-end development technology research[J].M odern Computer,2011,(23):50-52.
    [2] Tian Jun. Brief discussion of jQ uery applied in Web application[J]. The Electronic Worlds,2012,(24):8-8.
    [3] Jia Y,Harman M. An analysis and survey of the development of mutation testing[J]. IEEE Transactions on Software Engineering,2011,37(5):649-678.
    [4] Offutt A J,Untch R H. Mutation 2000:uniting the orthogonal[M]. Springer US,2000:45-55.
    [5] Mathur A P. Performance,effectiveness,and reliability issues in software testing[C]. Computer Software and Applications Conference,Tokyo:IEEE,1991:604-605.
    [6] Offutt A J,Lee A,Rothermel G,et al. An experimental determination of sufficient mutant operators[J]. ACM Transactions on Software Engineering and M ethodology,1996,5(2):99-118.
    [7] Mirshokraie S,Mesbah A,Pattabiraman K. Guided mutation testing for javascript web applications[J]. IEEE Transactions on Software Engineering,2015,41(5):429-444.
    [8] Praphamontripong U,Offutt A J. Finding redundancy in web mutation operators[C]. Software Testing,Verification and Validation Workshops(ICSTW),2017 IEEE International Conference on,IEEE,2017:134-142.
    [9] Zhang J,Zhang L,Harman M,et al. Predictive mutation testing[C]. International Symposium on Software Testing and Analysis,ACM,2016:342-353.
    [10] DeMillo R A,Lipton R J,Sayward F G. Hints on test data selection:help for the practicing programmer[J]. Computer,1978,11(4):34-41.
    [11] Hamlet R G. Testing programs with the aid of a compiler[J].IEEE Transactions on Software Engineering,1977,3(4):279-290.
    [12] Linares-Vásquez M,Bavota G,Tufano M,et al. Enabling mutation testing for android apps[C]. Proceedings of the 2017 11th Joint M eeting on Foundations of Software Engineering,ACM,2017:233-244.
    [1]魏娜. Web前端开发技术研究[J].现代计算机,2011,(23):50-52.
    [2]田军.浅谈jQuery技术在Web开发中的应用[J].电子世界,2012,(24):8-8.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700