Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Refactorings

Discussion
2012-04-04
2012-10-09
  • Dear Sir / Madam

    we are researchers from Greece who are studying the trends of several quality
    characteristics for evolving software systems.

    As part of our research we used your project aTunes and we noticed that for
    the last 4 months, aTunes has been undergoing major maintenance processing
    through refactorings.

    In order to be able to assess the effect that refactorings may have on the
    project's quality characteristics we kindly ask you to provide us with some
    further information about the type of refactorings.

    For example we would be grateful if you could inform us about the motivation.

    In the commit history the description of every commit is just "Refactoring",
    so we are unable to understand the type of refactoring.

    Thanking you in advance,

    Theodore
    Georgina

    University of Macedonia
    Thessaloniki
    Greece

     
  • fleax
    fleax
    2012-04-09

    Refactoring is being done mainly to improve quality of code, as some parts of
    code were written a long time ago and almost never refactored. Another
    motivation is to make code easier to test, so adding unit tests will become
    easier.

    Main refactorings used:

    Extract Class
    Extract Interface
    Extract Method
    Move Method
    Introduce Null Object

    Also code has been changed following violations found with FindBugs and a
    Sonar server.