サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ノーベル賞
ruby.sadi.st
Flay analyzes ruby code for structural similarities. Differences in literal values, names, whitespace, and programming style are all ignored. Code that flay reports as similar is a good candidate for refactoring. Try this: % sudo gem install flay % flay lib/*.rb and see what you find.
Confessions of a Ruby Sadist The time has come to show your code who’s boss. Flog Flog shows you the most torturous code you wrote. The more painful the code, the higher the score. Run it against your best stuff. I double-dog dare you. Flay Flay analyzes ruby code for structural similarities. Differences in literal values, names, whitespace, and programming style are all ignored. Heckle Think you
Flog shows you the most torturous code you wrote. The more painful the code, the higher the score. The higher the score, the harder it is to test. Run it against your best stuff. I double-dog dare you. Flog essentially scores an ABC metric: Assignments, Branches, Calls, with particular attention placed on calls. Run flog on all your code. Try this: find lib -name \*.rb | xargs flog Whatever is at
このページを最初にブックマークしてみませんか?
『ruby.sadi.st』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く