<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Brian Olore Story &#187; metrics</title>
	<atom:link href="http://brian.olore.net/wp/tag/metrics/feed/" rel="self" type="application/rss+xml" />
	<link>http://brian.olore.net</link>
	<description>Less of a story, more of a brain dump</description>
	<lastBuildDate>Sun, 18 Dec 2011 17:19:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>RailsConf &#8211; Day 2 &#8211; Metrics Magic</title>
		<link>http://brian.olore.net/wp/2010/06/railsconf-day-2-metrics-magic/</link>
		<comments>http://brian.olore.net/wp/2010/06/railsconf-day-2-metrics-magic/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 16:28:48 +0000</pubDate>
		<dc:creator>Brian</dc:creator>
				<category><![CDATA[work]]></category>
		<category><![CDATA[metrics]]></category>
		<category><![CDATA[railsconf]]></category>

		<guid isPermaLink="false">http://brian.olore.net/?p=159</guid>
		<description><![CDATA[Metrics Magic - Aaron Bedra (Relevance, Inc.) &#8211; maintains rcov How did we get here? Technical Debt &#8211; but there is no bailout program! Good idea if you intend on paying back. Metrics are a great way to facilitation conversation It&#8217;s ok to ask others how/why the code was written if its hard to write [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.oreilly.com/rails2010/public/schedule/detail/11500">Metrics Magic</a> -<a href="http://en.oreilly.com/rails2010/public/schedule/speaker/2634"> Aaron  Bedra</a> (Relevance, Inc.) &#8211; maintains <a href="http://github.com/relevance/rcov">rcov</a></p>
<p>How did we get here?<br />
Technical Debt &#8211; but there is no bailout program! Good idea if you intend on paying back.</p>
<p>Metrics are a great way to facilitation conversation<br />
It&#8217;s ok to ask others how/why the code was written</p>
<p>if its hard to write tests around your code, that&#8217;s a smell</p>
<p>output of metrics tools is just text &#8211; you can make these metrics tool fail the build !</p>
<p>There&#8217;s no substitute for peer review</p>
<p><strong>rcov</strong> can fail the build by setting &#8220;&#8211;failure-threshold n&#8221;<br />
- should increase the threshold as your code coverage goes up so that you know when it drops</p>
<p><strong>reek</strong> &#8211; fail the build by capturing the output<br />
result = %x{reek app lib}<br />
exit 1 unless result.empty?</p>
<p><strong>flog</strong> -<br />
flog app  awk &#8216;NR==4&#8242; | awk &#8216;{print $1}&#8217;<br />
exit 1 if result.gsub(&#8220;:&#8221;,&#8221;").to_i &gt;= 20</p>
<p><strong>metric-fu</strong><br />
wraps tests in pretty pictures</p>
<p>Compare charts to previous sprints &#8211; generate conversation</p>
<p>Great presentation materials &#8211; cartoony, fun<br />
Good speaker, useful demo</p>
]]></content:encoded>
			<wfw:commentRss>http://brian.olore.net/wp/2010/06/railsconf-day-2-metrics-magic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

