A Code Refactoring Dataset and Its Assessment Regarding Software Maintainability — Istvan Kadar

We all love refactoring, but? How and why do developers apply refactorings in practice? Istvan introduces a dataset with refactorings, for everyone to use, yeah!

The data has 37 releases of 7 open source Java systems, refactorings, source code metrics and maintainability information on class and method level. The dataset is available.

He uses it to answer the following questions.

R1 Maintainability of refactored classes.

2016-03-16 14.47.09

Result: Classes with poor maintainability are subject to more refactorings.

R2 The effect of refactorings on source code metrics

2016-03-16 14.49.33

Result: Refactorings decreased: coupling, size complexity, clones, total lines of code.

2 Comments

  1. Lov Kumar

    Very good paper. Can you please share your paper.
    I need some information about the metrics used in your study.
    E-mail: lovkumar505@gmail.com

    1. felienne (Post author)

      Hi Lov,

      I do not have the paper, you should ask the authors.

      Felienne

Comments are closed.