Categories: None [Edit]

flay

https://rubygems.org/gems/flay
https://github.com/seattlerb/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.

Total

Ranking: 1,357 of 192,104
Downloads: 31,667,387

Daily

Ranking: 1,681 of 192,085
Downloads: 3,250

Depended by

RankDownloadsName
1,93615,635,650rubycritic
3,1854,677,960pronto-flay
4,3542,125,597metric_fu
5,8381,038,582jekyll-algolia
5,8401,036,739algolia_html_extractor
6,329854,233rltk
8,062503,848quality
8,576438,957devise-secure_password
8,649432,226filigree
9,840327,350contrast-agent
10,074310,833fudge
10,801266,870cosmos
11,253244,972api_resource
11,429237,018erp_integration
13,250175,651logput
13,812162,086algoliasearch-jekyll
16,011122,406flay-js
16,357117,796devtools
16,934111,113rails_code_qa
17,055109,649coppertone

Depends on

RankDownloadsName
141,193,389,048minitest
77575,080,928erubi
167294,404,660rdoc
333145,564,226sexp_processor
390125,572,083prism
1,18538,628,626path_expander
1,72319,639,387ruby2ruby
2,3439,227,476hoe

Owners

#GravatarHandle
1iconzenspider