{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T09:04:43Z","timestamp":1794733483095,"version":"4.9.1"},"publisher-location":"Cham","reference-count":39,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783031308253","type":"print"},{"value":"9783031308260","type":"electronic"}],"license":[{"start":{"date-parts":[[2023,1,1]],"date-time":"2023-01-01T00:00:00Z","timestamp":1672531200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2023,4,20]],"date-time":"2023-04-20T00:00:00Z","timestamp":1681948800000},"content-version":"vor","delay-in-days":109,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2023]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    JavaScript has become the most popular programming language for web front-end development. With such popularity, there is a great demand for thorough testing of client-side JavaScript web applications. In this paper, we present a novel approach to concolic testing of front-end JavaScript web applications. This approach leverages widely used JavaScript testing frameworks such as\n                    <jats:italic>Jest<\/jats:italic>\n                    and\n                    <jats:italic>Puppeteer<\/jats:italic>\n                    and conducts concolic execution on JavaScript functions in web applications for unit testing. The seamless integration of concolic testing with these testing frameworks allows injection of symbolic variables within the native execution context of a JavaScript web function and precise capture of concrete execution traces of the function under test. Such concise execution traces greatly improve the effectiveness and efficiency of the subsequent symbolic analysis for test generation. We have implemented our approach on\n                    <jats:italic>Jest<\/jats:italic>\n                    and\n                    <jats:italic>Puppeteer<\/jats:italic>\n                    . The application of our\n                    <jats:italic>Jest<\/jats:italic>\n                    implementation on\n                    <jats:italic>Metamask<\/jats:italic>\n                    , one of the most popular Crypto wallets, has uncovered 3 bugs and 1 test suite improvement, whose bug reports have all been accepted by\n                    <jats:italic>Metamask<\/jats:italic>\n                    developers on Github. We also applied our\n                    <jats:italic>Puppeteer<\/jats:italic>\n                    implementation to 21 Github projects and detected 4 bugs.\n                  <\/jats:p>","DOI":"10.1007\/978-3-031-30826-0_4","type":"book-chapter","created":{"date-parts":[[2023,4,19]],"date-time":"2023-04-19T14:02:59Z","timestamp":1681912979000},"page":"67-87","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["Concolic Testing of Front-end JavaScript"],"prefix":"10.1007","author":[{"given":"Zhe","family":"Li","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Fei","family":"Xie","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2023,4,20]]},"reference":[{"key":"4_CR1","unstructured":"Metamask-extension coveralls. https:\/\/coveralls.io\/github\/MetaMask\/metamask-extension (Mar 2021)"},{"key":"4_CR2","unstructured":"Afl: American fuzzy lop. http:\/\/lcamtuf.coredump.cx\/afl\/ (Jan 2022)"},{"key":"4_CR3","unstructured":"Browser context. https:\/\/pptr.dev\/api\/puppeteer.browser (Oct 2022)"},{"key":"4_CR4","unstructured":"Building a javascript testing framework. https:\/\/cpojer.net\/posts\/building-a-javascript-testing-framework#building-a-testing-framework (Oct 2022)"},{"key":"4_CR5","unstructured":"Executioncontext class. https:\/\/pub.dev\/documentation\/puppeteer\/latest\/puppeteer\/ExecutionContext-class.html (Oct 2022)"},{"key":"4_CR6","unstructured":"Express. https:\/\/expressjs.com\/ (Oct 2022)"},{"key":"4_CR7","unstructured":"git-ls-files. https:\/\/git-scm.com\/docs\/git-ls-files (Oct 2022)"},{"key":"4_CR8","unstructured":"git-ls-files. https:\/\/github.com\/AlDanial\/cloc (Oct 2022)"},{"key":"4_CR9","unstructured":"Zhe, L., Fei, X.: In-situ concolic testing of javascript. In: Proceedings of the 30th IEEE International Conference on Software Analysis, Evolution and Reengineering (2023)"},{"key":"4_CR10","unstructured":"js-fuzz. https:\/\/github.com\/connor4312\/js-fuzz (Jan 2022)"},{"key":"4_CR11","unstructured":"Jsfuzz: coverage-guided fuzz testing for javascript. https:\/\/github.com\/fuzzitdev\/jsfuzz (Jan 2022)"},{"key":"4_CR12","unstructured":"Metamask. https:\/\/metamask.io\/ (Oct 2022)"},{"key":"4_CR13","unstructured":"Node.js. https:\/\/nodejs.org\/en\/ (Oct 2022)"},{"key":"4_CR14","unstructured":"Puppeteer. https:\/\/pptr.dev\/ (Oct 2022)"},{"key":"4_CR15","unstructured":"Puppeteer architecture. https:\/\/devdocs.io\/puppeteer (Oct 2022)"},{"key":"4_CR16","unstructured":"React component. https:\/\/reactjs.org\/docs\/react-component.html (Oct 2022)"},{"key":"4_CR17","unstructured":"React component. https:\/\/reactjs.org\/docs\/components-and-props.html (Oct 2022)"},{"key":"4_CR18","unstructured":"React testing library. https:\/\/testing-library.com\/docs\/react-testing-library\/intro\/ (Oct 2022)"},{"key":"4_CR19","unstructured":"Rhino: Javascript in java. http:\/\/mozilla.github.io\/rhino (Oct 2022)"},{"key":"4_CR20","unstructured":"Search: The search api lets you to search for specific items on github. https:\/\/docs.github.com\/en\/rest\/search (Oct 2022)"},{"key":"4_CR21","unstructured":"Six essential frameworks for creating automated tests. https:\/\/dzone.com\/refcardz\/javascript-test-automation-frameworks (Oct 2022)"},{"key":"4_CR22","unstructured":"Understanding v8\u2019s bytecode. https:\/\/medium.com\/dailyjs\/understanding-v8s-bytecode-317d46c94775 (Oct 2022)"},{"key":"4_CR23","unstructured":"Usage statistics of javascript as client-side programming language on websites. https:\/\/w3techs.com\/technologies\/details\/cp-javascript (Oct 2022)"},{"key":"4_CR24","unstructured":"v8. https:\/\/v8.dev\/ (Oct 2022)"},{"key":"4_CR25","doi-asserted-by":"crossref","unstructured":"Araki, L.Y., Peres, L.M.: A systematic review of concolic testing with aplication of test criteria. In: ICEIS (2018)","DOI":"10.5220\/0006776301210132"},{"key":"4_CR26","doi-asserted-by":"publisher","unstructured":"Baldoni, R., Coppa, E., D\u2019elia, D.C., Demetrescu, C., Finocchi, I.: A survey of symbolic execution techniques. ACM Comput. Surv. 51(3) (May 2018). https:\/\/doi.org\/10.1145\/3182657, https:\/\/doi.org\/10.1145\/3182657","DOI":"10.1145\/3182657"},{"key":"4_CR27","unstructured":"JIN, X.o., ZHONG, B.y., LI, X.: Research and implementation of interpreting javascript dynamic web page based on rhino engine [j]. Computer Technology and Development 2(002) (2008)"},{"key":"4_CR28","doi-asserted-by":"publisher","unstructured":"Jueckstock, J., Kapravelos, A.: Visiblev8: In-browser monitoring of javascript in the wild. In: Proceedings of the Internet Measurement Conference. p. 393\u2013405. IMC \u201919, Association for Computing Machinery, New York, NY, USA (2019). https:\/\/doi.org\/10.1145\/3355369.3355599, https:\/\/doi.org\/10.1145\/3355369.3355599","DOI":"10.1145\/3355369.3355599"},{"key":"4_CR29","doi-asserted-by":"publisher","unstructured":"King, J.C.: Symbolic execution and program testing. Commun. ACM 19(7), 385\u2013394 (jul 1976). https:\/\/doi.org\/10.1145\/360248.360252, https:\/\/doi.org\/10.1145\/360248.360252","DOI":"10.1145\/360248.360252"},{"key":"4_CR30","unstructured":"Ko, R., Mickens, J., Loring, B., Netravali, R.: Oblique: Accelerating page loads using symbolic execution. In: 18th USENIX Symposium on Networked Systems Design and Implementation (NSDI 21). pp. 289\u2013302. USENIX Association (Apr 2021), https:\/\/www.usenix.org\/conference\/nsdi21\/presentation\/ko"},{"key":"4_CR31","doi-asserted-by":"crossref","unstructured":"Li, G., Andreasen, E., Ghosh, I.: Symjs: automatic symbolic testing of javascript web applications. In: Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering. pp. 449\u2013459 (2014)","DOI":"10.1145\/2635868.2635913"},{"key":"4_CR32","doi-asserted-by":"crossref","unstructured":"Li, Y.F., Das, P.K., Dowe, D.L.: Two decades of web application testing\u2014a survey of recent advances. Information Systems 43, 20\u201354 (2014)","DOI":"10.1016\/j.is.2014.02.001"},{"key":"4_CR33","doi-asserted-by":"crossref","unstructured":"Loring, B., Mitchell, D., Kinder, J.: Expose: practical symbolic execution of standalone javascript. In: Proceedings of the 24th ACM SIGSOFT International SPIN Symposium on Model Checking of Software. pp. 196\u2013199 (2017)","DOI":"10.1145\/3092282.3092295"},{"key":"4_CR34","doi-asserted-by":"crossref","unstructured":"Mirshokraie, S., Mesbah, A., Pattabiraman, K.: Jseft: Automated javascript unit test generation. In: 2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST). pp. 1\u201310. IEEE (2015)","DOI":"10.1109\/ICST.2015.7102595"},{"key":"4_CR35","doi-asserted-by":"publisher","unstructured":"Powers, B., Vilk, J., Berger, E.D.: Browsix: Bridging the gap between unix and the browser. In: Proceedings of the Twenty-Second International Conference on Architectural Support for Programming Languages and Operating Systems. p. 253\u2013266. ASPLOS \u201917, Association for Computing Machinery, New York, NY, USA (2017). https:\/\/doi.org\/10.1145\/3037697.3037727, https:\/\/doi.org\/10.1145\/3037697.3037727","DOI":"10.1145\/3037697.3037727"},{"key":"4_CR36","doi-asserted-by":"crossref","unstructured":"Santos, J.F., Maksimovi\u0107, P., Grohens, T., Dolby, J., Gardner, P.: Symbolic execution for javascript. In: Proceedings of the 20th International Symposium on Principles and Practice of Declarative Programming. pp. 1\u201314 (2018)","DOI":"10.1145\/3236950.3236956"},{"key":"4_CR37","doi-asserted-by":"publisher","unstructured":"Saxena, P., Akhawe, D., Hanna, S., Mao, F., McCamant, S., Song, D.: A symbolic execution framework for javascript. In: 2010 IEEE Symposium on Security and Privacy. pp. 513\u2013528 (2010). https:\/\/doi.org\/10.1109\/SP.2010.38","DOI":"10.1109\/SP.2010.38"},{"key":"4_CR38","doi-asserted-by":"crossref","unstructured":"Sen, K., Kalasapur, S., Brutch, T., Gibbs, S.: Jalangi: A selective record-replay and dynamic analysis framework for javascript. In: Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering. pp. 488\u2013498 (2013)","DOI":"10.1145\/2491411.2491447"},{"key":"4_CR39","doi-asserted-by":"publisher","unstructured":"Thakkar, M.: Unit Testing Using Jest, pp. 153\u2013174. Apress, Berkeley, CA (2020). https:\/\/doi.org\/10.1007\/978-1-4842-5869-9_5, https:\/\/doi.org\/10.1007\/978-1-4842-5869-9_5","DOI":"10.1007\/978-1-4842-5869-9_5"}],"container-title":["Lecture Notes in Computer Science","Fundamental Approaches to Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-031-30826-0_4","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2023,5,22]],"date-time":"2023-05-22T18:02:10Z","timestamp":1684778530000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-031-30826-0_4"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023]]},"ISBN":["9783031308253","9783031308260"],"references-count":39,"URL":"https:\/\/doi.org\/10.1007\/978-3-031-30826-0_4","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-031-30826-0","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023]]},"assertion":[{"value":"20 April 2023","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"FASE","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Conference on Fundamental Approaches to Software Engineering","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Paris","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"France","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2023","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"22 April 2023","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"27 April 2023","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"26","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"fase2023","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/etaps.org\/2023\/fase","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Double-blind","order":1,"name":"type","label":"Type","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"EasyChair","order":2,"name":"conference_management_system","label":"Conference Management System","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"50","order":3,"name":"number_of_submissions_sent_for_review","label":"Number of Submissions Sent for Review","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"12","order":4,"name":"number_of_full_papers_accepted","label":"Number of Full Papers Accepted","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"0","order":5,"name":"number_of_short_papers_accepted","label":"Number of Short Papers Accepted","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"24% - The value is computed by the equation \"Number of Full Papers Accepted \/ Number of Submissions Sent for Review * 100\" and then rounded to a whole number.","order":6,"name":"acceptance_rate_of_full_papers","label":"Acceptance Rate of Full Papers","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"3","order":7,"name":"average_number_of_reviews_per_paper","label":"Average Number of Reviews per Paper","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"6-7","order":8,"name":"average_number_of_papers_per_reviewer","label":"Average Number of Papers per Reviewer","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"Yes","order":9,"name":"external_reviewers_involved","label":"External Reviewers Involved","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}},{"value":"The proceedings also include 2 tool papers, 2 NIER papers, and 2 competition papers","order":10,"name":"additional_info_on_review_process","label":"Additional Info on Review Process","group":{"name":"ConfEventPeerReviewInformation","label":"Peer Review Information (provided by the conference organizers)"}}]}}