Sign in Sign up
rubygems

flay

Flay analyzes code for structural similarities. Differences in literal values, variable, class, method names, whitespace, programming style, braces vs do/end, etc are all ignored. Making this totally rad. == Features/Problems: * Reports differences at any level of code. * Adds a score multiplier to identical nodes. * Differences in literal values, variable, class, and method names are ignored. * Differences in whitespace, programming style, braces vs do/end, etc are ignored. * Works across files. * Add the flay-persistent plugin to work across large/many projects. * Run --diff to see an N-way diff of the code. * Provides conservative (default) and --liberal pruning options. * Provides --fuzzy duplication detection. * Language independent: Plugin system allows other languages to be flayed. * Ships with .rb and .erb. * javascript and others will be available separately. * Includes FlayTask for Rakefiles. * Uses path_expander, so you can use: * dir_arg -- expand a directory automatically * @file_of_args -- persist arguments in a file * -path_to_subtract -- ignore intersecting subsets of files/directories * Skips files matched via patterns in .flayignore (subset format of .gitignore). * Totally rad.

Activity

Latest release
5mo ago
Total releases
37
Cadence
~3 months
Last 12 months
5

Details

License
MIT
First release
Nov 06, 2008
Releases
Version Released
2.14.4 patch
2.14.3 patch
2.14.2 patch
2.14.1 patch
2.14.0 minor
2.13.3 patch
2.13.2 patch
2.13.1 patch
2.13.0 minor
2.12.1 patch
2.12.0 minor
2.11.0 minor
2.10.0 minor
2.9.0 minor
2.8.1 patch
2.8.0 minor
2.7.0 minor
2.6.1 patch
2.6.0 minor
2.5.0 minor
2.4.0 minor
2.3.1 patch
2.3.0 minor
2.2.0 minor
2.1.0 minor
2.0.1 patch
2.0.0 major
2.0.0.b1 pre
1.4.3 patch
1.4.2 patch
1.4.1 patch
1.4.0 minor
1.3.0 minor
1.2.1 patch
1.2.0 minor
1.1.0 minor
1.0.0 initial