Cristin-resultat-ID: 1000293
Sist endret: 6. januar 2014, 15:21
NVI-rapporteringsår: 2013
Resultat
Vitenskapelig artikkel
2013

Quantifying the Effect of Code Smells on Maintenance Effort

Bidragsytere:
  • Dag Sjøberg
  • Aiko Amparo Fallas Yamashita
  • Bente Cecilie D Anda
  • Audris Mockus og
  • Tore Dybå

Tidsskrift

IEEE Transactions on Software Engineering
ISSN 0098-5589
e-ISSN 1939-3520
NVI-nivå 2

Om resultatet

Vitenskapelig artikkel
Publiseringsår: 2013
Publisert online: 2013
Trykket: 2013
Volum: 39
Hefte: 8
Sider: 1144 - 1156

Importkilder

Isi-ID: 000322388400007

Beskrivelse Beskrivelse

Tittel

Quantifying the Effect of Code Smells on Maintenance Effort

Sammendrag

Context: Code smells are assumed to indicate bad design that leads to less maintainable code. However, this assumption has not been investigated in controlled studies with professional software developers. Aim: This paper investigates the relationship between code smells and maintenance effort. Method: Six developers were hired to perform three maintenance tasks each on four functionally equivalent Java systems originally implemented by different companies. Each developer spent three to four weeks. In total, they modified 298 Java files in the four systems. An Eclipse IDE plug-in measured the exact amount of time a developer spent maintaining each file. Regression analysis was used to explain the effort using file properties, including the number of smells. Results: None of the 12 investigated smells was significantly associated with increased effort after we adjusted for file size and the number of changes; Refused Bequest was significantly associated with decreased effort. File size and the number of changes explained almost all of the modeled variation in effort. Conclusion: The effects of the 12 smells on maintenance effort were limited. To reduce maintenance effort, a focus on reducing code size and the work practices that limit the number of changes may be more beneficial than refactoring code smells.

Bidragsytere

Aktiv cristin-person

Dag Sjøberg

  • Tilknyttet:
    Forfatter
    ved Forskningsgruppen for programmering og software engineering ved Universitetet i Oslo

Aiko Yamashita

Bidragsyterens navn vises på dette resultatet som Aiko Amparo Fallas Yamashita
  • Tilknyttet:
    Forfatter
    ved Informasjonssystemer ved Universitetet i Oslo

Bente Cecilie D Anda

  • Tilknyttet:
    Forfatter
    ved Forskningsgruppen for programmering og software engineering ved Universitetet i Oslo

Audris Mockus

  • Tilknyttet:
    Forfatter
    ved USA
Aktiv cristin-person

Tore Dybå

  • Tilknyttet:
    Forfatter
    ved Forskningsgruppen for programmering og software engineering ved Universitetet i Oslo
  • Tilknyttet:
    Forfatter
    ved Software Engineering, Safety and Security ved SINTEF AS
1 - 5 av 5