An empirical study and replication reveal that developers frequently misperceive the effectiveness of testing and code review techniques. These misjudgments—oftenAn empirical study and replication reveal that developers frequently misperceive the effectiveness of testing and code review techniques. These misjudgments—often

Why Developers Keep Picking the Wrong Testing Techniques

:::info Authors:

  1. Sira Vegas
  2. Patricia Riofr´ıo
  3. Esperanza Marcos
  4. Natalia Juristo

:::

Abstract

1 Introduction

2 Original Study: Research Questions and Methodology

3 Original Study: Validity Threats

4 Original Study: Results

5 Replicated Study: Research Questions and Methodology

6 Replicated Study: Validity Threats

7 Replicated Study: Results

8 Discussion

9 Related Work

10 Conclusions And References

Abstract

A recurring problem in software development is incorrect decision making on the techniques, methods and tools to be used. Mostly, these decisions are based on developers’ perceptions about them. A factor influencing people’s perceptions is past experience, but it is not the only one. In this research, we aim to discover how well the perceptions of the defect detection effectiveness of different techniques match their real effectiveness in the absence of prior experience.

\ To do this, we conduct an empirical study plus a replication. During the original study, we conduct a controlled experiment with students applying two testing techniques and a code review technique. At the end of the experiment, they take a survey to find out which technique they perceive to be most effective. The results show that participants’ perceptions are wrong and that this mismatch is costly in terms of quality.

\ In order to gain further insight into the results, we replicate the controlled experiment and extend the survey to include questions about participants’ opinions on the techniques and programs. The results of the replicated study confirm the findings of the original study and suggest that participants’ perceptions might be based not on their opinions about complexity or preferences for techniques but on how well they think that they have applied the techniques.

1. Introduction

An increasingly more popular practice nowadays is for software development companies to let developers choose their own technological environment. This means that different developers may use different productivity tools (programming language, IDE, etc.). However, software engineering (SE) is a humanintensive discipline where wrong decisions can potentially compromise the quality of the resulting software. In SE, decisions on which methods, techniques and tools to use in software development are typically based on developers’ perceptions and/or opinions rather than evidence, as suggested by Dyb˚a et al. [19] and Zelkowitz et al. [55].

\ However, empirical evidence might not be available, as certain methods, techniques or tools may not have been studied within a particular setting or even at all. Alternatively, developers may simply not be acquainted with such studies, according to Vegas & Basili [49]. On this ground, it is important to discover how well developers perceptions (beliefs) match reality and, if they do not, find out what is behind this mismatch, as noted by Devanbu et al.[14]. According to Psychology, experience plays a role in people’s perceptions. This has also been observed by Devanbu et al. [14] in SE.

\ However, this research sets out to discover how well matched perceptions are with reality in the absence of previous experience in the technology being used. This makes sense for several reasons: 1) experience is not the only factor affecting developers’ perceptions; 2) development teams are usually composed of a mix of people with and without experience; and 3) it is not clear what type of experience influences perceptions. For example, Dieste et al. [17] conclude that academic rather than professional experience could be affecting the external quality of the code generated by developers when applying Test-Driven Development.

\ We aim to study whether perceptions about the effectiveness of three defect detection techniques match reality, and if not, what is behind these perceptions. To the best of our knowledge, this is the first paper to empirically assess this issue. To this end, we conducted an empirical study plus a replication with students. During the original study we measured (as part of a controlled experiment) the effectiveness of two testing techniques and one code review technique when applied by the participants. We then checked the perceived most effective technique (gathered by means of a survey) against the real one.

\ Additionally, we analysed the cost of the mismatch between perceptions and reality in terms of loss of effectiveness. Major findings include:

– Different people perceive different techniques to be more effective. No one technique is perceived as being more effective than the others. – The perceptions of 50% of participants (11 out of 23) are wrong.

– Wrong perception of techniques can reduce effectiveness 31pp (percentage points) on average.

