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

2025/12/15 05:09

:::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.00000001527
$0.00000001527$0.00000001527
-11.58%
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

Today’s Wordle #1552 Hints And Answer For Thursday, September 18th

Today’s Wordle #1552 Hints And Answer For Thursday, September 18th

The post Today’s Wordle #1552 Hints And Answer For Thursday, September 18th appeared on BitcoinEthereumNews.com. How to solve today’s Wordle. SOPA Images/LightRocket via Getty Images I posted the Wordle Wednesday riddle yesterday, but somehow had deleted it when the post went live, so the riddle itself went up late. If you missed it, my apologies. In any case, the solution is below, but first, here was the (late) riddle: “I’m the beginning of the end and the end of time and space. I am in everything and surround every place. What am I?” The answer: The letter “E”. It’s the beginning of End and the end of timE and spacE. It’s in evErything and surrounds Every placE. Kind of clever. It would be much harder if you heard the riddle spoken. Looking for Tuesday’s Wordle? Check out our guide right here. How To Play Wordle Wordle is a daily word puzzle game where your goal is to guess a hidden five-letter word in six tries or fewer. After each guess, the game gives feedback to help you get closer to the answer: Green: The letter is in the word and in the correct spot. Yellow: The letter is in the word, but in the wrong spot. Gray: The letter is not in the word at all. Use these clues to narrow down your guesses. Every day brings a new word, and everyone around the world is trying to solve the same puzzle. Some Wordlers also play Competitive Wordle against friends, family, the Wordle Bot or even against me, your humble narrator. See rules for Competitive Wordle toward the end of this post. Today’s Wordle Hints And Answer Wordle Bot’s Starting Word: SLATE My Starting Word Today: TRAIL (189 words remaining) The Hint: This Wordle cuts to the bone. The Clue: This Wordle starts with a silent letter. Okay, spoilers below! The answer is coming! .…
Share
BitcoinEthereumNews2025/09/18 09:05
Unshakable Conviction: Why LD Capital’s Founder Sees Strong ETH Fundamentals Amid Market Volatility

Unshakable Conviction: Why LD Capital’s Founder Sees Strong ETH Fundamentals Amid Market Volatility

BitcoinWorld Unshakable Conviction: Why LD Capital’s Founder Sees Strong ETH Fundamentals Amid Market Volatility In the turbulent seas of cryptocurrency markets
Share
bitcoinworld2025/12/16 17:55
Unusual Tuesday release for US jobs report – Commerzbank

Unusual Tuesday release for US jobs report – Commerzbank

The post Unusual Tuesday release for US jobs report – Commerzbank appeared on BitcoinEthereumNews.com. The US labour market report breaks with tradition by landing
Share
BitcoinEthereumNews2025/12/16 17:46