Skip to content
This repository
branch: master

Sep 30, 2008

  1. Giles

    Pulling to_ruby() out of pure node-analysis methods. Putting it in sp…

    …ecs (for now).
    authored September 30, 2008

Sep 29, 2008

  1. Giles

    Better variable name, restored comment.

    authored September 29, 2008
  2. Giles

    Tiny change for readability.

    authored September 29, 2008
  3. Giles

    Tidying up.

    authored September 29, 2008
  4. Giles

    Refactoring.

    authored September 29, 2008
  5. Giles

    Refactor, plus Towelie can now do diffs with arbitrary thresholds, i.…

    …e., find methods which are identical except for one node, find methods which are identical except for two nodes, etc., for any N nodes. What would be really cool is if it could recognize when those diff nodes were method calls vs. literals, e.g., strings, numbers, etc., because literals are easier to parameterize.
    authored September 29, 2008
  6. Giles

    New spec which documents that Towelie's one-node-diff ability is not …

    …a complete straw man.
    authored September 28, 2008
  7. Giles

    Comment.

    authored September 28, 2008
  8. Giles

    Refactoring.

    authored September 28, 2008
  9. Giles

    Indentation.

    authored September 28, 2008
  10. Giles

    Weird refactoring. I threw methods on individual objects rather than …

    …creating classes even though the effect is essentially the same. Just took less code and required me to change less stuff.
    authored September 28, 2008
  11. Giles

    Refactoring: added a #stepwise() method to Array, and used it in homo…

    …nyms(). For some reason diff-node spec failing so I had to switch the order of the methods in the ruby2ruby output. That makes no sense and is a flaw not in my code but in my testing strategy. I should be testing on the data, not the pretty-printing. Fail! Well whatever, I'll fix it later.
    authored September 28, 2008
  12. Giles

    Clarification.

    authored September 28, 2008
  13. Giles

    Towelie can find nodes that differ by only one thing they contain. Th…

    …is means you can have two methods - well, you'll see it in the spec data dir, but basically - you can have two methods which differ only by one thing, e.g., a literal or a method call, and if those two methods exist which only differ by one thing, Towelie goes hey, you got two methods here that only differ by one thing. The theory of course is that highly similar methods are prime targets for refactoring. The existing implementation is clumsy, but should improve soon I hope.
    authored September 28, 2008
  14. Giles

    Well, this is pretty crazy. I just put back in the shit I removed. Mu…

    …st be tired or something.
    authored September 28, 2008
  15. Giles

    Test data for one-node shit.

    authored September 28, 2008
  16. Giles

    Took out specs for stuff I'm not doing yet. Also changed load() to pa…

    …rse(). I'm damn near certain I'll refactor that soon.
    authored September 28, 2008
  17. Giles

    I don't actually need it to get me a sandwich.

    authored September 28, 2008
  18. Giles

    Merge branch 'similarity'

    authored September 28, 2008
  19. Giles

    Towelie skips svn as well as git.

    authored September 28, 2008

Sep 19, 2008

  1. Giles

    Skip svn dirs as well as git.

    authored September 18, 2008
  2. Giles

    New stuff I want to add.

    authored September 18, 2008

Sep 18, 2008

  1. Giles

    Took out unnecessary repetition in specs.

    authored September 18, 2008

Sep 14, 2008

  1. Giles

    Spec refactoring.

    authored September 14, 2008

Sep 13, 2008

  1. Giles

    Erased inaccurate comment.

    authored September 13, 2008
  2. Giles

    Towelie now has the ability to compare methods from the top-level, me…

    …thods from within classes, and methods from within modules.
    authored September 13, 2008
  3. Giles

    Corrected a comment.

    authored September 13, 2008
  4. Giles

    Refactored to inject() again.

    authored September 13, 2008
  5. Giles

    Refactored to inject().

    authored September 13, 2008
  6. Giles

    More readable to_ruby() method.

    authored September 12, 2008
  7. Giles

    No false positives for duplication?() method.

    authored September 12, 2008
  8. Giles

    Towelie can now pull out distinct methods which have the same name.

    Probably the next step is for the parsing process to retain some metadata, i.e., filename - otherwise this info is of limited usefulness.
    authored September 12, 2008
  9. Giles

    Refactor: moved repeated sexp-to-Ruby code to separate method.

    authored September 12, 2008
  10. Giles

    Towelie now extracts unique methods as well as duplicated ones.

    authored September 12, 2008

Sep 12, 2008

  1. Giles

    Towelie can now identify a very simple type of duplication.

    authored September 12, 2008
Something went wrong with that request. Please try again.