BUGSJS']JS: A Benchmark of Java']JavaScript Bugs

被引:69
作者
Gyimesi, Peter [1 ]
Vancsics, Bela [1 ]
Stocco, Andrea [2 ]
Mazinanian, Davood [2 ]
Beszedes, Arpad [1 ]
Ferenc, Rudolf [1 ]
Mesbah, Ali [2 ]
机构
[1] Univ Szeged, Szeged, Hungary
[2] Univ British Columbia, Vancouver, BC, Canada
来源
2019 IEEE 12TH CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2019) | 2019年
基金
加拿大自然科学与工程研究理事会;
关键词
!text type='Java']Java[!/text]Script; bug database; real bugs; literature survey; benchmark; reproducibility; BUGS[!text type='JS']JS[!/text;
D O I
10.1109/ICST.2019.00019
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
JavaScript is a popular programming language that is also error-prone due to its asynchronous, dynamic, and loosely-typed nature. In recent years, numerous techniques have been proposed for analyzing and testing JavaScript applications. However, our survey of the literature in this area revealed that the proposed techniques are often evaluated on different datasets of programs and bugs. The lack of a commonly used benchmark limits the ability to perform fair and unbiased comparisons for assessing the efficacy of new techniques. To fill this gap, we propose BUGSJS, a benchmark of 453 real, manually validated JavaScript bugs from 10 popular JavaScript server-side programs, comprising 444k LOC in total. Each bug is accompanied by its bug report, the test cases that detect it, as well as the patch that fixes it. BUGSJS features a rich interface for accessing the faulty and fixed versions of the programs and executing the corresponding test cases, which facilitates conducting highly-reproducible empirical studies and comparisons of JavaScript analysis and testing tools.
引用
收藏
页码:90 / 101
页数:12
相关论文
共 58 条
[1]   Repairing Event Race Errors by Controlling Nondeterminism [J].
Adamsen, Christoffer Quist ;
Moller, Anders ;
Karim, Rezwana ;
Sridharan, Manu ;
Tip, Frank ;
Sen, Koushik .
2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2017, :289-299
[2]  
Alimadadi S., 2015, P EUR C OBJ OR PROGR
[3]  
Alimadadi Saba, 2016, P 38 INT C SOFTW ENG
[4]   A Survey of Dynamic Analysis and Test Generation for Java']JavaScript [J].
Andreasen, Esben ;
Gong, Liang ;
Moller, Anders ;
Pradel, Michael ;
Selakovic, Marija ;
Sen, Koushik ;
Staicu, Cristian-Alexandru .
ACM COMPUTING SURVEYS, 2017, 50 (05)
[5]  
Andrews J. H., 2005, P INT C SOFTW ENG
[6]  
Artzi S., 2011, 33 INT C SOFTW ENG I
[7]  
Billes M., 2017, P ACM SIGPLAN C PROG
[8]  
Campos E. C., 2017, P ACM IEEE INT S EMP
[9]  
Dallmeier V., P INT C AUT SOFTW EN
[10]  
Davis J., 2017, P 12 EUR C COMP SYST