{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,1]],"date-time":"2026-08-01T17:45:50Z","timestamp":1785606350840,"version":"3.56.0"},"reference-count":96,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2022,8,22]],"date-time":"2022-08-22T00:00:00Z","timestamp":1661126400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Science Foundation of China","doi-asserted-by":"crossref","award":["U20A20173"],"award-info":[{"award-number":["U20A20173"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Key Research and Development Program of Zhejiang Province","award":["2021C01014"],"award-info":[{"award-number":["2021C01014"]}]},{"DOI":"10.13039\/501100001381","name":"National Research Foundation, Singapore","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100001381","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2022,10,31]]},"abstract":"<jats:p>Change-level defect prediction is widely referred to as just-in-time (JIT) defect prediction since it identifies a defect-inducing change at the check-in time, and researchers have proposed many approaches based on the language-independent change-level features. These approaches can be divided into two types: supervised approaches and unsupervised approaches, and their effectiveness has been verified on Java or C++ projects. However, whether the language-independent change-level features can effectively identify the defects of JavaScript projects is still unknown. Additionally, many researches have confirmed that supervised approaches outperform unsupervised approaches on Java or C++ projects when considering inspection effort. However, whether supervised JIT defect prediction approaches can still perform best on JavaScript projects is still unknown. Lastly, prior proposed change-level features are programming language\u2013independent, whether programming language\u2013specific change-level features can further improve the performance of JIT approaches on identifying defect-prone changes is also unknown.<\/jats:p>\n          <jats:p>To address the aforementioned gap in knowledge, in this article, we collect and label the top-20 most starred JavaScript projects on GitHub. JavaScript is an extremely popular and widely used programming language in the industry. We propose five JavaScript-specific change-level features and conduct a large-scale empirical study (i.e., involving a total of 176,902 changes) and find that (1) supervised JIT defect prediction approaches (i.e., CBS+) still statistically significantly outperform unsupervised approaches on JavaScript projects when considering inspection effort; (2) JavaScript-specific change-level features can further improve the performance of approach built with language-independent features on identifying defect-prone changes; (3) the change-level features in the dimension of size (i.e., LT), diffusion (i.e., NF), and JavaScript-specific (i.e., SO and TC) are the most important features for indicating the defect-proneness of a change on JavaScript projects; and (4) project-related features (i.e., Stars, Branches, Def Ratio, Changes, Files, Defective, and Forks) have a high association with the probability of a change to be a defect-prone one on JavaScript projects.<\/jats:p>","DOI":"10.1145\/3508479","type":"journal-article","created":{"date-parts":[[2022,4,19]],"date-time":"2022-04-19T12:40:29Z","timestamp":1650372029000},"page":"1-38","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":25,"title":["Just-In-Time Defect Prediction on JavaScript Projects: A Replication Study"],"prefix":"10.1145","volume":"31","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2906-0598","authenticated-orcid":false,"given":"Chao","family":"Ni","sequence":"first","affiliation":[{"name":"School of Software Technology, Zhejiang University, Hangzhou, Zhejiang, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6302-3256","authenticated-orcid":false,"given":"Xin","family":"Xia","sequence":"additional","affiliation":[{"name":"Software Engineering Application Technology Lab, Huawei, Hangzhou, Zhejiang, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"David","family":"Lo","sequence":"additional","affiliation":[{"name":"Singapore Management University, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaohu","family":"Yang","sequence":"additional","affiliation":[{"name":"Zhejiang University, Hangzhou, Zhejiang, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ahmed E.","family":"Hassan","sequence":"additional","affiliation":[{"name":"Queen\u2019s University, Kingston, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2022,8,22]]},"reference":[{"key":"e_1_3_2_2_2","first-page":"103","article-title":"Bonferroni and \u0160id\u00e1k corrections for multiple comparisons","volume":"3","author":"Abdi Herv\u00e9","year":"2007","unstructured":"Herv\u00e9 Abdi. 2007. Bonferroni and \u0160id\u00e1k corrections for multiple comparisons. Encyclopedia of Measurement and Statistics 3 (2007), 103\u2013107.","journal-title":"Encyclopedia of Measurement and Statistics"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2009.06.055"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.tree.2008.10.008"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1023\/A:1010933404324"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1109\/ESEM.2009.5316002"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2018.10.003"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2017.08.004"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.4324\/9781315806730"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1111\/j.2517-6161.1958.tb00292.x"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2016.2616306"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSR.2010.5463279"},{"key":"e_1_3_2_13_2","doi-asserted-by":"crossref","first-page":"8","DOI":"10.1109\/FLOSS.2007.5","volume-title":"1st International Workshop on Emerging Trends in FLOSS Research and Development (FLOSS\u201907), ICSE Workshops 2007","author":"Delorey Daniel P.","year":"2007","unstructured":"Daniel P. Delorey, Charles D. Knutson, and Scott Chun. 2007. Do programming languages affect productivity? A case study using data from open source projects. In 1st International Workshop on Emerging Trends in FLOSS Research and Development (FLOSS\u201907), ICSE Workshops 2007. IEEE, 8\u20138."},{"key":"e_1_3_2_14_2","unstructured":"ECMAScript language specification 5.1 edition June 2011. https:\/\/262.ecma-international.org\/5.1\/."},{"key":"e_1_3_2_15_2","article-title":"The impact of changes mislabeled by SZZ on just-in-time defect prediction","author":"Fan Yuanrui","year":"2019","unstructured":"Yuanrui Fan, Xin Xia, Daniel Alencar da Costa, David Lo, Ahmed E. Hassan, and Shanping Li. 2019. The impact of changes mislabeled by SZZ on just-in-time defect prediction. IEEE Transactions on Software Engineering 47, 8 (2019), 1559\u20131586.","journal-title":"IEEE Transactions on Software Engineering"},{"key":"e_1_3_2_16_2","article-title":"Chaff from the wheat: Characterizing and determining valid bug reports","author":"Fan Yuanrui","year":"2018","unstructured":"Yuanrui Fan, Xin Xia, David Lo, and Ahmed E. Hassan. 2018. Chaff from the wheat: Characterizing and determining valid bug reports. IEEE Transactions on Software Engineering 46, 5 (2018), 495\u2013525.","journal-title":"IEEE Transactions on Software Engineering"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3106237.3106257"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2016.04.017"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/2597073.2597075"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2017.75"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1109\/32.859533"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICST.2019.00019"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/2950290.2950308"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1148\/radiology.143.1.7063747"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2009.5070510"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-017-9538-9"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.5555\/2337223.2337247"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10515-011-0090-3"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-016-9468-y"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2017.51"},{"key":"e_1_3_2_31_2","first-page":"1","article-title":"Revisiting supervised and unsupervised models for effort-aware just-in-time defect prediction","author":"Huang Qiao","year":"2018","unstructured":"Qiao Huang, Xin Xia, and David Lo. 2018. Revisiting supervised and unsupervised models for effort-aware just-in-time defect prediction. Empirical Software Engineering (2018), 1\u201340.","journal-title":"Empirical Software Engineering"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2013.6693087"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1111\/2041-210X.12225"},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9400-x"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2012.70"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1109\/tse.2007.70773"},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2006.23"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-010-9132-x"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-016-9467-z"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1109\/ESEM.2017.8"},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/1868328.1868356"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1002\/0470011815.b2a10021"},{"key":"e_1_3_2_43_2","doi-asserted-by":"crossref","unstructured":"Shane McIntosh and Yasutaka Kamei. 2015. Are fix-inducing changes a moving target?: A longitudinal case study of just-in-time defect prediction. Proceedings of the 40th International Conference on Software Engineering 44 5 (2015) 412\u2013428.","DOI":"10.1109\/TSE.2017.2693980"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2011.6100072"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2007.256941"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/1370788.1370801"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1002\/bltj.2229"},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/1062455.1062514"},{"key":"e_1_3_2_49_2","doi-asserted-by":"publisher","DOI":"10.1111\/j.2041-210x.2012.00261.x"},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","DOI":"10.5555\/2486788.2486839"},{"key":"e_1_3_2_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/3196398.3196438"},{"key":"e_1_3_2_52_2","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2018.8330225"},{"key":"e_1_3_2_53_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2019.03.012"},{"key":"e_1_3_2_54_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11390-017-1785-0"},{"key":"e_1_3_2_55_2","article-title":"Revisiting supervised and unsupervised methods for effort-aware cross-project defect prediction","author":"Ni Chao","year":"2020","unstructured":"Chao Ni, Xin Xia, David Lo, Xiang Chen, and Qing Gu. 2020. Revisiting supervised and unsupervised methods for effort-aware cross-project defect prediction. IEEE Transactions on Software Engineering (2020).","journal-title":"IEEE Transactions on Software Engineering"},{"key":"e_1_3_2_56_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2016.2586066"},{"key":"e_1_3_2_57_2","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2737991"},{"key":"e_1_3_2_58_2","doi-asserted-by":"publisher","DOI":"10.5555\/1953048.2078195"},{"key":"e_1_3_2_59_2","doi-asserted-by":"publisher","DOI":"10.5555\/2487085.2487161"},{"key":"e_1_3_2_60_2","doi-asserted-by":"publisher","DOI":"10.1145\/2384577.2384579"},{"key":"e_1_3_2_61_2","volume-title":"29th European Conference on Object-Oriented Programming (ECOOP\u201915)","author":"Pradel Michael","year":"2015","unstructured":"Michael Pradel and Koushik Sen. 2015. The good, the bad, and the ugly: An empirical study of implicit type conversions in JavaScript. In 29th European Conference on Object-Oriented Programming (ECOOP\u201915). 999\u20131021."},{"key":"e_1_3_2_62_2","doi-asserted-by":"publisher","DOI":"10.1109\/2.876288"},{"key":"e_1_3_2_63_2","doi-asserted-by":"publisher","DOI":"10.1109\/MSR.2017.4"},{"key":"e_1_3_2_64_2","doi-asserted-by":"crossref","unstructured":"Frank E. Harrell. 2001. Regression modeling strategies: with applications to linear models logistic regression and survival analysis. Springer.","DOI":"10.1007\/978-1-4757-3462-1"},{"key":"e_1_3_2_65_2","doi-asserted-by":"publisher","DOI":"10.1145\/2635868.2635922"},{"key":"e_1_3_2_66_2","volume-title":"Artificial intelligence: a modern approach","author":"Russell Stuart J.","year":"2016","unstructured":"Stuart J. Russell and Peter Norvig. 2016. Artificial intelligence: a modern approach. Pearson Education Limited, Malaysia."},{"key":"e_1_3_2_67_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-014-9346-4"},{"key":"e_1_3_2_68_2","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2017.7884630"},{"key":"e_1_3_2_69_2","doi-asserted-by":"publisher","DOI":"10.2307\/2529204"},{"key":"e_1_3_2_70_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2014.2322358"},{"key":"e_1_3_2_71_2","doi-asserted-by":"crossref","unstructured":"Emad Shihab Ahmed E. Hassan Bram Adams and Zhen Ming Jiang. 2012. An industrial study on the risk of software changes. In Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software Engineering . 1\u201311.","DOI":"10.1145\/2393596.2393670"},{"key":"e_1_3_2_72_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2010.81"},{"key":"e_1_3_2_73_2","first-page":"1","volume-title":"ACM SIGSOFT Software Engineering Notes","author":"\u015aliwerski Jacek","year":"2005","unstructured":"Jacek \u015aliwerski, Thomas Zimmermann, and Andreas Zeller. 2005. When do changes induce fixes?. In ACM SIGSOFT Software Engineering Notes, Vol. 30. ACM, 1\u20135."},{"key":"e_1_3_2_74_2","doi-asserted-by":"publisher","DOI":"10.1002\/0470013192.bsa234"},{"key":"e_1_3_2_75_2","doi-asserted-by":"publisher","DOI":"10.1109\/TR.2016.2630503"},{"key":"e_1_3_2_76_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2014.2361131"},{"key":"e_1_3_2_77_2","doi-asserted-by":"publisher","DOI":"10.1145\/3183519.3183547"},{"key":"e_1_3_2_78_2","article-title":"The impact of automated parameter optimization on defect prediction models","author":"Tantithamthavorn Chakkrit","year":"2018","unstructured":"Chakkrit Tantithamthavorn, Shane McIntosh, Ahmed E. Hassan, and Kenichi Matsumoto. 2018. The impact of automated parameter optimization on defect prediction models. IEEE Transactions on Software Engineering 45, 7 (2018), 683\u2013711.","journal-title":"IEEE Transactions on Software Engineering"},{"key":"e_1_3_2_79_2","volume-title":"Multilevel Analysis: An Introduction to Basic and Advanced Multilevel Modeling","author":"Tom A. B.","year":"1999","unstructured":"A. B. Tom and Roel J. Bosker. 1999. Multilevel Analysis: An Introduction to Basic and Advanced Multilevel Modeling. Sage."},{"key":"e_1_3_2_80_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICIW.2010.13"},{"key":"e_1_3_2_81_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-008-9103-7"},{"key":"e_1_3_2_82_2","doi-asserted-by":"publisher","DOI":"10.1109\/SEAA.2011.59"},{"key":"e_1_3_2_83_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4842-4221-6_8"},{"key":"e_1_3_2_84_2","unstructured":"Philip Walton. 2013. Decoupling your HTML CSS and JavaScript. (2013). https:\/\/philipwalton.com\/articles\/decoupling-html-css-and-javascript."},{"key":"e_1_3_2_85_2","article-title":"Perceptions, expectations, and challenges in defect prediction","author":"Wan Zhiyuan","year":"2018","unstructured":"Zhiyuan Wan, Xin Xia, Ahmed E. Hassan, David Lo, Jianwei Yin, and Xiaohu Yang. 2018. Perceptions, expectations, and challenges in defect prediction. IEEE Transactions on Software Engineering 46, 11 (2018), 1241\u20131266.","journal-title":"IEEE Transactions on Software Engineering"},{"key":"e_1_3_2_86_2","doi-asserted-by":"publisher","DOI":"10.2307\/3001968"},{"key":"e_1_3_2_87_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2016.2543218"},{"key":"e_1_3_2_88_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2017.03.007"},{"key":"e_1_3_2_89_2","doi-asserted-by":"publisher","DOI":"10.1109\/QRS.2015.14"},{"key":"e_1_3_2_90_2","doi-asserted-by":"publisher","DOI":"10.1145\/2950290.2950353"},{"key":"e_1_3_2_91_2","doi-asserted-by":"publisher","DOI":"10.1145\/2025113.2025121"},{"key":"e_1_3_2_92_2","doi-asserted-by":"publisher","DOI":"10.1002\/0470011815.b2a15150"},{"key":"e_1_3_2_93_2","doi-asserted-by":"publisher","DOI":"10.1145\/2597073.2597078"},{"key":"e_1_3_2_94_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-015-9396-2"},{"key":"e_1_3_2_95_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSM.2013.46"},{"key":"e_1_3_2_96_2","doi-asserted-by":"publisher","DOI":"10.1145\/1137983.1138001"},{"key":"e_1_3_2_97_2","doi-asserted-by":"publisher","DOI":"10.1145\/1595696.1595713"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3508479","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3508479","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:30:40Z","timestamp":1750188640000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3508479"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,8,22]]},"references-count":96,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2022,10,31]]}},"alternative-id":["10.1145\/3508479"],"URL":"https:\/\/doi.org\/10.1145\/3508479","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,8,22]]},"assertion":[{"value":"2020-08-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-12-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-08-22","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}