Skip to content
Open access

NoseSense: Benchmarking LLMs for Test Smell Detection

Sep 2026 · Brazilian Symposium on Systematic and Automated Software Testing · pp. 159-168 · 0 citations · 28 references

TL;DR

NoseSense provides a robust and reproducible foundation for monitoring LLM capabilities in software quality assurance, with a publicly available dataset, replication package, and benchmark implementation.

Abstract

Unit test quality is a critical concern in software engineering, as anti-patterns in test code (known as test smells) compromise maintainability and reliability of test suites. The rapid evolution of Large Language Models (LLMs) has motivated their application to this domain, yet the pace of model releases renders point-in-time empirical studies quickly outdated. In this paper, we develop NoseSense, a benchmark designed to enable systematic and reproducible evaluation of LLMs for test smell detection.We mined 1,275 open-source Java repositories, applied the JNose static analysis tool to curate a balanced dataset of 1,100 real test smell instances, and evaluated six state-of-the-art models through a dedicated automated tool. The results indicate that model scale and generation significantly impact performance: Gemma-4-31B-it achieved the highest accuracy (67.36%), whereas the smaller-scale Gemma-3n-E4B-it achieved 38.55%. NoseSense provides a robust and reproducible foundation for monitoring LLM capabilities in software quality assurance, with a publicly available dataset, replication package, and benchmark implementation.

Read PDF

Similar papers

Open access 2026

Fine-Tuning UniXcoder for Code Smell Detection in Java Projects

This study investigates the application of UniXcoder, a pre-trained transformer model for source code, to classify Java source code methods across multiple projects as smell or clean, with a particular focus on the Switch Statements smell, and confirms that pre-trained transformer models, particularly UniXcoder, are ca...

Hanson Prihantoro Putro, Umi Laili Yuhana, E. M. Yuniarno et al. · 0 citations

Detection: Prompt Engineering vs Fine Tuning

This research investigates Large Language Models (LLMs), which are considered among the most performant AI models to date, for the CVD task, and high-light the importance of tuning to resolve the task, the performance of Double tuning, as well as the potential of Llama models for CVD.

Dyna Soumhane, Stéphane Dupont · 0 citations
Preprint Nov 2026

Finding the Pivots to Repair Broken Source-Test Evolution Using LLMs

Repairing obsolete tests in response to source code evolution is critical for test suite reliability and software quality assurance. While large language models (LLMs) have emerged as promising tools for automating many software development tasks, the effective supply of context and the orchestration of repair pipeline...

Xiao Chen, Song-Qiang Chen, Jia-Lun Cao et al. · 0 citations

Evaluation of large language models in api testing using open API documentation

This study evaluates the effectiveness of multiple state-of-the-art LLMs in generating executable REST API test cases from OpenAPI documentation and proposes a generalized prompt template that balances reasoning quality and practical usability for exploratory API testing.

Phyu Thet Thet Kyaw · 0 citations
Preprint Oct 2026

BenchChecker: Assessing the Credibility of Bug-Fixing Benchmarks for LLMs

While Large Language Models (LLMs) show promise for Automatic Program Repair (APR), existing benchmarks suffer from data contamination, in which test samples appear in training sets, artificially inflating performance. To address this, we propose BenchChecker, a framework compatible with both open-source and closed-sou...

Di Wu, Xu He, Shu Wang et al. · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.