\ These findings led us to extend the goal of the study in a replication to investigate what could be behind participants’ perceptions. To do this, we examined their opinions on the techniques they applied and the programs they tested in a replication of the controlled experiment. Major findings include:

– The results of the replication confirm the findings of the original study.

– Participants think that technique effectiveness depends exclusively on their performance and not on possible weaknesses of the technique itself. – The opinions about technique complexity and preferences for techniques do not seem to play a role in perceived effectiveness. These results are useful for developers and researchers. They suggest:

– Developers should become aware of the limitations of their judgement.

– Tools should be designed that provide feedback to developers on how effective techniques are.

– The best combination of techniques to apply should be determined that is at the same time easily applicable and effective. – Instruments should be developed to make empirical results available to developers.

\ The material associated to the studies presented here can be found at https://github.com/GRISE-UPM/Misperceptions. The article is organised as follows. Section 2 describes the original study. Section 3 presents its validity threats. Section 4 discusses the results. Section 5 describes the replicated study based on the modifications made to the original study. Section 6 presents its validity threats. Section 7 reports the results of this replicated study. Section 8 discusses our findings and their implications. Section 9 shows related work. Finally, Section 10 outlines the conclusions of this work.

\ \

:::info This paper is available on arxiv under CC BY-NC-ND 4.0 license.

:::

\

Market Opportunity
WHY Logo
WHY Price(WHY)
$0.00000001529
$0.00000001529$0.00000001529
0.00%
USD
WHY (WHY) Live Price Chart
Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

Exploring the Future of the Internet with ‘web3 with a16z’

Exploring the Future of the Internet with ‘web3 with a16z’

The post Exploring the Future of the Internet with ‘web3 with a16z’ appeared on BitcoinEthereumNews.com. Peter Zhang Sep 18, 2025 22:39 The podcast ‘web3 with a16z’ explores the transformative potential of Web3, offering insights from key industry figures on how this new internet era empowers users to own digital content. The podcast series “web3 with a16z” is shedding light on the transformative potential of the next generation of the internet, commonly referred to as Web3. This series, produced by a16z crypto, delves into how this burgeoning internet era empowers users, from artists to developers, to not just read or write but to own pieces of the digital landscape. Understanding Web3 In contrast to its predecessors, Web1 and Web2, which focused on reading and writing capabilities, Web3 introduces the concept of ownership. This shift is unlocking unprecedented levels of creativity and entrepreneurship, as individuals and organizations can now have a stake in the digital content they create or engage with. According to the a16z crypto, this ownership aspect is crucial in driving the next wave of innovation and economic opportunity in the digital realm. Diverse Content and Expert Insights The podcast doesn’t just stop at explaining the concepts; it offers a variety of formats and topics that cater to different interests within the crypto and Web3 space. From the latest trends to in-depth research and data insights, “web3 with a16z” provides a platform for top scientists and industry leaders to share their knowledge and expertise. This makes it a valuable resource for anyone looking to understand the nuances of crypto and the broader implications of Web3. A Resource for Builders and Users One of the core aims of the podcast is to serve as a definitive guide for both builders and users of the internet. Whether you are a coder, a company, or a community, the insights provided…
Share
BitcoinEthereumNews2025/09/19 19:50
Unstoppable: Why No Public Company Can Ever Catch MicroStrategy’s Massive Bitcoin Holdings

Unstoppable: Why No Public Company Can Ever Catch MicroStrategy’s Massive Bitcoin Holdings

BitcoinWorld Unstoppable: Why No Public Company Can Ever Catch MicroStrategy’s Massive Bitcoin Holdings Imagine trying to build a mountain of gold, only to discover
Share
bitcoinworld2025/12/17 14:30
How Crypto Could Reshape Finance, AI, and Privacy by 2026: A16z Crypto

How Crypto Could Reshape Finance, AI, and Privacy by 2026: A16z Crypto

The post How Crypto Could Reshape Finance, AI, and Privacy by 2026: A16z Crypto appeared on BitcoinEthereumNews.com. From stablecoin payments to AI-driven agents
Share
BitcoinEthereumNews2025/12/17 14:38