Test oracles play a crucial role in software testing, enabling effective bug detection. Despite initial promise, neural-based methods for automated test oracle generation often result in a …
D Hayatpur, B Hempel, K Chen, W Duan… - Proceedings of the CHI …, 2024 - dl.acm.org
Documentation in codebases facilitates knowledge transfer. But tools for programming are largely text-based, and so developers resort to creating ASCII diagrams—graphical artifacts …
When a method throws an exception—its exception precondition—is a crucial element of the method's documentation that clients should know to properly use it. Unfortunately …
Z Xu, S Guo, Y Wang, R Chen, H Li… - IEEE Transactions on …, 2024 - ieeexplore.ieee.org
Code comments are a crucial source of software documentation that captures various aspects of the code. Such comments play a vital role in understanding the source code and …
J Zhang, Y Liu, P Nie, JJ Li, M Gligoric - arXiv preprint arXiv:2405.14619, 2024 - arxiv.org
Many popular programming languages, including C#, Java, and Python, support exceptions. Exceptions are thrown during program execution if an unwanted event happens, eg, a …
IT Leong, R Barbosa - Journal of Systems and Software, 2024 - Elsevier
Higher-order logic can be used for meaning representation in natural language processing to encode the semantic relationships in text. Alternatively, using a formal specification …
Y Mai, Z Gao, X Hu, L Bao, Y Liu, J Sun - arXiv preprint arXiv:2405.03509, 2024 - arxiv.org
Inspired by the great potential of Large Language Models (LLMs) for solving complex coding tasks, in this paper, we propose a novel approach, named Code2API, to automatically …
K Liu, Y Liu, Z Chen, JM Zhang, Y Han, Y Ma… - arXiv preprint arXiv …, 2024 - arxiv.org
Conventional automated test generation tools struggle to generate test oracles and tricky bug-revealing test inputs. Large Language Models (LLMs) can be prompted to produce test …
Y Huang, Y Chen, X Chen, X Zhou - arXiv preprint arXiv:2403.00251, 2024 - arxiv.org
In software development and maintenance, code comments can help developers understand source code, and improve communication among developers. However …