Giter Site home page Giter Site logo

sbes_2022's Introduction

SBES 2022

Analyzing Test Smells Refactoring from a Developers Perspective

Abstract

Test smells represent a set of poorly designed tests, which can harm a test code’s maintenance and quality criteria. Although fundamental steps to understand test smells have been investigated, there is still an evident lack of studies that evaluate the impact of test smell refactoring from the perspective of internal quality attributes, such as: size, cohesion, coupling and complexity. In addition, the literature still lacks research that addresses the difficulties developers encounter during test smells refactoring. The paper aims to investigate the impact of test smells refactoring from developers’ perspective and internal quality attributes. We investigated the perceptions and difficulties encountered by 20 developers while removing 5 types of test smells in 4 open-source projects over 2 months. Through this experiment, we analyzed: (i) the impact that test smells refactoring has on internal quality attributes; (ii) developers’ perception of test smells, as real problems within a system; and, (iii) main difficulties encountered by developers during test smells refactoring. Our findings indicate that: (i) the Eager Test and Duplicate Assert test smells are the most harmful to the internal quality of the system; (ii) the refactoring test smells the source code easier to understand; (iii) some developers do not consider test smells as real problems within a software project; (iv) the developers did not consider the Assertion Roulette and Magic Number Test smells to be real problems; and, (v) understanding the source code is one of the main difficulties encountered by developers. Our findings can help developers design a prioritization scheme for test smells refactoring and make them aware of the real benefits of refactoring test smells.

sbes_2022's People

Contributors

1bertt avatar aurelianosza avatar beatrizoliver avatar cibellerodrigues avatar d4rwln avatar gabrielnogueirabezerra avatar laurocosta avatar marlo2222 avatar raulbezerra avatar rochamarinaa avatar susanamcosta avatar victor2504 avatar wilken-hub avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.