vesperin / vesper

source code curation library for Java 1.6 and above
1 stars 0 forks source link

Finish Deduplicate Source code #11

Closed hsanchez closed 10 years ago

hsanchez commented 10 years ago

NOTE: Please use the detect-duplicate-code branch to include any new changes.

As of now, only the detector for duplicated methods is in. The deduplicate strategy is in. However, it is incomplete (See edu.ucsc.refactor.internal.changers.DeduplicateCode). The description of what is needed to complete this feature is described in that class.

In order for this feature to be completed, one must

  1. finish the DeduplicateCode class
  2. test this class (see ChangersTest): two tests should be included, one for the valid case, and the other one for an invalid case (trying to deduplicate when no duplicated code has been detected)
  3. run AllTests and all tests passed.
  4. run the ant build's test task.
  5. make a PullRequest.