76 citations · 82 across the 9 of their papers we have counts for
9 papers
Understanding the Energy Impact of Software Refactoring: A Workload-Aware Study of Controlled Examples and Real-World Commits
Haibo Wang, Heng Li, Shin Hwei Tan
Refactoring improves software maintainability while preserving functional behavior, yet behavior preservation does not imply energy neutrality. Existing studies primarily examine i…
Ethics Testing: Proactive Identification of Generative AI System Harms
Shin Hwei Tan, Haibo Wang, Heng Li
Generative Artificial Intelligence (GAI) systems that can automatically generate content in the form of source code or other contents (e.g., images) has seen increasing popularity…
Think Before You Code: Dual Reasoning for the NLSafety-Utility Trade-Off in LLM Code Generation
Honghao Tan, Haibo Wang, Shin Hwei Tan
Large language models (LLMs) for code generation are typically evaluated on functional correctness alone, overlooking whether generated code propagates harmful content embedded in…
Automated Harmfulness Testing for Code Large Language Models
Honghao Tan, Haibo Wang, Diany Pressato +2
Generative AI systems powered by Large Language Models (LLMs) usually use content moderation to prevent harmful content spread. To evaluate the robustness of content moderation, se…
Testing Refactoring Engine via Historical Bug Report driven LLM
Haibo Wang, Zhuolin Xu, Shin Hwei Tan
Refactoring is the process of restructuring existing code without changing its external behavior while improving its internal structure. Refactoring engines are integral components…
An Empirical Study of Refactoring Engine Bugs
Haibo Wang, Zhuolin Xu, Huaien Zhang +2
Refactoring is a critical process in software development, aiming at improving the internal structure of code while preserving its external behavior. Refactoring engines are integr…
Moving beyond Deletions: Program Simplification via Diverse Program Transformations
Haibo Wang, Zezhong Xing, Zheng Wang +2
To reduce the complexity of software, Developers manually simplify program (known as developer-induced program simplification in this paper) to reduce its code size yet preserving…
Automatic Detecting Unethical Behavior in Open-source Software Projects
Hsu Myat Win, Haibo Wang, Shin Hwei Tan
Given the rapid growth of Open-Source Software (OSS) projects, ethical considerations are becoming more important. Past studies focused on specific ethical issues (e.g., gender bia…
Automated Conformance Testing for JavaScript Engines via Deep Compiler Fuzzing
Guixin Ye, Zhanyong Tang, Shin Hwei Tan +6
JavaScript (JS) is a popular, platform-independent programming language. To ensure the interoperability of JS programs across different platforms, the implementation of a JS engine…