# Flog 1.2.0 Released

**URL:** <https://www.ruby-forum.com/t/flog-1-2-0-released/151583>\
**Category:** Ruby\
**Created:** [October 23, 2008, 6:55am UTC](https://www.ruby-forum.com/t/flog-1-2-0-released/151583 "2008-10-23T06:55:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [October 23, 2008, 6:55am UTC](https://www.ruby-forum.com/t/flog-1-2-0-released/151583/1 "2008-10-23T06:55:59Z")

</div>

flog version 1.2.0 has been released!

- [http://ruby.sadi.st/](http://ruby.sadi.st/)
- [http://rubyforge.org/projects/seattlerb](http://rubyforge.org/projects/seattlerb)

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

Changes:

### 1.2.0 / 2008-10-22

- 14 minor enhancements:

- [http://ruby.sadi.st/](http://ruby.sadi.st/)

- [http://rubyforge.org/projects/seattlerb](http://rubyforge.org/projects/seattlerb)

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [October 23, 2008, 11:03am UTC](https://www.ruby-forum.com/t/flog-1-2-0-released/151583/2 "2008-10-23T11:03:12Z")

</div>

On Thu, 23 Oct 2008, Ryan D. wrote:

> flog version 1.2.0 has been released!  
> […]
> 
> ### 1.2.0 / 2008-10-22
> 
> - 14 minor enhancements:  
> […]
> - Added lots of doco from contributors (hugh sasse?).

Not sure if it was me this time, I’d have to see a diff. It’s a while  
now…

```
    "hugh sasse".split(/\s/).map{|x|x.capitalize}.join(" ") # :-)
```

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [October 23, 2008, 6:33pm UTC](https://www.ruby-forum.com/t/flog-1-2-0-released/151583/3 "2008-10-23T18:33:41Z")

</div>

On Oct 22, 11:53 pm, Ryan D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> flog version 1.2.0 has been released!

Ryan,  
Thanks for your continuing hard work on flog – it is a great tool.

I wanted to remind you (or anyone interested in the material) that a  
fork of flog with a significant test suite and some refactorings  
exists on github here:

[GitHub - flogic/flame: A fork of the seattle.rb flog project (why a fork? flog source is kept in a private perforce repo, and we wanted to add some new functionality, oh, and tests)](http://github.com/flogic/flame)

I note that there still exists no test suite for the main release of  
flog and none of the readability, testability, or quality refactorings  
from flame were picked up for 1.2.0.

There is also documentation of the characterization and refactoring  
process I applied to flog by way of an hour-long presentation at the  
Ruby Hoedown this fall. Video of that presentation can be found  
online here (many thanks to confreaks for their continuing good  
works):

[http://rubyhoedown2008.confreaks.com/11-rick-bradley-flog-test-new.html](http://rubyhoedown2008.confreaks.com/11-rick-bradley-flog-test-new.html)

My keynote slides (including all history) for that talk are all on  
github, here:

[GitHub - rick/hoedown-2008: My ruby hoedown 2008 presentation](http://github.com/rick/hoedown-2008/tree/master)

There also exists for download a package of snapshots of every commit  
in the refactoring process, including commit diffs, commit logs, full  
code trees, rcov and flog stats after every commit, and with commit  
hashes associated with the flame project commits on the github repo  
linked above. That tarball can be downloaded, for those wishing to  
review, study, or audit the refactoring, here:

[http://www.rickbradley.com/misc/flog-snapshot.tar.gz](http://www.rickbradley.com/misc/flog-snapshot.tar.gz)

All of this is free for reuse, mangling, heckling (in the conventional  
sense of the word), etc., with no strings attached.

My hope here is that noone need wind up at the point I reached last  
spring: attempting to do work to improve flog and realizing that flog  
had no tests, and hence couldn’t reliably be developed further by  
other than its original author.

Rather than work further without tests I built and have donated a  
comprehensive test suite and the necessary refactorings to make the  
suite possible and the code readable.

I don’t aspire to become a maintainer of flog, much less “that other  
guy who maintains the version of flog that has tests”, but would  
rather see my donated work help the mainstream version of flog in  
whatever way is easiest.

Thanks again, and best wishes,  
Rick

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [October 23, 2008, 9:01pm UTC](https://www.ruby-forum.com/t/flog-1-2-0-released/151583/4 "2008-10-23T21:01:48Z")

</div>

On Oct 23, 2008, at 11:31 , Rick B. wrote:

> On Oct 22, 11:53 pm, Ryan D. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > flog version 1.2.0 has been released!
> 
> Thanks for your continuing hard work on flog – it is a great tool.
> 
> I wanted to remind you (or anyone interested in the material) that a  
> fork of flog with a significant test suite and some refactorings  
> exists on github here:

I’m jumping on this right now, I’ll have it off your hands in a few  
hours. Thank you very much Rick. I appreciate it.

---

<div class="post-metadata">

**Author:** ![aguynamedryan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/43a26b/32.png) [@aguynamedryan](https://www.ruby-forum.com/u/aguynamedryan)\
**Post date:** [October 23, 2008, 9:01pm UTC](https://www.ruby-forum.com/t/flog-1-2-0-released/151583/5 "2008-10-23T21:01:48Z")

</div>

On Thu, Oct 23, 2008 at 12:31 PM, Rick B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> There is also documentation of the characterization and refactoring  
> process I applied to flog by way of an hour-long presentation at the  
> Ruby Hoedown this fall. Video of that presentation can be found  
> online here (many thanks to confreaks for their continuing good  
> works):
> 
> [http://rubyhoedown2008.confreaks.com/11-rick-bradley-flog-test-new.html](http://rubyhoedown2008.confreaks.com/11-rick-bradley-flog-test-new.html)

I’ll just note that I watched this video and it’s a good talk on the  
under-discussed process of getting existing code under test. Thanks  
Rick.

–  
Avdi

Home: [http://avdi.org](http://avdi.org)  
Developer Blog: [Avdi Grimm, Code Cleric](http://avdi.org/devblog/)  
Twitter: [http://twitter.com/avdi](http://twitter.com/avdi)  
Journal: [http://avdi.livejournal.com](http://avdi.livejournal.com)
