WebAssembly(Wasm)是一种二进制指令格式,旨在沙箱环境(主要是 Web 应用和浏览器)中安全、高效地执行,以提升 Web 编程语言的性能、安全性和灵活性。近年来,Wasm 在学术研究界和工业开发项目中受到广泛关注,被用于构建高性能 Web 应用。尽管 Wasm 具有上述优势,开发者仍会遇到大量源于 Wasm 的问题(例如故障、错误、失效),并且往往不了解影响 Web 应用开发的这些问题的根本原因。为此,我们开展了一项实证研究,挖掘并记录了实践者的知识:这些知识表现为来自 GitHub 上部署的 12 个开源 Wasm 项目的 385 个 issue,以及通过 Stack Overflow 获取的 354 个问答帖子。总体而言,我们识别出 120 种问题类型,并将其划分为 19 个子类和 9 个大类,从而建立了基于 Wasm 的应用中所遇问题的分类体系。此外,对问题的根本原因分析帮助我们识别出 278 种成因,并将其划分为 29 个子类和 10 个大类,形成成因分类体系。我们的研究首次提出了开发者在基于 Wasm 的应用中面临的问题及其根本原因的分类体系。这些从 GitHub 和 SO 中识别出的问题—成因分类体系提供了基于实证得出的指导原则,可指导研究人员和从业者设计、开发和重构基于 Wasm 的应用。
英文摘要:
WebAssembly (Wasm) is a binary instruction format designed for secure and efficient execution within sandboxed environments -- predominantly web apps and browsers -- to facilitate performance, security, and flexibility of web programming languages. In recent years, Wasm has gained significant attention from the academic research community and industrial development projects to engineer high-performance web applications. Despite the offered benefits, developers encounter a multitude of issues rooted in Wasm (e.g., faults, errors, failures) and are often unaware of their root causes that impact the development of web applications. To this end, we conducted an empirical study that mines and documents practitioners' knowledge expressed as 385 issues from 12 open-source Wasm projects deployed on GitHub and 354 question-answer posts via Stack Overflow. Overall, we identified 120 types of issues, which were categorized into 19 subcategories and 9 categories to create a taxonomical classification of issues encountered in Wasm-based applications. Furthermore, root cause analysis of the issues helped us identify 278 types of causes, which have been categorized into 29 subcategories and 10 categories as a taxonomy of causes. Our study led to first-of-its-kind taxonomies of the issues faced by developers and their underlying causes in Wasm-based applications. The issue-cause taxonomies -- identified from GitHub and SO, offering empirically derived guidelines -- can guide researchers and practitioners to design, develop, and refactor Wasm-based applications.
Understanding the Issues, Their Causes and Solutions in Microservices Systems: An Empirical Study
Tampere University(坦佩雷大学);Wuhan University(武汉大学);University of Derby(德比大学);University of Oulu(奥卢大学);RMIT University(皇家墨尔本理工大学);University of Jyväskylä(于韦斯屈莱大学)
LLM-based Vulnerability Detection at Project Scale: An Empirical Study
School of Computer Software, College of Intelligence and Computing, Tianjin University(天津大学计算机科学与技术学院);International Joint Institute of Tianjin University(天津大学国际联合学院);Key Laboratory of High Confidence Software Technologies (Peking University), Ministry of Education, School of Computer Science, Peking University(北京大学计算机科学学院,教育部高可信软件技术重点实验室)
Is this Build Failure Related to my Patch? An Empirical Study of Unrelated Build Failures in Continuous Integration
University of Otago School of Computing(奥塔哥大学计算机学院);Royal Military College of Canada Department of Mathematics and Computer Science(加拿大皇家军事学院数学与计算机科学系)
Towards Evaluation Engineering: An Empirical Study of ML Evaluation Harnesses in the Wild
Software Analysis and Intelligence Lab (SAIL), School of Computing, Queen's University(软件分析与智能实验室(SAIL),计算学院,女王大学);Concordia University(Concordia大学);Lahore University of Management Sciences (LUMS)(拉合尔管理科学大学(LUMS))
Demystifying Issues, Causes and Solutions in LLM Open-Source Projects
School of Computer Science, Wuhan University(武汉大学计算机学院);School of Computer Science & Hubei Provincial Key Laboratory of Artificial Intelligence and Smart Learning, Central China Normal University(华中师范大学计算机学院);School of Computing Technologies, RMIT University(RMIT大学计算技术学院)