The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
flog version 1.1.0 has been released!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Ryan Davis

Posts: 651
Nickname: zenspider
Registered: Oct, 2004

Ryan Davis is a ruby nerd.
flog version 1.1.0 has been released! Posted: Aug 21, 2007 6:56 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Ryan Davis.
Original Post: flog version 1.1.0 has been released!
Feed Title: Polishing Ruby
Feed URL: http://blog.zenspider.com/index.rdf
Feed Description: Musings on Ruby and the Ruby Community...
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Ryan Davis
Latest Posts From Polishing Ruby

Advertisement

Flog reports the most tortured code in an easy to read pain report. The higher the score, the more pain the code is in.

% ./bin/flog bin/flog
Total score = 128.7

Flog#report: (21)
     4: puts
     2: sort_by
...

Changes:

  • 3 major enhancements:
    • Added assignments and branches and a lot of other stuff. rad.
    • Added process_iter section for DSL style blocks (rake tasks etc).
    • Made Flog usable as a library.
  • 12 minor enhancements:
    • Added -a flag to turn off threshold culling for other tools.
    • Added -s for summarizing the score.
    • Added -v feedback to know what file you're flogging.
    • Added branching penalty so tons of nested conditionals get beat down.
    • Added send (3).
    • Capture and ignore SyntaxErrors from template/generator code. Stupid DHH.
    • Report can now take an IO object.
    • blockargs now penalizes all non-benign forms of blockpass.
    • Added usage to bin/flog. Moved -I processing to bin/flog.
    • Added unpack.rb and updatescores.rb at base level (not installed)
    • Added scoring for blockpass.
    • Converted totals to use distance formula on ABC's.
  • 3 bug fixes:

    • Ran flog on every latest gem available. Found a bunch of problems.
    • Use a stack for both class/module and method accounting.
    • block_args weren't processing the arg
  • http://ruby.sadi.st/

  • http://rubyforge.org/projects/seattlerb

Read: flog version 1.1.0 has been released!

Topic: Finding Random Reading Previous Topic   Next Topic Topic: BarCamp Ruby Slide Deck Online - Creating a DSL for Ploticus - By Scott Patten

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use