<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>&gt;kloctalk</title>
	
	<link>http://www.klocwork.com/blog</link>
	<description>&gt;kloctalk is a blog and a community for software development professionals who create and maintain mission-critical software and the challenges they face on a daily basis.</description>
	<lastBuildDate>Tue, 31 Aug 2010 20:18:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Kloctalk_blog" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="kloctalk_blog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Kloctalk_blog</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Refactoring vs. Rewriting: Why it matters</title>
		<link>http://www.klocwork.com/blog/2010/08/refactoring-vs-rewriting-why-it-matters/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=refactoring-vs-rewriting-why-it-matters</link>
		<comments>http://www.klocwork.com/blog/2010/08/refactoring-vs-rewriting-why-it-matters/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 20:10:50 +0000</pubDate>
		<dc:creator>Eric Hollebone</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Refactoring]]></category>
		<category><![CDATA[Software Quality]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1067</guid>
		<description><![CDATA[As new words and concepts diffuse in to wider use, their definitions become simpler or broaden to cover more scope.  Like the kid&#8217;s telephone game, each time the concept is passed to another developer, the information gets a little more muddled. In software development, declaration, macros, syntax and other programming constructs have to be exact or [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/08/string_phone.jpg"><img class="alignleft size-full wp-image-1068" style="margin-right: 10px;" title="string_phone" src="http://www.klocwork.com/blog/wp-content/uploads/2010/08/string_phone.jpg" alt="" width="280" height="200" /></a>As new words and concepts diffuse in to wider use, their definitions become simpler or broaden to cover more scope.  Like the kid&#8217;s telephone game, each time the concept is passed to another developer, the information gets a little more muddled. In software development, declaration, macros, syntax and other programming constructs have to be exact or the compilers will fail.  Yet, when developers discuss concepts about programming, most of the time, that precision of language is lost.</p>
<p>The telephone game  seems to have happened to refactoring.  I subscribe to what would be consider the  &#8221;classic&#8221; definition of  <a href="http://www.refactoring.com/">refactoring</a>: the process of optimizing or extending a class  but leaving the existing exposed interface alone.  It seems that refactoring has been generalized from that definition into covering all activities related to touching old code.  Even worse, it has become an excuse to rework someone else&#8217;s code and then bitch about how bad it was.  Just look at the <a href="http://search.twitter.com/search?q=refactor">twitter stream for refactoring</a> for a never-ending torrent of  abuse.</p>
<p>There is one simple way to tell if your efforts are truly a refactoring or not.  Did you <a href="http://blogs.msdn.com/b/cellfish/archive/2010/08/21/unit-tests-makes-it-harder-to-refactor-code.aspx">break any of the unit tests</a>?  If you did, then you are rewriting code instead of refactoring it and you had better update all the test cases while you&#8217;re at it.  Don&#8217;t get me wrong, there are times to rewrite software, but they are few and far between and, in my experience, it almost never pays off.</p>
<p>Refactoring isn&#8217;t just a nice philosophical idea; it supports one the most basic concepts in software development&#8211;backwards compatibility.  If you want to keep your customers and enjoy that paycheck, don&#8217;t break features or APIs in products without good reason or  get buy-in before release day.</p>
<p>To refactor the medical phrase &#8220;<a href="http://en.wikipedia.org/wiki/Primum_non_nocere">First, do no harm</a>&#8220;, for developers it should be &#8220;First, break no test&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/08/refactoring-vs-rewriting-why-it-matters/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Requiem for book-learnin’</title>
		<link>http://www.klocwork.com/blog/2010/08/requiem-for-book-learnin%e2%80%99/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=requiem-for-book-learnin%25e2%2580%2599</link>
		<comments>http://www.klocwork.com/blog/2010/08/requiem-for-book-learnin%e2%80%99/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 14:36:33 +0000</pubDate>
		<dc:creator>Alan Weekes</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Static Analysis]]></category>
		<category><![CDATA[User Documentation]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1059</guid>
		<description><![CDATA[In the beginning was the word. And thanks to Guttenberg, the word was often enclosed in a glossy book and sold for $49.95 at my local computer store. The noble computer book with a shelf-life of six months was the perfect solution for a piano with a missing wheel. Computer books (part of the discipline [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/08/Book21.jpg"><img class="alignright size-full wp-image-1064" title="Book2" src="http://www.klocwork.com/blog/wp-content/uploads/2010/08/Book21.jpg" alt="" width="300" height="208" /></a>In the beginning was the word. And thanks to Guttenberg, the word was often enclosed in a glossy book and sold for $49.95 at my local computer store. The noble computer book with a shelf-life of six months was the perfect solution for a piano with a missing wheel. Computer books (part of the discipline of book-learnin’) are an increasingly endangered species. Sales of computer books have been off by 8 to 10% year over year for a decade, a trend that shows no sign of slowing.</p>
<p>Still, I miss old-school, printed computer books. It wasn’t so much what they contained, as what they quantified. Using the Rumsfeld model, a nice fat computer book helps me quantify the unknown unknowns. As I tackle a new body of knowledge &#8211; say a new language or IDE &#8211; the unknown unknowns are infinite. As soon as I have that book in my hand, the unknown unknowns turn into known unknowns. I now know how much I don’t know, and the table of contents is my new best friend – whether I read the book or not. It is hard to beat stretching out at the cottage with a refreshing beverage and the latest tome on <a href="http://www.klocwork.com/" target="_blank">source code analysis</a>.</p>
<p>But software developers don’t typically think in linear ways. While many of us are college or university trained, in spite of years of classroom training we run away from learning new knowledge in the old school way. Developers search for the answer to their current problem, rather than accumulating knowledge for its own sake. They listen and watch communities, RSS feeds and blogs for trends. They look for on-line videos, podcasts, newsletters, and magazines. They may even find a book in PDF, and print out a few pages that they want to use for reference.</p>
<p>The challenge for technology companies is to make our collection of facts, tools and interfaces accessible without binding it all up in a single document with a cover. Wikis, on-line API tutorials, developer communities, and a host of other information bits need to replace the old book model.</p>
<p>Of course, it’s hard to argue with Groucho Marx, when he said “Outside of a dog, a book is man&#8217;s best friend. Inside of a dog it&#8217;s too dark to read.”</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/08/requiem-for-book-learnin%e2%80%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to decode a software development job description</title>
		<link>http://www.klocwork.com/blog/2010/08/how-to-decode-a-software-development-job-description/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-decode-a-software-development-job-description</link>
		<comments>http://www.klocwork.com/blog/2010/08/how-to-decode-a-software-development-job-description/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 15:39:40 +0000</pubDate>
		<dc:creator>Carolyn Perkins</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Software Career]]></category>
		<category><![CDATA[careers]]></category>
		<category><![CDATA[job description]]></category>
		<category><![CDATA[technical positions]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1057</guid>
		<description><![CDATA[So you are not really happy with your current position and you are starting to sniff around.  You might go to Monster and check out some of the jobs that are posted there. You may check out some companies’ websites and see what open positions they have.  Regardless of how you go about looking for [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1058" class="wp-caption alignright" style="width: 205px"><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/08/fooled-by-the-job-description.png"><img class="size-full wp-image-1058 " style="margin-left: 10px;" title="Fooled by the job description" src="http://www.klocwork.com/blog/wp-content/uploads/2010/08/fooled-by-the-job-description.png" alt="" width="195" height="196" /></a><p class="wp-caption-text">Fooled by the job description</p></div>
<p>So you are not really happy with your current position and you are  starting to sniff around.  You might go to Monster and check out some of  the jobs that are posted there. You may check out some companies’  websites and see what open positions they have.  Regardless of how you  go about looking for a new job though, you will run into job  descriptions.  There may be a few job descriptions out there that excite  you and motivate you to apply because you can totally see yourself  working for a company that writes such a perfect job description for  you; however, the majority of them will cause your eyes to glaze over  and probably bring on a few face splitting yawns.</p>
<p style="text-align: left;">Bear with us, there is reason to our insanity when it comes to job descriptions.  When recruiting for any position, but in particular for technical positions, we must pull together something that provides some guidance to job seekers.  And while I am at it, I will be completely honest and admit that sometimes I get the requirements for the position and realize I have no clue what the manager is talking about.  But the manager asked for it so it gets incorporated into the job description.</p>
<p style="text-align: left;">Job descriptions can be incredibly useful if you know what you are looking for.  They should give a feel of the company, the job and even the team.  I am sure you have all seen those blogs or websites that provide humorous takes on particular phrases, and admittedly some of those have a ring of truth to it.  Yes, sometimes seeing the term “start-up company” can be a rather unsubtle hint that the compensation package maybe more creative than you had bargained for.  “Team Player” can indicate that your team may be challenging and difficult to get along with or…it might mean that the manager wants someone who can play nice with others, because mean people do not do very well in that environment.</p>
<p style="text-align: left;">The job description does describe the ideal candidate, and really, we do not expect to see the ideal, but we do want a person who fits the job description.  For example, if the job description asks for 5-7 years in C/C++, and you have 3 years of C/C++, then by all means apply. If you have 0 years in C/C++, then do not apply.  The skills are listed there for a reason.</p>
<p style="text-align: left;">Since you are reading this, you may be on the Klocwork website.  If so, check out our <a title="Klocwork's current career openings" href="http://www.klocwork.com/company/careers/">careers section</a>.  You might read a job description on there that appeals to you, and if you do, send us your resume.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/08/how-to-decode-a-software-development-job-description/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How smart companies roll out source code analysis tools</title>
		<link>http://www.klocwork.com/blog/2010/08/how-smart-companies-roll-out-source-code-analysis-tools/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-smart-companies-roll-out-source-code-analysis-tools</link>
		<comments>http://www.klocwork.com/blog/2010/08/how-smart-companies-roll-out-source-code-analysis-tools/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 14:57:44 +0000</pubDate>
		<dc:creator>Patti Murphy</dc:creator>
				<category><![CDATA[Static Analysis]]></category>
		<category><![CDATA[adopting new tools]]></category>
		<category><![CDATA[SCA]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1055</guid>
		<description><![CDATA[Want to get rolling with a Source Code Analysis (SCA) tool as efficiently as possible? “Do what the smart companies do,” says Mark Grice, a Klocwork Director and Manager of the International Reseller/Partner Network. In our last discussion, Grice outlined three best practices for SCA tools selection: involve your developers, limit your selection to market-leading [...]]]></description>
			<content:encoded><![CDATA[<p>Want to get rolling with a Source Code Analysis (SCA) tool as efficiently as possible?</p>
<p>“Do what the smart companies do,” says Mark Grice, a Klocwork Director and Manager of the International Reseller/Partner Network.</p>
<p>In our last discussion, <a href="http://www.klocwork.com/blog/2010/07/get-a-tool-selection-plan-stan/">Grice outlined three best practices</a> for SCA tools selection: involve your developers, limit your selection to market-leading tools, and identify a deadline.</p>
<p>According to Grice, smart companies take those best practices and:</p>
<div id="_mcePaste">
<ol>
<li>Buy an introductory package and pick one development team that will deploy the SCA tool.</li>
<li>Do an in-depth performance analysis after six months.</li>
<li>Expand the rollout to other teams&#8230;or not.</li>
</ol>
</div>
<p>“After the six-month period,” says Grice, “a company will widen its deployment circle and get more licenses.”</p>
<p>On the other hand, Grice says it’s also possible that the company will decide to try another tool from their panel of tools. They won’t need to re-evaluate because they’ve got a short list to pull from.</p>
<p>“They don’t lose, whichever way it goes,” he says. “During that six-month period, they got value from that tool by applying it to their codebase, learning about SCA and cleaning up their code.”</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/08/how-smart-companies-roll-out-source-code-analysis-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remote Code Reviews – how do you support them?</title>
		<link>http://www.klocwork.com/blog/2010/08/remote-code-reviews-how-do-you-support-them/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=remote-code-reviews-how-do-you-support-them</link>
		<comments>http://www.klocwork.com/blog/2010/08/remote-code-reviews-how-do-you-support-them/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 18:55:22 +0000</pubDate>
		<dc:creator>Eric Hollebone</dc:creator>
				<category><![CDATA[Code Review]]></category>
		<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Software Quality]]></category>
		<category><![CDATA[software developer]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1049</guid>
		<description><![CDATA[Most code reviews are done in-person, 60%  according to data  from a Forrester Consulting study commissioned by Klocwork.  So how do you accommodate remote sites, out-of-office employees  or off-shore development shops? Most software developer teams will face some form of remote development challenge during their careers or product cycles.  As demonstrated from the data above, the breakdown of remote need [...]]]></description>
			<content:encoded><![CDATA[<p>Most code reviews are done in-person, 60%  according to data  from a <a title="Code Review Resource Centre" href="http://www.klocwork.com/resources/code-review/" target="_blank">Forrester Consulting study commissioned by Klocwork</a>.  So how do you accommodate remote sites, out-of-office employees  or off-shore development shops?</p>
<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/08/klocwork-code-review-remote-support.png"><img class="alignleft size-large wp-image-1050" title="klocwork-code-review-remote-support" src="http://www.klocwork.com/blog/wp-content/uploads/2010/08/klocwork-code-review-remote-support-1024x362.png" alt="" width="800" /></a></p>
<p>Most software developer teams will face some form of remote development challenge during their careers or product cycles.  As demonstrated from the data above, the breakdown of remote need is as follows:</p>
<ul>
<li>76% use some form of outsourcing,</li>
<li>64% have some developers  located outside of the main campus,</li>
<li>40% of reviews are conducted with remote participants.</li>
</ul>
<p>You can&#8217;t let development come to a grinding halt simply because a critical team member is not physically available at the scheduled time or location.  For most organizations, code reviews need to be performed and employee travel is not the solution for cost and timing reasons.  This has driven the adoption of lightweight review processes and new tools that support it.</p>
<p>Klocwork built a code review tool for this express purpose.  Other ones exist like Code Collaborator and the open source <a href="http://www.reviewboard.org">Review Board</a> .  How do you support your remote code reviews?  Email?  Wiki? Or a purpose-built tool like one of the ones mentioned?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/08/remote-code-reviews-how-do-you-support-them/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>0010 0000 or 0000 0010 which one are you?</title>
		<link>http://www.klocwork.com/blog/2010/08/0010-0000-or-0000-0010-which-one-are-you/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=0010-0000-or-0000-0010-which-one-are-you</link>
		<comments>http://www.klocwork.com/blog/2010/08/0010-0000-or-0000-0010-which-one-are-you/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 20:08:27 +0000</pubDate>
		<dc:creator>Eric Hollebone</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Software Quality]]></category>
		<category><![CDATA[Static Analysis]]></category>
		<category><![CDATA[big endian and little endian]]></category>
		<category><![CDATA[memory model]]></category>
		<category><![CDATA[network stacks]]></category>
		<category><![CDATA[porting]]></category>
		<category><![CDATA[processor architecture]]></category>
		<category><![CDATA[source code analysis]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1045</guid>
		<description><![CDATA[I love this quote by Carl Ek from  Code Integrity solutions: There are 0010 0000 kinds of people in the world: Those that understand the difference between Big Endian and Little Endian, and those that do not. Issues with Endianism and processor architecture ports are becoming more and more common these days as more desktop source code [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/08/Endian.gif"><img class="size-medium wp-image-1047 alignright" style="margin-left: 10px; margin-right: 10px; border: 2px solid black;" title="Big and Little Endian" src="http://www.klocwork.com/blog/wp-content/uploads/2010/08/Endian-300x291.gif" alt="" width="300" height="291" /></a>I love this quote by Carl Ek from  <a href="http://codeintegrity.blogspot.com">Code Integrity solutions</a>:</p>
<blockquote><p><em>There are 0010 0000 kinds of people in the world: Those that understand the difference between Big Endian and Little Endian, and those that do not.</em></p>
</blockquote>
<p>Issues with <a href="http://en.wikipedia.org/wiki/Endian">Endianism</a> and processor architecture ports are becoming more and more common these days as more desktop source code moves into different arenas.  Gone are the days when the 32-bit memory model or little-endian format dominate. Software changes are required to support the growth occurring not at the desktop, but in the server  and mobile platforms.</p>
<p>Mobile devices especially have opened a Pandora&#8217;s box of Endian and memory problems, with variety of processor architectures with <a href="http://www.arm.com/">ARM</a><sup>[1]</sup> leading the way.  Add to this mix,  end-consumers are demanding desktop features like <a title="Flash on Android" href="http://www.androidapk.net/?p=53">Adobe Flash</a> or <a title="Documents to Go" href="http://www.dataviz.com/">Office apps</a> on mobile devices, many a stable codebase will fall apart when ported to either mobile or server.</p>
<p>For developers porting to different platforms, there are some significant challenges.  Just to list a few:</p>
<ul>
<li>CPU optimizations need to be reviewed</li>
<li>inline assembly calls require rewriting or removal</li>
<li><a href="http://en.wikipedia.org/wiki/Word_(computing)">machine word (WORD)</a> allocations may require refactoring</li>
<li> any binary data exchanged over the network stacks require verification</li>
</ul>
<p>None of these are  new, they&#8217;re just not a common skillset for most developers.</p>
<p><a title="Source code analysis tools" href="http://www.klocwork.com/products">Source code analysis </a>can be a boon in two ways. Firstly, in the planning phase by helping you determine the breadth of the effort,  and secondly by identifying any existing  issues, particularly of the memory allocation and Endian varieties.</p>
<p>For more in depth information, there are two recent articles available from Dr. Dobbs:</p>
<ul>
<li><a href="http://www.drdobbs.com/cpp/226600156">Porting to 64-bit Platforms</a> by Irving Rabin</li>
<li><a href="http://www.drdobbs.com/windows/226000073">Detecting Endian Issues with Static Analysis Tools</a> by Carl Ek</li>
</ul>
<p><sup>[1]</sup> Note: Some ARM processors support both <a href="http://search.arm.com/search?site=Site-Search&amp;q=endian">big and little Endian formats</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/08/0010-0000-or-0000-0010-which-one-are-you/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Measure value out of static analysis</title>
		<link>http://www.klocwork.com/blog/2010/08/measure-value-out-of-static-analysis/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=measure-value-out-of-static-analysis</link>
		<comments>http://www.klocwork.com/blog/2010/08/measure-value-out-of-static-analysis/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 15:00:33 +0000</pubDate>
		<dc:creator>Alen Zukich</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[software metrics]]></category>
		<category><![CDATA[Software Quality]]></category>
		<category><![CDATA[staic analysis]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1038</guid>
		<description><![CDATA[I&#8217;ve talked about different metrics that are used to measure quality and the metrics that developers would use in practice.  But what about the tools themselves?  How are you measuring the value you are getting out of these tools? In terms of static analysis, one obvious measurement is simply the bug fixes you have made.  [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve talked about different metrics that are used to <a href="http://www.klocwork.com/blog/2010/01/software-metrics-for-measuring-quality/" target="_blank">measure quality</a> and the <a href="http://www.klocwork.com/blog/2010/02/software-metrics-for-the-developer/" target="_blank">metrics that developers</a> would use in practice.  But what about the tools themselves?  How are you measuring the value you are getting out of these tools?</p>
<p>In terms of static analysis, one obvious measurement is simply the bug fixes you have made.  Most organizations have a number they use to define the cost savings for each bug.  Using some research <a href="http://www.eweek.com/c/a/Security/IBM-Stresses-App-Security/" target="_blank">data</a> from IBM puts the cost of fixing a bug before a release at 40-50 times cheaper.   Fixing a bug after release is the extreme and hopefully you&#8217;re finding these issues earlier and that&#8217;s where static analysis comes in.</p>
<p>I would think any static analysis tool offering would give you that simple graph.  Below is a couple of examples where you can track the fixes per component or per owner.</p>
<table style="width: 100%;" border="0">
<tbody>
<tr>
<td align="left" valign="middle">
<div id="attachment_1043" class="wp-caption alignleft" style="width: 310px"><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/07/fix_activity_component.jpg"><img class="size-medium wp-image-1043" title="fix_activity_component" src="http://www.klocwork.com/blog/wp-content/uploads/2010/07/fix_activity_component-300x185.jpg" alt="" width="300" height="185" /></a><p class="wp-caption-text">Bug fixes per compoent</p></div>
</td>
<td align="right" valign="middle">
<div id="attachment_1044" class="wp-caption alignright" style="width: 310px"><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/07/fix_activity_owner.jpg"><img class="size-medium wp-image-1044 " title="fix_activity_owner" src="http://www.klocwork.com/blog/wp-content/uploads/2010/07/fix_activity_owner-300x177.jpg" alt="" width="300" height="177" /></a><p class="wp-caption-text">Bug fixes per owner</p></div>
</td>
</tr>
</tbody>
</table>
<p>One other thing that I think is very important is where you&#8217;re saving money.  When you run static analysis for example you have a couple of choices where you can find defects.  After the integration build or right at the developers desktop before they check-in their code.  Obviously if the developers are finding and fixing their issues while they code and before they even get checked in then it is saving even more money for the company.  Good static analysis tools will help you see the value of using it at the desktop.  A simple counter is all you need to see how many bugs were fixed in the code prior to check-in.  Immediate ROI from using static analysis.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/08/measure-value-out-of-static-analysis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Get a (tool-selection) plan, Stan</title>
		<link>http://www.klocwork.com/blog/2010/07/get-a-tool-selection-plan-stan/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=get-a-tool-selection-plan-stan</link>
		<comments>http://www.klocwork.com/blog/2010/07/get-a-tool-selection-plan-stan/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 15:00:50 +0000</pubDate>
		<dc:creator>Patti Murphy</dc:creator>
				<category><![CDATA[General Industry]]></category>
		<category><![CDATA[source code analysis]]></category>
		<category><![CDATA[tool selection]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1027</guid>
		<description><![CDATA[Today, Mark Grice is in a better mood. The last time I spoke to the Klocwork Director and Manager of the International Reseller/Partner Network, he outlined 7 habits of highly ineffective Source Code Analysis (SCA) tool selection. Among those terrible habits, he described an SCA tool-selection process that involved endless feature comparisons and massive checklists [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_1033" class="wp-caption alignright" style="width: 226px"><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/07/Lotus_edit1.jpg"><img class="size-full wp-image-1033 " title="Lotus_edit" src="http://www.klocwork.com/blog/wp-content/uploads/2010/07/Lotus_edit1.jpg" alt="" width="216" height="189" /></a><p class="wp-caption-text">Mark Grice in a more peaceful moment. </p></div>Today, Mark Grice is in a better mood.</p>
<p>The last time I spoke to the Klocwork Director and Manager of the International Reseller/Partner Network, he outlined <a href="http://www.klocwork.com/blog/2010/06/7-habits-of-highly-ineffective-sourc-code-analysis/">7 habits of highly ineffective Source Code Analysis (SCA) tool selection</a>.</p>
<p>Among those terrible habits, he described an SCA tool-selection process that involved endless feature comparisons and massive checklists of irrelevant requirements.</p>
<p>His head  almost exploded, but on this day our SCA guru was calmer.  Clearly, he&#8217;s been using relaxation techniques or drinking some of the good stuff, like acai juice.</p>
<p style="text-align: left;">According to Grice, successful SCA tool adoption involves three key steps:</p>
<ol>
<li>Involve your developers in the process.<br />
 “Developers understand what their requirements are,” Grice says. “And that means your selection criteria will be more realistic and achievable, and it will focus on what&#8217;s relevant to the organization’s software and environment. Developers are also best equipped to assess the SCA results.”</li>
<li>Limit your selection to market-leading tools with the functionality relevant to your software needs.<br />
 “For example, if MISRA compliance is something you care about, then make that part of your selection criteria,” he says.</li>
<li>Have a game plan with a path and a defined end. Work toward a goal that’s realistic—spend enough time, but not forever, finding the tool (or tools) you need.<br />
 “Have a good idea of what will constitute success, and be prepared to make a decision and move on,” Grice says. “Avoid paralysis analysis—unless your goal is to just waste time and money and contribute nothing to improving your software.”</li>
</ol>
<p style="padding-left: 30px;">That’s it for today. Grice is off to yoga class (um, or a pub). Stayed tuned for the next post in this series&#8211;How smart companies adopt SCA tools.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/07/get-a-tool-selection-plan-stan/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Agile Tools: An ROI Example</title>
		<link>http://www.klocwork.com/blog/2010/07/agile-tools-an-roi-example/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=agile-tools-an-roi-example</link>
		<comments>http://www.klocwork.com/blog/2010/07/agile-tools-an-roi-example/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 15:06:02 +0000</pubDate>
		<dc:creator>Todd Landry</dc:creator>
				<category><![CDATA[Agile Development]]></category>
		<category><![CDATA[Code Review]]></category>
		<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Refactoring]]></category>
		<category><![CDATA[Static Analysis]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[ROI]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1036</guid>
		<description><![CDATA[There has been lots of discussion on this blog (and others for that matter) on the importance of early defect detection, refactoring, and code reviews, but what does it all mean to a team of developers trying to maximize their velocity in a 2 week iteration? Based on a number of studies, and some real-world [...]]]></description>
			<content:encoded><![CDATA[<p>There has been lots of discussion on this blog (and others for that matter) on the importance of <a href="http://www.klocwork.com/blog/2009/06/get-the-red-out/">early defect detection</a>, <a href="http://www.versionone.com/Agile101/Refactoring.asp">refactoring</a>, and <a href="http://www.klocwork.com/blog/2010/04/the-joy-of-code-review-part-4/">code reviews</a>, but what does it all mean to a team of developers trying to maximize their <a href="http://softwaredevelopmenttoday.blogspot.com/2008/10/what-is-velocity-in-agile-software.html">velocity </a>in a 2 week iteration? Based on a number of studies, and some real-world customer feedback  we have put together the following ROI&#8230;but note that this ROI is not measured in dollars, but rather in hours saved, because a development team can more easily relate to a 20 hour time savings per iteration rather than a break even point of 14.5 months. A few assumptions first&#8230;the team is made up of 10 developers, working on 5 stories (each story creates about 300 LOC) every 2 week iteration. Also, we used internal estimates for the refactoring time savings since we couldn&#8217;t find any 3<sup>rd</sup> party data on refactoring ROI. . If you have anything more concrete, I&#8217;d love to hear about it.</p>
<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/07/roi1.jpg"><img class="size-large wp-image-1040 alignleft" title="roi" src="http://www.klocwork.com/blog/wp-content/uploads/2010/07/roi1-e1279631266773.jpg" alt="" width="626" height="187" /></a></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>From this table (which has been a regular slide in our Agile in Action roadshow series) we see that tools can help, in this example just over 40 hours/iteration, which if you break that down further works out to about 1/2 day per developer every 2 weeks. Now that is an ROI that an agile development team can relate to&#8230;</p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/07/agile-tools-an-roi-example/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Real developers don’t need tools</title>
		<link>http://www.klocwork.com/blog/2010/07/real-developers-dont-need-tools/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=real-developers-dont-need-tools</link>
		<comments>http://www.klocwork.com/blog/2010/07/real-developers-dont-need-tools/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 13:10:46 +0000</pubDate>
		<dc:creator>Alen Zukich</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[command line tools]]></category>
		<category><![CDATA[defect detection]]></category>
		<category><![CDATA[development environment]]></category>
		<category><![CDATA[ides]]></category>
		<category><![CDATA[source code analysis]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1022</guid>
		<description><![CDATA[As the topic suggests, this kind of argument has been around for some time.  Most developers can recognize the need for tools but once you start breaking the developer&#8217;s day-to -day workflow you might as well flush that tool down the drain. What developers need is a tool that seamlessly integrates with their development environment [...]]]></description>
			<content:encoded><![CDATA[<p>As the topic suggests, this kind of <a href="http://meiert.com/en/blog/20100514/real-debugging-tools/" target="_blank">argument</a> has been around for some time.  Most developers can recognize the need for tools but once you start breaking the developer&#8217;s day-to -day workflow you might as well flush that tool down the drain.</p>
<p>What developers need is a tool that seamlessly integrates with their development environment <em>and</em> their workflow, so they can meet their quality goals without taking a big productivity hit.</p>
<p>It’s one thing to provide plug-in tools for the more popular IDEs like Visual Studio and Eclipse, but it’s an added bonus when defect detection is a seamless part of the edit cycle. No buttons to click, just continuous analysis and issue highlighting while you work.</p>
<p>Let&#8217;s take the analogy to the spell checker.  Initially, you had to click a button to spell check your document. That has obviously changed dramatically. Now we see any mistakes we make as we type them (and can even fix them automatically).</p>
<p>That’s what we were thinking when we introduced continuous analysis in our plug-in tools and our source viewer for command-line tools, Klocwork Desktop.</p>
<p>Here’s the spell checker equivalent for source code analysis:</p>
<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/07/vs2.jpg"><img class="alignleft size-medium wp-image-1025" title="vs2" src="http://www.klocwork.com/blog/wp-content/uploads/2010/07/vs2-300x248.jpg" alt="" width="300" height="248" /></a></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>The above screenshot is from our Visual Studio plug-in.</p>
<p>When you open or save a file, the analysis runs in the background. A bug marker in the left gutter and a squiggly line, in the true spirit of the spell checker, clearly marks the detected issue.</p>
<p>Find ‘em and fix’em while you work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/07/real-developers-dont-need-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I have the software skills; I had a decent interview; why didn’t I get the job?</title>
		<link>http://www.klocwork.com/blog/2010/07/i-have-the-software-skills-i-had-a-decent-interview-why-didn%e2%80%99t-i-get-the-job/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=i-have-the-software-skills-i-had-a-decent-interview-why-didn%25e2%2580%2599t-i-get-the-job</link>
		<comments>http://www.klocwork.com/blog/2010/07/i-have-the-software-skills-i-had-a-decent-interview-why-didn%e2%80%99t-i-get-the-job/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 15:26:37 +0000</pubDate>
		<dc:creator>Carolyn Perkins</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[General Industry]]></category>
		<category><![CDATA[Software Career]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1023</guid>
		<description><![CDATA[People who do not get hired after an interview second guess themselves; they look for concrete reasons as to why they were not hired for that particular job.  They might justify it by saying the company sucked, the interviewer was an HR douchebag, the hiring manager did not know their stuff.  Of course, they may [...]]]></description>
			<content:encoded><![CDATA[<p><br class="spacer_" /></p>
<div class="wp-caption alignleft" style="width: 268px"><a href="http://www.ibiblio.org/Dave/Dr-Fun/inline/thumbs/tn20040419.jpg"><img style="margin-right: 10px;" title="It was a mistake for Eric to wear a t-shirt to his job interview, and it was a bigger mistake to wear that particular t-shirt. " src="http://www.ibiblio.org/Dave/Dr-Fun/inline/thumbs/tn20040419.jpg" alt="" width="258" height="190" /></a><p class="wp-caption-text">It was a mistake for Eric to wear a t-shirt to his job interview, and it was a bigger mistake to wear that particular t-shirt. </p></div>
<p><br class="spacer_" /></p>
<p>People who do not get hired after an interview second guess themselves; they look for concrete reasons as to why they were not hired for that particular job.  They might justify it by saying the company sucked, the interviewer was an HR douchebag, the hiring manager did not know their stuff.  Of course, they may be correct in passing these judgments, however, chances are there simply was a mismatch between the person interviewing and the company.  When this happens, count your blessings that the people doing the interviewing for the company knew that.  Being brought into a company that is a mismatch with your values and attitudes can impact everything you do, not to mention, make you downright miserable.</p>
<p>An interview is an opportunity for you to interview the company…to find out if you like them.  It is not just about sitting in front of some scary people and answering the questions they fire at you.   For most people, interviews are not pleasant experiences.  However, they are an evil necessity, until a more effective way of assessing people is invented.  And this brings me to the point of this blog…how the hell do you get through an interview?</p>
<ol>
<li>Be prepared, know the names of the interviewers, know the company business and feel free to bring in notes.  It is entirely reasonable to request more information from the company representative setting up the interview.</li>
<li>Appear enthusiastic and interested (but not so much that you are confused with a salesperson!).</li>
<li>Dress appropriately.  This generally means clean trousers and a shirt with a collar, maybe a tie for the men, a clean skirt and a blouse for the women. </li>
<li>Answer the questions, and if you do not know the answer, let the interviewer know with the promise to get back to them.</li>
<li>ASK QUESTIONS…find out enough information to determine whether you want to be an employee.</li>
<li>Finally, follow up…if you like what you heard during the interview.  Just an e-mail will suffice, and believe me that will set you apart from 90% of the candidates.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/07/i-have-the-software-skills-i-had-a-decent-interview-why-didn%e2%80%99t-i-get-the-job/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Are in-person code review meetings a bad thing?</title>
		<link>http://www.klocwork.com/blog/2010/07/are-in-person-code-review-meetings-a-bad-thing/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=are-in-person-code-review-meetings-a-bad-thing</link>
		<comments>http://www.klocwork.com/blog/2010/07/are-in-person-code-review-meetings-a-bad-thing/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 16:16:46 +0000</pubDate>
		<dc:creator>Brendan Harrison</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Code Review]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[Software Quality]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1011</guid>
		<description><![CDATA[As readers know, we&#8217;ve been talking about code reviews pretty regularly here and elsewhere over the past few months. To continue that discussion, here&#8217;s a question we run into often: are in-person code reviews as the primary way to communicate, by definition a bad thing? Here&#8217;s some more data from the Forrester Consulting study commissioned [...]]]></description>
			<content:encoded><![CDATA[<p>As readers know, we&#8217;ve been talking about code reviews pretty <a title="Developers Like Code Reviews" href="http://www.klocwork.com/blog/2010/06/developers-think-code-reviews-are-great-what/" target="_blank">regularly</a> <a title="Code Reviews - Mandatory or Ad-hoc?" href="http://www.klocwork.com/blog/2010/03/code-reviews-mandatory-but-ad-hoc/" target="_blank">here</a> and <a title="Code Review Resources" href="http://www.klocwork.com/resources/code-review/">elsewhere</a> over the past few months. To continue that discussion, here&#8217;s a question we run into often: are in-person code reviews as the primary way to communicate, by definition a bad thing?</p>
<p>Here&#8217;s some more data from the Forrester Consulting study commissioned by Klocwork that shows the majority of respondents still conduct in-person reviews&#8230; elsewhere in the survey only 36% of respondents indicated that they worked on a centralized team with everyone in one location. So that means, if 60% still conduct in-person reviews, they&#8217;re likely excluding valuable contributors to the review.</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<div id="attachment_1014" class="wp-caption aligncenter" style="width: 520px"><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/07/code_review_data_jul6.png"><img class="size-full wp-image-1014 " title="code_review_data_jul6" src="http://www.klocwork.com/blog/wp-content/uploads/2010/07/code_review_data_jul6.png" alt="" width="510" height="326" /></a><p class="wp-caption-text">Data that shows majority still conduct in-person code reviews</p></div>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>Is this practice just being done because &#8220;that&#8217;s the way it is&#8221; or are there good reasons for in-person meetings being the primary way to review code? I could see the odd in-person meeting being necessary for a variety of reasons but given how distributed teams are these days and the variety of tools available to effectively review code remotely, it doesn&#8217;t seem that efficient.</p>
<p>There&#8217;s a <a title="37 Signals Meetings are Harmful" href="http://37signals.com/svn/archives2/meetings_considered_harmful.php" target="_blank">general</a> <a title="Reduce Number of Scrum Meetings" href="http://agilesoftwaredevelopment.com/blog/cspag/agile-meeting-dilemma" target="_blank">philosophy</a> gaining more prominence around meeting reduction, whether in software development or elsewhere. We&#8217;re seeing many organizations question why their code review process needs to be in-person when it excludes people who aren&#8217;t co-located and generally takes up too much of people&#8217;s time. What are you seeing?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/07/are-in-person-code-review-meetings-a-bad-thing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>7 habits for highly ineffective source code analysis</title>
		<link>http://www.klocwork.com/blog/2010/06/7-habits-of-highly-ineffective-sourc-code-analysis/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=7-habits-of-highly-ineffective-sourc-code-analysis</link>
		<comments>http://www.klocwork.com/blog/2010/06/7-habits-of-highly-ineffective-sourc-code-analysis/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 13:30:09 +0000</pubDate>
		<dc:creator>Patti Murphy</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Software Quality]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[source code analysis]]></category>
		<category><![CDATA[Static Analysis]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1010</guid>
		<description><![CDATA[Mark Grice is a pretty unflappable guy, but when you ask him a question about barriers to successful adoption of Source Code Analysis (SCA) technology, he starts to splutter. “There are things I see over and over that make me want to bang my head against a wall,” says the Klocwork Director and Manager of [...]]]></description>
			<content:encoded><![CDATA[<p>Mark Grice is a pretty unflappable guy, but when you ask him a question about barriers to successful adoption of <a title="Klocwork's source code analysis engine" href="http://www.klocwork.com/products/insight/klocwork-truepath/">Source Code Analysis</a> (SCA) technology, he starts to splutter.</p>
<div id="_mcePaste">“There are things I see over and over that make me want to bang my head against a wall,” says the Klocwork Director and Manager of our International Reseller/Partner Network.  For the past nine years, Grice has helped companies from around the world to successfully implement SCA.</div>
<div id="_mcePaste">There are many companies that <a href="http://www.klocwork.com/blog/2010/05/leveraging-static-analysis/">deploy SCA</a> tools and reap their ROI, but there are others that can’t get to first base.  Below are barriers Grice has consistently encountered from a persistent minority.</div>
<div></div>
<div id="_mcePaste">Here are 7 sure-fire ways to ensure that your organization will fail at SCA:</div>
<div id="_mcePaste">
<ol>
<li> Make sure your SCA tool evaluation process is long and costly.<br />
 “I’ve seen companies spend three years in the analysis phase, involving a number of key staff,” Grice  says. His advice? “Buy them all and just start using them. At least you’ll have spent three years producing better code instead of just testing and evaluating.” Or, just buy one and start using it. If it doesn’t do everything you want it to, buy another one.</li>
<li>Cling to your tool-selection criteria to the point of impotence.<br />
 “I’ve seen companies not buy a tool because they couldn’t check off one requirement out of 100.  It didn’t matter that the other 99 criteria were met,“ Grice says.  Often, these checklists eliminate every tool.  These companies opt to do nothing rather than something about their code quality.</li>
<li>Insist that one tool must do everything.<br />
 No one tool will do everything. Buy a couple of them.  “If I’m working on a construction project and I need to drive some nails and cut some wood, I’m going to go and buy a hammer and a saw.” What? There’s no such thing as a sammer (or a haw) for both those tasks?</li>
<li>Focus solely on the number of false positives the tools throw.<br />
 “A zero false-positive rate is ridiculous,” Grice says.  A very low false positive rate is often tied to a higher false negative rate. It’s easier to manage false positives than false negatives, particularly since the latter rear their ugly mugs after your product is shipped, he says.  If a tool is tunable and customizable, you can just filter or turn off the defect types that don’t interest you.</li>
<li>Denial:  You don’t have to fix problems if you don’t find them.<br />
 “Gack!” Grice has to do deep breathing to get through this one. “If you don’t want to find anything, then don’t test! I mean, jeez!”</li>
<li> Have a persecution complex: Management will use the information against us.<br />
 Developers sometimes worry that they’ll be ranked by number of defects per lines of code. But if you’re finding and fixing defects before you check in, your numbers will actually improve. “I’ve seen one team resist the SCA tool because they were at the top of their game. Then that team saw their ranking fall because teams using the SCA tool made consistent quality gains with every build and then caught up and then surpassed them,” Grice says.</li>
<li>Make non-development staff responsible for rolling out the SCA tools.<br />
 “I know we’re in for it when the prime asks, ‘What’s a build?’ or ‘What’s make?’”<br />
 To successfully roll out, Grice says, you need a code expert&#8211;someone who really understands your build process, the development environments and how to evaluate the findings.</li>
</ol>
</div>
<div id="_mcePaste">And there you have it—your SCA-failure habits. We’ll end here because Grice has to go and get his  blood pressure checked.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/06/7-habits-of-highly-ineffective-sourc-code-analysis/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How not to submit your software developer resume…</title>
		<link>http://www.klocwork.com/blog/2010/06/how-not-to-submit-your-resume-2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-not-to-submit-your-resume-2</link>
		<comments>http://www.klocwork.com/blog/2010/06/how-not-to-submit-your-resume-2/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 15:57:54 +0000</pubDate>
		<dc:creator>Carolyn Perkins</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[General Industry]]></category>
		<category><![CDATA[Software Career]]></category>
		<category><![CDATA[careers]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=990</guid>
		<description><![CDATA[I like developers. I have spent a career hiring, motivating, confusing, annoying and retaining developers.  I am not going to go so far as to say I understand you guys, but I do know what makes a good developer.  More importantly, I know what makes someone a bad fit for the team I am recruiting [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/06/my-resume.png"><img class="size-medium wp-image-1007 alignright" style="margin-left: 20px;" title="How not to write a developer resume" src="http://www.klocwork.com/blog/wp-content/uploads/2010/06/my-resume-300x193.png" alt="" width="240" height="154" /></a>I like developers.</p>
<p>I have spent a career hiring, motivating, confusing, annoying and retaining developers.  I am not going to go so far as to say I understand you guys, but I do know what makes a good developer.  More importantly, I know what makes someone a bad fit for the team I am recruiting for.</p>
<p>First impressions are important. Yeah, I know, it sucks and your technical prowess should speak for itself, but it doesn’t.  Let’s face it, if you forget the &#8220;L&#8221; in Klocwork in your cover letter, I&#8217;m laughing too hard to pay attention to your superior coding skills.</p>
<p>If you continually refer to me as “Sir”, my feminist nose gets a bit out of joint; resumes filled with spelling errors throw into question your attention to detail and your level of concern for putting forth solid code.</p>
<p>While I am on the subject of resumes, it&#8217;s very impressive that people have the experience to fill up 15 pages of a resume. Maybe it&#8217;s even impressive that they have the time to type out a 15-page resume, but no one else has the time or the inclination to read a 15-page resume.  To date, the record length for a resume that I have received is 25 pages – this person is not employed here.</p>
<p>Being in this industry and in HR for as long as I have, I have learned something shocking – people stretch the truth on their resumes!  Imagine that!  And then imagine a company having the audacity to have someone in for an interview and test the person to assess whether what they claim on their resume is actually the case.  Of course, as a candidate, you should then take great offense to the fact that my colleagues and I called into question your integrity, your intelligence, and your worth as a citizen of the world.  In fact, you should probably follow up your interview with a strongly worded e-mail addressed to Sir at Kocwork.  Or maybe you shouldn’t.</p>
<p>Just…don’t…do…that.   We are not attacking your credibility. We do not enter the interview room thinking you are a lying, worthless waste of skin. In fact, we are pretty excited to meet you, so far we have liked what we have seen, otherwise you would not be here.</p>
<p>We will remain excited to meet you, right up to the point where you show up half an hour late, wearing a questionable outfit covered with what appears to be last week’s Sunday dinner.  Maybe you will look me in the eye, or maybe you will direct your eyes to my chest and keep them fixed there throughout the interview.  When that happens I like to observe where your eyes remain clamped when my male coworkers are interviewing you because inevitably it has nothing to do with what is on the interviewer’s chest. It&#8217;s just a convenient place to rest one’s gaze.  However,  between you and me, it kinda freaks me out.</p>
<p>I found this blog to be rather cathartic. I have more, so much more and if I am invited back as a guest blogger, maybe my therapy bills will go down.  Until we meet across a table in our interview room, I wish you good luck and good code!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/06/how-not-to-submit-your-resume-2/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Top 5 reasons developers can relate to soccer players</title>
		<link>http://www.klocwork.com/blog/2010/06/top-5-reasons-developers-can-relate-to-soccer-players/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=top-5-reasons-developers-can-relate-to-soccer-players</link>
		<comments>http://www.klocwork.com/blog/2010/06/top-5-reasons-developers-can-relate-to-soccer-players/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 01:59:05 +0000</pubDate>
		<dc:creator>Alen Zukich</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[fifa 2010 world cup]]></category>
		<category><![CDATA[software developer]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1003</guid>
		<description><![CDATA[In the spirit of the FIFA 2010 World Cup, I thought it would be fitting to describe how software developers can relate to the game. Announcers &#8211; Have you ever really listened to what the announcers say?  One of my favorite things to listen to is the very opinionated soccer announcers.  Some of the things [...]]]></description>
			<content:encoded><![CDATA[<p>In the spirit of the FIFA 2010 World Cup, I thought it would be fitting to describe how software developers can relate to the game.</p>
<ol>
<li>Announcers &#8211; Have you ever really listened to what the  announcers say?  One of my favorite things to listen to is the  very opinionated soccer announcers.  Some of the things they say just  make me laugh.  For example, when the announcer was describing the  uncertainty of the game &#8211; “There’s one thing for certain, there is no  score.”  or in this year’s World Cup describing a slow and boring game &#8211;  “It’s like they are playing in slow motion”.  I’m not saying developers  are opinionated&#8230;no way ;).  One thing that is similar is the comments  developers will put in the code.  One of my favorites:</li>
<pre style="padding-left: 30px;">//When I wrote this, only God and I understood what I was doing
//Now, God only knows</pre>
<p style="padding-left: 30px;">For more funny comments go <a href="http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered" target="_blank">here</a>.</p>
<li>Money &#8211; Soccer players do what they love for vast amounts of money.  Developers do what they love&#8230;well okay maybe not the second part.</li>
<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/06/vuvuzela21.jpg"><img class="alignleft size-full wp-image-1005" style="margin-right: 30px;" title="vuvuzela" src="http://www.klocwork.com/blog/wp-content/uploads/2010/06/vuvuzela21.jpg" alt="" width="240" height="149" /></a><br class="spacer_" /></p>
<li>Vuvuzelas &#8211; whether you like them or not you are stuck with listening to hundreds of Vuvuzelas playing their merry tune.  Despite all the <a href="http://www1.voanews.com/english/news/sports/BBC-May-Filter-Out-Vuvuzelas-from-Broadcasts-96393404.html" target="_blank">complaints</a> it will continue to haunt spectators until the tournament ends.  So why is everyone blowing the god forsaken plastic tubes?  Well my first guess is that they are drunk, but I think mostly because it is fun.  So as a software developer you don&#8217;t get to blow on the vuvuzela but I bet you would want to when you finished your work or the latest complicated feature?  Hopefully this is not because you&#8217;re currently drunk.</li>
<p><br class="spacer_" /></p>
<li>The thumbs up &#8211; In a meeting I had with our customer advisory board there was one individual who kept giving the thumbs up.  I understood that he was voicing his agreement with what we were talking about but I never understood why it was always with the thumbs up&#8230;until the World Cup started.  Seems to be the universal sign for the soccer players to say “nice ball” or “good play”.</li>
<p><br class="spacer_" /></p>
<li>Drama &#8211; Have you ever noticed how the majority of soccer players act when they have been fouled?  They dive 10 feet in the air, roll 16 times and clutch their chest like they were just shot.  Okay maybe I’m exaggerating a <span style="text-decoration: underline;">little</span> but the point here is that some of these players are under the impression that they may get nominated for the next Academy award.  How does this relate to the software developer?  Well think of the code review, who really likes hearing that their baby is ugly?</li>
<p><br class="spacer_" /></p>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/06/top-5-reasons-developers-can-relate-to-soccer-players/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Alphabet Soup of Software Security Guidelines</title>
		<link>http://www.klocwork.com/blog/2010/06/the-alphabet-soup-of-software-security-guidelines/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=the-alphabet-soup-of-software-security-guidelines</link>
		<comments>http://www.klocwork.com/blog/2010/06/the-alphabet-soup-of-software-security-guidelines/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 13:48:33 +0000</pubDate>
		<dc:creator>Todd Landry</dc:creator>
				<category><![CDATA[Compliance]]></category>
		<category><![CDATA[General Coding]]></category>
		<category><![CDATA[General Industry]]></category>
		<category><![CDATA[Software Security]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[software security]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=1001</guid>
		<description><![CDATA[With the recent story that the iPad has inherent security vulnerabilities, I thought it might be an appropriate time to delve into the world of software security guidelines&#8230;but I must warn you, this blog will contain an abnormal amount of acronyms, and may not be suitable for all audiences. When talking about software security guidelines, [...]]]></description>
			<content:encoded><![CDATA[<p>With the recent <a href="http://www.techeye.net/hardware/ipad-has-another-security-flaw-says-hacker-group">story</a> that the iPad has inherent security vulnerabilities, I thought it might be an appropriate time to delve into the world of software security guidelines&#8230;but I must warn you, this blog will contain an abnormal amount of <a href="http://codyfrew.wordpress.com/2007/06/29/acronyms-friends-or-foes/">acronyms</a>, and may not be suitable for all audiences.<a href="http://www.klocwork.com/blog/wp-content/uploads/2010/06/soup.jpg"><img class="alignright size-medium wp-image-1002" title="soup" src="http://www.klocwork.com/blog/wp-content/uploads/2010/06/soup-300x189.jpg" alt="" width="300" height="189" /></a></p>
<p>When talking about software security guidelines, there are really 5 or 6 organizations that are leading the charge, and they include:</p>
<p>-          OWASP</p>
<p>-          SANS Institute</p>
<p>-          MITRE</p>
<p>-          PCI Security Standards Council</p>
<p>-          SEI</p>
<p>Let’s first look at <a href="http://www.owasp.org/index.php/Main_Page">OWASP</a>. OWASP stands for Open Web Application Security Project, which is a not-for-profit charitable organization that is focused on improving the security of application software. They are probably best known for their Top 10 lists from 2004, 2007, and most recently <a href="http://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project">2010</a>.</p>
<p>Next is the <a href="http://www.sans.org/">SANS Institute</a>. SANS of course is a FLA that stands for SysAdmin, Audit, Networking, Security. The SANS Institute claims to be the most trusted source for computer security training, certification and research, and have been developing and releasing their <a href="http://www.sans.org/top-cyber-security-risks/">Top 20 </a>annually for the past 7 years or so.</p>
<p>The <a href="http://www.mitre.org/">MITRE Corporation </a>is a not-for-profit organization that was founded in the late 50’s, and has over 7,000 very smart dudes (65% have Masters or PhDs). MITRE has come up with their own security guideline as well, that is the <a href="http://cwe.mitre.org/">CWE </a>(Common Weakness Enumeration) and it provides a common language of discourse for discussing, finding and dealing with the causes of software security vulnerabilities as they are found in code, design, or system architecture. The CWE lists over 800 programming errors, design errors, and architectural errors that can lead to exploitable vulnerabilities. Interestingly, MITRE and SANS decided to collaborate to come up with the <a href="http://cwe.mitre.org/top25/">CWE Top 25</a>, yet another “Top” list they have been putting together for the last couple of years.</p>
<p>The <a href="https://www.pcisecuritystandards.org/index.shtml">PCI Security Standards Council </a>was founded by American Express, Discover Financial Services, JCB International, MasterCard Worldwide, and Visa, Inc. and is an open global forum for the ongoing development, enhancement, storage, dissemination and implementation of security standards for account data protection. The PCI SSC has come up with the <a href="https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml">PCI DSS</a>, “a multifaceted security standard that includes requirements for security management, policies, procedures, network architecture, software design and other critical protective measures. This comprehensive standard is intended to help organizations proactively protect customer account data”.</p>
<p>Finally, there is the <a href="http://www.sei.cmu.edu/">SEI </a>(the Software Engineering Institute, which is a federally funded R&amp;D center at CMU, aka Carnegie Mellon University). The SEI is home to <a href="http://www.cert.org/">CERT </a>which was established in 1988 to address internet security problems and to find ways to reduce the number and impact of security breaches. CERT focuses on protection, detection, and response to attacks on networked computer systems. Surprisingly enough, CERT is not actually an acronym.</p>
<p>Neither PCI nor CERT has received the memo yet that in order to be cool, you have to have a “Top X” list&#8230;perhaps next year?</p>
<p>Now, not to be left out of the fun, the NCSD (National Cyber Security Division) of the DHS (Department of Homeland Security) has their own strategic initiative called BSI (Build Security In). The NCSD obviously wants to cover pretty much all the bases since, in addition to their own <a href="https://buildsecurityin.us-cert.gov/bsi/home.html">BSI</a>, they also sponsor pretty much all of the other guidelines.</p>
<p>I would be remiss if I didn&#8217;t at least acknowledge a few other notables with respect to software security guidelines, and to make it more interesting, I will only provide the acronym. I challenge you to come up with the full name. So, a few others involved in security guidelines are NIST (who run a project called SAMATE, and also run an event called SATE, which BTW is also sponsored by DHS NCSD), WASC, and finally STIG. For fun, I’ll throw in CVE, even though it is not a guideline, but more of a dictionary or list that was put together by MITRE, and shockingly is sponsored by DHS NCSD. I&#8217;m starting to think that DHS wants to be everyone&#8217;s BFF.</p>
<p>Hopefully you’ve learned a little more about the alphabet soup of security guidelines out there. If you&#8217;re scratching your head thinking WTF, you&#8217;re probably not alone&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/06/the-alphabet-soup-of-software-security-guidelines/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Error messages: Moving beyond WTF</title>
		<link>http://www.klocwork.com/blog/2010/06/error-messages-moving-beyond-wtf/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=error-messages-moving-beyond-wtf</link>
		<comments>http://www.klocwork.com/blog/2010/06/error-messages-moving-beyond-wtf/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 20:25:30 +0000</pubDate>
		<dc:creator>Patti Murphy</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[error messages]]></category>
		<category><![CDATA[technical writer]]></category>
		<category><![CDATA[user error]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=994</guid>
		<description><![CDATA[By the time users hit the help documentation, they&#8217;re already snarly. Yeah, some people read the documentation first before using the tool, but&#8230; A lot of people just want to dive in and start using the tool. And when I’m stuck I want answers. Now, already!  You might think it’s stupid-user error and I might [...]]]></description>
			<content:encoded><![CDATA[<p>By the time users hit the help documentation, they&#8217;re already snarly. Yeah, some people read the documentation first before using the tool, but&#8230;</p>
<p>A lot of people just want to dive in and start using the tool. And when I’m stuck I want answers. Now, already!  You might think it’s stupid-user error and I might think it’s stupid software design, but who cares? I want help right NOW.</p>
<p>Troubleshooting information lives or dies by the search-and-I-better-frickin-find-what-I&#8217;m-looking-for mentality. How do we look for this help? We copy and paste error messages into a browser and search.</p>
<p>When my ideas about organizing  troubleshooting information compete with how Google finds stuff, Search Engine Optimization (SEO) carries the day.  Or at least it should. Of course, there are SEO factors that put help documentation at a disadvantage, but that’s another topic for another day and I’ll let <a href="http://idratherbewriting.com/2010/05/28/search-engine-optimizing-your-help-content-for-google-organizing-content-10/">Tom Johnson</a> do the talking on that one.</p>
<p>What does this mean for me, a technical writer?</p>
<p>Well, if two (or 5) of our tools throw the same error message, I’m going to have one page for each error message and have instructions on that page that explain how to fix it in each tool. Yeah, it’s nice to have tool-specific help information, but Google gives more weight to page titles and URLs. For good measure, I’m going to repeat the error message in the body of the page and format it in bold or italics.</p>
<p><a href="http://ffeathers.wordpress.com/2008/05/18/aodc-error-messages/">Sarah Maddox</a> highlights elements of what makes a good error message (including some hilarious examples of bad ones), so no need for repetition.</p>
<p>Aside from clarity, what do I want in an error message?</p>
<p>Firstly, I’d like to be able to copy and paste it.</p>
<p>Secondly, I’d like the solution to be stated.</p>
<p>As an added bonus, I’d like to be provided with a link in that message that would bring me to the dialog where I can take remedial action. Then, I won’t even have to look for help information. I can just fix it. Here’s an example of one these helpful messages from our Eclipse plug-in:</p>
<p style="text-align: center;"><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/06/error_message_example3.png"><img class="aligncenter size-large wp-image-998" title="error_message_example" src="http://www.klocwork.com/blog/wp-content/uploads/2010/06/error_message_example3-1024x85.png" alt="" width="1024" height="85" /></a><br class="spacer_" /></p>
<p>See? Documentation not required. The solution is outlined, and you can click the link to get to the license dialog, where you can check your host and port information.</p>
<p>Hmmm. Maybe that would put me out of a job. Sergey, please change that message to:</p>
<p>ERROR:FROZEN:BAD LICENSE.</p>
<p>I have a mortgage to pay here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/06/error-messages-moving-beyond-wtf/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How developers communicate. Not (using social media)!</title>
		<link>http://www.klocwork.com/blog/2010/06/how-developers-communicate-not-using-social-media/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-developers-communicate-not-using-social-media</link>
		<comments>http://www.klocwork.com/blog/2010/06/how-developers-communicate-not-using-social-media/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 21:23:27 +0000</pubDate>
		<dc:creator>Eric Hollebone</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[General Industry]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=988</guid>
		<description><![CDATA[So a while back, I explored where developers get their information.  Surprisingly, it is hard to find hard data on the subject.  As a bonus from a Forrester study commissioned by Klocwork into the habits of code review, part of  the data revealed developers&#8217; use of social media tools.  When asked directly about their use of these tools [...]]]></description>
			<content:encoded><![CDATA[<p>So a while back, I explored where <a href="http://www.klocwork.com/blog/2009/08/so-where-do-you-get-your-information/">developers get their information</a>.  Surprisingly, it is hard to find hard data on the subject.  As a bonus from a Forrester study commissioned by Klocwork into the habits of <a title="Code Review - a modern approach" href="http://www.klocwork.com/resources/code-review/" target="_blank">code review</a>, part of  the data revealed developers&#8217; use of social media tools.  When asked directly about their use of these tools to communicate with other developers, the majority polled would not choose a social media channel.</p>
<p style="text-align: center;"><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/06/klocwork-social-media-developer-usage.png"><img class="aligncenter size-medium wp-image-992" title="Software developer usage of social media" src="http://www.klocwork.com/blog/wp-content/uploads/2010/06/klocwork-social-media-developer-usage.png" alt="Software developer social media usage for communications with other developers" width="500" height="361" /></a></p>
<p>It just goes to show that yet again, software developers are a breed apart.  As an aside, as I was researching this topic, I found an interesting post on why <a href="http://www.noop.nl/2009/05/social-media-experts-are-poets-software-developers-are-novelists.html" target="_blank">Social Media Experts are poets, Software developers are novelist</a> that delves into ideas on barrier-of-entry as related to quality-perception of creative tasks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/06/how-developers-communicate-not-using-social-media/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Developer productivity – you’ve got mail</title>
		<link>http://www.klocwork.com/blog/2010/06/developer-productivity-youve-got-mail/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=developer-productivity-youve-got-mail</link>
		<comments>http://www.klocwork.com/blog/2010/06/developer-productivity-youve-got-mail/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 14:56:14 +0000</pubDate>
		<dc:creator>Alen Zukich</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Klocwork]]></category>
		<category><![CDATA[source code analysis]]></category>
		<category><![CDATA[Static Analysis]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=986</guid>
		<description><![CDATA[A while back, I talked about how I keep running into organizations that seem to go out of their way to make developers&#8217; lives hell.  I&#8217;ve run into several examples where developers had to switch between different environments just to write and compile code.  That&#8217;s as productive as watching paint dry and as much fun [...]]]></description>
			<content:encoded><![CDATA[<p>A while back, I <a title="Developer productivity thrown out the door" href="http://www.klocwork.com/blog/2009/06/developer-productivity-thrown-out-the-door/" target="_blank">talked</a> about how I keep running into organizations that seem to go out of their way to make developers&#8217; lives hell.  I&#8217;ve run into several examples where developers had to switch between different environments just to write and compile code.  That&#8217;s as productive as watching paint dry and as much fun as rearranging the deck chairs on the Titanic.</p>
<p>For teams that want to run source code analysis in these types of environments (or any kind of dev tooling, frankly)  it&#8217;s very difficult for vendors to support.  I did my usual PM grumbling about these environments but since that post exactly 1 year ago I&#8217;ve come to realize that these environments are a reality and we need to figure out a way to support them.  Maybe it&#8217;s not productive but organizations are making it work.  I&#8217;m sure they would even argue that they have made it productive (good luck to them).  It&#8217;s for this reason that Klocwork has given in and instead of pointing our finger and making fun (I swear I never did), we&#8217;ve decided that it&#8217;s in our best interest to make sure we provide these customers with the capability to run static analysis.</p>
<p>A couple of releases ago, Klocwork introduced a new tool called Klocwork Desktop that provides Klocwork command line users with the same graphical capabilities that one would get from Visual Studio or Eclipse.  This tool was great for users who never used an IDE.  With Klocwork&#8217;s 9.1 release we have extended Klocwork Desktop&#8217;s reach by providing a remote capability that&#8217;s designed to support the type of environments described above.  Using Klocwork Desktop in remote mode allows users to view their source  and detected-issue information when Klocwork Desktop does not have  direct access to source files or defects, yet still get the benefits of finding and fixing your defects before you check-in your code.</p>
<p>One really cool feature that is part of this is the &#8220;you&#8217;ve got mail&#8221; notification.  At first, I have to admit this is something that worried me.  If I had to label one thing as a productivity drain it was those annoying alerts you get of new email coming in.  Of course right in the middle of doing something important you get distracted by a new email with plans for the next party (or in my case hearing about the kids latest poop explosion).  The first thing I always do is turn it off.  But in the case of finding bugs while coding, it only makes sense to give you these notifications in a heartbeat.  So you can actually be writing code on some machine in Jakarta and automatically your machine in San Jose is alerting you of bugs.  Pretty neat stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/06/developer-productivity-youve-got-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developers think code reviews are great… what?</title>
		<link>http://www.klocwork.com/blog/2010/06/developers-think-code-reviews-are-great-what/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=developers-think-code-reviews-are-great-what</link>
		<comments>http://www.klocwork.com/blog/2010/06/developers-think-code-reviews-are-great-what/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 15:30:31 +0000</pubDate>
		<dc:creator>Brendan Harrison</dc:creator>
				<category><![CDATA[Code Review]]></category>
		<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Forrester]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=980</guid>
		<description><![CDATA[It&#8217;s often taken as read that developers think code reviews are just a pain in the behind. Maybe that sentiment is true when a developer&#8217;s sitting amongst his/her peers and getting interrogated on the quality of their code, but some of the data from a Forrester Consulting study commissioned by Klocwork seems to contradict that [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s often taken as read that developers think code reviews are just a pain in the behind. Maybe that sentiment is true when a developer&#8217;s sitting amongst his/her peers and getting interrogated on the quality of their code, but some of the data from a <a title="Code Review Resource Centre" href="http://www.klocwork.com/resources/code-review/" target="_blank">Forrester Consulting study commissioned by Klocwork</a> seems to contradict that a bit. The survey asked software development professionals a whole bunch of questions related to code reviews (some of which we&#8217;ve <a title="Code Reviews - Mandatory but Ad-hoc?" href="http://www.klocwork.com/blog/2010/03/code-reviews-mandatory-but-ad-hoc/" target="_blank">referenced before</a>) and here are two interesting data points that suggest developers see real benefits from code reviews.</p>
<p><br class="spacer_" /></p>
<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/06/code_review_data_results_jun1_v31.png"><img class="aligncenter size-full wp-image-985" title="code_review_data_results_jun1_v3" src="http://www.klocwork.com/blog/wp-content/uploads/2010/06/code_review_data_results_jun1_v31.png" alt="" width="591" height="694" /></a></p>
<p><br class="spacer_" /></p>
<p>So 79% of respondents indicate that, yes, code reviews have been effective at reducing the number of bugs found later in the development cycle. Furthermore, 43% state that code reviews have caused a fundamentally positive shift in their project&#8217;s direction. Cool.</p>
<p>Of course, in other parts of the survey, respondents complain about aspects of code review, in particular how time consuming and difficult they can be to implement consistently. Nonetheless, the data indicates that when organizations put their heads down and make them part of their development process, real benefits will be realized. So, the challenge is making them part of the process &#8211; of course we advocate a tools-based approach, making them more lightweight, and combining automation into your software verification strategy so that manual reviews aren&#8217;t the only technique being used to find implementation errors.</p>
<p>This data line-up with what you&#8217;re seeing within your organization?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/06/developers-think-code-reviews-are-great-what/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Getting developers to RTFM</title>
		<link>http://www.klocwork.com/blog/2010/05/getting-developers-to-rtfm/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=getting-developers-to-rtfm</link>
		<comments>http://www.klocwork.com/blog/2010/05/getting-developers-to-rtfm/#comments</comments>
		<pubDate>Thu, 27 May 2010 19:08:42 +0000</pubDate>
		<dc:creator>Helen Abbott</dc:creator>
				<category><![CDATA[Agile Development]]></category>
		<category><![CDATA[User Documentation]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[technical writing]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=979</guid>
		<description><![CDATA[Documentation is the castor oil of programming. The managers know it must be good, because programmers hate it so much. Gerald M. Weinberg I used to be a strong believer in formal doc reviews. Distribute a draft, plan a meeting, and have everyone gather around the table. But in the last few years, my team [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Documentation is the castor oil of programming. The managers know it must be good, because programmers hate it so much. <a title="Gerald Weinberg" href="http://www.softwarequotes.com/showquotes.aspx?id=605&amp;name=Gerald%20M.%20Weinberg" target="_blank">Gerald M. Weinberg </a></p>
</blockquote>
<p>I used to be a strong believer in formal doc reviews. Distribute a draft, plan a meeting, and have everyone gather around the table. But in the last few years, my team has moved towards mostly meetingless reviews&#8211;because people hate review meetings (you know, like <a href="http://www.klocwork.com/blog/2009/11/the-joy-of-code-review/" target="_blank">code reviews</a>, only worse), because people haven’t always read the drafts when they get to the meeting, and because some of our dev team is overseas.</p>
<ul>
<li>First, we distributed PDFs and asked reviewers to submit comments in email or on a hard copy. For the overseas team, email was the only option. This is not fun for either the reviewer, who has to do a lot of copying and pasting and referring to page numbers, or for the writer.</li>
<li>Then we tried Adobe Acrobat PDF reviews, which allowed all reviewers to comment on the same PDF and view others’ comments. This was a big improvement over the email method.</li>
<li>Now that all of our product documentation is hosted on a MediaWiki-based site, we’ve asked reviewers to edit the pages themselves, or add comments to the Talk pages. This makes life much easier for both reviewers and writers.</li>
</ul>
<p>Still, as <a href="http://justwriteclick.com/" target="_blank">Anne Gentle</a> stresses in <a href="http://www.amazon.com/gp/product/0982219113?ie=UTF8&amp;tag=justwriteclic-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0982219113" target="_blank">Conversation and Community</a>, using a collaborative medium doesn’t guarantee that collaboration will happen.</p>
<p>How do we encourage developers and testers to “own” the documentation for their tools, and to think of help as part of the product? If we can get developers and testers to RTFM, the benefits are obvious. They understand the tools in a way that no one else does, so they’ll provide feedback that no one else can. And they’ll become familiar with the help for the tools they’re responsible for, so they’d know whether a change they’re making or testing would affect the help.</p>
<ul>
</ul>
<p>I thought up a few ways that might increase the amount of review feedback:</p>
<ul>
<li>Create review tasks in our Agile project tracking tool, <a href="http://www.xplanner.org/" target="_blank">XPlanner</a>. A top-down approach, and I wasn’t enthusiastic about it. Kinda like the daily castor oil treatment.</li>
<li>Make everyone’s MediaWiki user page into their doc review page; we’d add links to these pages and reviewers would be notified through email, then they could delete the link when they’ve reviewed it. A nice bottom-up approach, I thought, in the spirit of the wiki.</li>
</ul>
<p>But encouraging collaboration may be less about tools and more about process. If we involve reviewers earlier, they can tell us what they think before we’ve written a draft. A draft takes a long time to review, and if a reviewer doesn’t like it, they might not provide any feedback at all.</p>
<p>As Donna L. Davis says in a <a href="http://www.developerdotstar.com/mag/bookreviews/davis_agiledocumentation.html" target="_blank">review</a> of Andreas Rüping&#8217;s <a href="http://www.amazon.com/Agile-Documentation-Producing-Lightweight-Documents/dp/0470856173/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1274971603&amp;sr=1-1" target="_blank"><em>Agile Documentation</em></a>:</p>
<blockquote><p>Documentation isn’t bad. But bad documentation is terrible.</p>
</blockquote>
<p>Is reviewing docs worse than eating Brussels sprouts? Do you review docs when asked, or do you hide the invitations under the edge of your plate, hoping mom won’t notice? Is the help so bad that you can’t be bothered? Are you just too busy? Are you one of those people who never consults the help for tools you use? Do you think your users will be able to use the tools you’re developing or testing without the docs?</p>
<p>What would make you more inclined to “own” the help for the tools you’re developing or testing?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/05/getting-developers-to-rtfm/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why don’t developers want the latest toys?</title>
		<link>http://www.klocwork.com/blog/2010/05/why-dont-developers-want-the-latest-toys/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=why-dont-developers-want-the-latest-toys</link>
		<comments>http://www.klocwork.com/blog/2010/05/why-dont-developers-want-the-latest-toys/#comments</comments>
		<pubDate>Tue, 25 May 2010 21:05:11 +0000</pubDate>
		<dc:creator>Gwyn Fisher</dc:creator>
				<category><![CDATA[General Coding]]></category>
		<category><![CDATA[General Industry]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=978</guid>
		<description><![CDATA[There’s a tradition in R&#38;D management that goes something like this: “give them toys and they’ll be happy.” Typically this has meant the biggest monitors, or the fastest CPUs, or an egregiously unnecessary SLI GPU configuration (for, ahem, high capacity computation tasks, right…), or whatever the latest piece of hardware might be that catches the [...]]]></description>
			<content:encoded><![CDATA[<p>There’s a tradition in R&amp;D management that goes something like this: “give them toys and they’ll be happy.” Typically this has meant the biggest monitors, or the fastest CPUs, or an egregiously unnecessary SLI GPU configuration (for, ahem, high capacity computation tasks, right…), or whatever the latest piece of hardware might be that catches the purchasing manager&#8217;s eye.</p>
<p>But what about the software on that hardware? Sure, we equip people with an IDE (if they’ll use it, or whatever text editor they demand if they won’t) and whatever other tools are mandated as part of their development lifecycle. In fact, typical managers would dearly love to be able to mandate more tools for their developers. It’s easy, after all, for a manager to make the correlation that more toys = happy developer = more productivity = more code = bigger bonus = happy manager.</p>
<p>So why do so many developers, particularly in the embedded space, use outdated software tools? What’s the excuse, after all, for vi or some close derivative being a dominant code editor?</p>
<p>Inverse snobbery has been a popular theme in the privileged parts of the world for much of the last thirty years. “Yes, we drive a Lada because we just don’t believe that a BMW is necessary.” Really? Does anybody actually believe that tripe? I mean, I can well believe “I use vi because I have to; it’s the only editor that works on this cruddy piece of hardware.” But forgive me if I have a hard time with “I use vi because I like it better than anything else.” We all get used to stuff that makes no real sense, but surely there’s a point where even the most inverted technical snob has to look themselves in the mirror and know, deep in their darkest most hidden-away recesses of existential reality, that they’re just full of it.</p>
<p>Intransigence. Inertia. Feet dug in harder than you could possibly shift in a lifetime. Call it what you will, but unless something life-changing, like a project in a new language happens, many developers have a nasty habit of sticking with what they know. “What we do is hard enough,” goes the meme, “we don’t need to make it any worse.”</p>
<p>So how are those same developers coping with the demands of the ever-increasing footprint that is professional development? After all, it’s not enough anymore to simply bang out some code and check it in, moving on to the next assignment and hoping nobody notices. Now the professional developer is tasked with unit testing, performance testing, static analysis, memory profiling, code review, refactoring for maintenance, architectural cohesion, you name it. The list only ever gets longer as we move the goal posts for QA closer and closer to the consumer, requiring the developer to pick up the slack in the interim.</p>
<p>How does that footprint get coverage? There are still the same number of hours in the day, and the required amount of code generated by each developer hasn’t markedly decreased over the last 10 years. So what gives? One thing’s for sure… vi hasn’t made developer productivity much better than when it was first written at Berkley all those years ago (with all due deference to the strides made by vim/gvim in recent years).</p>
<p>I’m going to examine several different communities in upcoming posts and look at the approach they take to solving this problem, covering a range of backgrounds and roles from embedded driver writers to creators of modern web applications. In the meantime, have a look inside yourself and, if you pass muster as some analog of the crusty vi user I paint above, ask yourself why, and what might make you change. Recent history abounds with case studies, some of which I’ll reference, but at the end of the day it’s all about you and your personal work practice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/05/why-dont-developers-want-the-latest-toys/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Observations from the Agile in Action Roadshow</title>
		<link>http://www.klocwork.com/blog/2010/05/observations-from-the-agile-in-action-roadshow/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=observations-from-the-agile-in-action-roadshow</link>
		<comments>http://www.klocwork.com/blog/2010/05/observations-from-the-agile-in-action-roadshow/#comments</comments>
		<pubDate>Fri, 21 May 2010 19:41:11 +0000</pubDate>
		<dc:creator>Todd Landry</dc:creator>
				<category><![CDATA[Agile Development]]></category>
		<category><![CDATA[Code Review]]></category>
		<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Static Analysis]]></category>
		<category><![CDATA[agile]]></category>
		<category><![CDATA[software development]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=973</guid>
		<description><![CDATA[Just returned from my second stint on the Agile in Action roadshow with our friends from Electric Cloud, Perforce, and VersionOne, this time visiting the cities of Toronto, Philadelphia and Chicago. Rather than going into minute detail (and the fact it is a Friday afternoon before a long weekend), I thought I would share a [...]]]></description>
			<content:encoded><![CDATA[<p>Just returned from my second stint on the <a href="http://www.perforce.com/perforce/roadshows/register-chicago052010-p4.html">Agile in Action </a>roadshow with our friends from <a href="http://www.electric-cloud.com/">Electric Cloud</a>, <a href="http://www.perforce.com/">Perforce</a>, and <a href="http://www.versionone.com/">VersionOne</a>, this time visiting the cities of Toronto, Philadelphia and Chicago. Rather than going into minute detail (and the fact it is a Friday afternoon before a <a href="http://en.wikipedia.org/wiki/Victoria_Day">long weekend</a>), I thought I would share a few random observations from this trip:</p>
<ul>
<li>Organizations (and individuals) are begging for as much information and guidance as they can get on Agile and tools for Agile, and are willing to give up a days in the office and brave horrific traffic to get it</li>
<li>Teams that are 6 to 9 months practicing Agile think they&#8217;re novices, but in reality are seasoned veterans and have lived through most of the nightmares newer teams are currently facing</li>
<li>Toronto cab drivers have a random-number generator for their &#8220;flat-rate&#8221; fares from the airport</li>
<li>The majority of our audience would rank low to medium on both their knowledge and their adoption of Agile&#8230;they all want to go Agile, they just don&#8217;t know where to start (or if they were started, how they could improve things)</li>
<li>Window seats suck, but not as much as middle seats</li>
<li>Developers do code reviews, but don&#8217;t like doing them&#8230;</li>
<li>&#8230;but you could always count of the one guy in the audience who claimed to like them&#8230;obviously someone&#8217;s living in denial</li>
<li>And finally, if you are in 3 different hotels in 3 nights, keep the sleeve your room key comes in on you at all times&#8230;I guarantee you&#8217;ll forget your room number at least once during the trip. </li>
</ul>
<p><a href="http://www.klocwork.com/blog/wp-content/uploads/2010/05/Picture1.jpg"><img class="alignleft size-full wp-image-977" title="Picture1" src="http://www.klocwork.com/blog/wp-content/uploads/2010/05/Picture1.jpg" alt="" width="274" height="181" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/05/observations-from-the-agile-in-action-roadshow/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>So many developer tools – which ones to pick</title>
		<link>http://www.klocwork.com/blog/2010/05/so-many-developer-tools-which-ones-to-pick/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=so-many-developer-tools-which-ones-to-pick</link>
		<comments>http://www.klocwork.com/blog/2010/05/so-many-developer-tools-which-ones-to-pick/#comments</comments>
		<pubDate>Wed, 19 May 2010 15:51:25 +0000</pubDate>
		<dc:creator>Eric Hollebone</dc:creator>
				<category><![CDATA[Code Review]]></category>
		<category><![CDATA[General Coding]]></category>
		<category><![CDATA[Software Quality]]></category>
		<category><![CDATA[Static Analysis]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=972</guid>
		<description><![CDATA[What is the ROI to the company for developer tools?  This has always been and continues to be a struggle in any development organization. Developer productivity to date has been very poorly measured and studied. Programming has always been a creative task bound within the constraints of  a framework.  Many people have tried to measure direct individual [...]]]></description>
			<content:encoded><![CDATA[<p>What is the ROI to the company for developer tools?  This has always been and continues to be a struggle in any  development organization. Developer productivity to date has been very poorly measured and studied. Programming has always been a creative task bound within the constraints of  a framework.  Many people have tried to measure direct individual developer productivity with less than convincing results:</p>
<blockquote><p>Bugs per dev, bugs per team, bug regression rates, bug trend lines, comparative .NET Framework book sales rates,  # of [static analysis] violations per kloc, etc, etc.. the list is really endless…</p>
</blockquote>
<p>So when it comes to assessing the value of development tools, what are the motivational and productivity drivers?  During my time as a development manager, my focus was always on reducing roadblocks and mindless repetitive tasks.  When you are well compensating developers to use their grey matter, you don&#8217;t want their efforts to be wasted on the simple stuff.</p>
<p>Focusing on a bottom-up approach, I base the tool choices on the marginal cost for adding a developer.  After getting the basics out of the way, including corporate overhead, dev box, standard  software load and a complier, what&#8217;s next?</p>
<p>Well, there are a plethora of vendors all screaming at you to buy their product, but let&#8217;s take a step back and look at what makes a developer produce better code.</p>
<p>Here is my list in order and why.  It starts at the developer desktop and depends on frequency of use and then spreads out to the rest of the development team:</p>
<ul>
<li>Source control (with nightly backups) &#8211; Even for a development team of one, don&#8217;t leave home without it.  The benefits of source control really can&#8217;t be overstated: revision control, easy diffs, build integration, product branching  and maintenance, etc.</li>
</ul>
<ul>
<li><a href="http://www.klocwork.com/products/insight/klocwork-truepath/" target="_blank">static analysis</a> &#8211; like grammar checking for Office but so much deeper. It has been proven time and time again that getting rid of the minor flaws and style inconsistencies right when the developer is working and the code is fresh in their brain is the most productive.  Waiting 2 hours, a  day and for some even a week costs a context switch.  When you add in the regression analysis for the maintainability, this tool just shines and pays for itself quickly</li>
</ul>
<ul>
<li>Issue tracking &#8211; some might debate that this tool&#8217;s placement should be above static analysis, but as I said,  my focus here is on the developer&#8217;s desktop and not team or management needs.</li>
</ul>
<ul>
<li>refactoring &#8211; only sightly better than find/search/replace - not essential but when used frequently and consistently can be used for good productivity benefits .  It&#8217;s one of the small tools that get you through the day.</li>
</ul>
<ul>
<li><a href="http://www.klocwork.com/solutions/code-review/">code review</a> &#8211; similar to static analysis but now we have widened our view off of the desktop and include the team to build better code. No one person can know everything and extra pairs of eyes on the code is only going to make it better.</li>
</ul>
<ul>
<li>unit testing &#8211; anything to take away the drudgery of building simple test cases that completely cover the class/api interfaces and maintaining with the refactoring that will happen over time.  You might ask why unit testing is lower on the list. Simple. You can&#8217;t test code that has not been written yet.</li>
</ul>
<ul>
<li>dynamic/performance profiling and input injection &#8211; your customer will like you for this one.  Over time, most applications grow, add new features and become sluggish pigs.  Version performance testing and making critical judgments in trading off performance for value is one of the  keys to repeat customers.</li>
</ul>
<p>There you have it.  A list of tools for developers (note I said developers not PMs or teams) that I consider essential to have on each desktop to get them through their day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/05/so-many-developer-tools-which-ones-to-pick/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MISRA rules that don’t make sense</title>
		<link>http://www.klocwork.com/blog/2010/05/misra-rules-that-dont-make-sense/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=misra-rules-that-dont-make-sense</link>
		<comments>http://www.klocwork.com/blog/2010/05/misra-rules-that-dont-make-sense/#comments</comments>
		<pubDate>Thu, 13 May 2010 20:18:11 +0000</pubDate>
		<dc:creator>Alen Zukich</dc:creator>
				<category><![CDATA[Compliance]]></category>
		<category><![CDATA[Software Quality]]></category>
		<category><![CDATA[coding standards]]></category>
		<category><![CDATA[MISRA]]></category>
		<category><![CDATA[MISRA C]]></category>

		<guid isPermaLink="false">http://www.klocwork.com/blog/?p=967</guid>
		<description><![CDATA[Previously I posted the value of using coding standards, specifically MISRA C and MISRA C++.  This time I wanted to go through some general experiences we had with some of the checkers, specifically the ones that seem to throw a lot of violated rules, to the point that on some code bases MISRA flagged more [...]]]></description>
			<content:encoded><![CDATA[<p>Previously I <a href="http://www.klocwork.com/blog/2010/03/misra-more-irrelevant-software-requirements-again/" target="_blank">posted</a> the value of using coding standards, specifically MISRA C and MISRA C++.  This time I wanted to go through some general experiences we had with some of the checkers, specifically the ones that seem to throw a lot of violated rules, to the point that on some code bases MISRA flagged more than one error per LOC!</p>
<p>There are still tons of great rules you can apply even if you don&#8217;t make an embedded product.  But as I said before, it doesn&#8217;t make sense to turn on all the MISRA rules.  After running through many code bases and looking at the value of MISRA we certainly noticed a trend with a few culprits.  Here are a few examples that we found to be noisy with non-MISRA compliant code.</p>
<p>MISRA C 6.3 and MISRA C++ 3-9-2:</p>
<p>MISRA has the distinction of &#8220;required&#8221; rules and &#8220;advisory&#8221; rules.  This is an &#8220;advisory&#8221; rule.  Essentially it wants you to avoid using types like char, int, short, long etc. and to use specific length typedefs instead.  Obviously, many code bases use the basic types, so be prepared for many issues.</p>
<p>MISRA C 14.9 and MISRA C++ 6-4-1:</p>
<p>This is a &#8220;required&#8221; rule.  This rule  is really about making sure you have braces for your if/else keywords.  Good practice to have but how many of us really do this?</p>
<p>MISRA C 12.13 and MISRA C++ 5-2-10:</p>
<p>This is an &#8220;advisory&#8221; rule.  The rule doesn&#8217;t want you to mix increment and decrement operators into an expression.  This makes sense because it can be pretty confusing to read.  But in our experiments this seems to be something that many developers do.</p>
<p>MISRA C 17.4 and MISRA C++ 5-0-15:</p>
<p>This is a &#8220;required&#8221; rule.  The rule only wants to allow you to use array indexing for pointer arithmetic.  Everything else is non-compliant.</p>
<p>MISRA C 14.7 and MISRA C++ 6-6-5:</p>
<p>This is a &#8220;required&#8221; rule and another control flow example.  A function can only have one point of exit at the end of a function.  I can understand this but as you know, that is not reality.</p>
<p>MISRA C 13.2:</p>
<p>This is an &#8220;advisory&#8221; rule.  It states that tests against zero should be made explicit.  In other words: if (x != 0) is the proper way, not if (x).  The exception to this is if the operand is Boolean.  I don&#8217;t know about you, but you can crown me the super wiener on this? I never make it explicit.<br class="spacer_" /></p>
<p>So if you plan to pick up MISRA on your existing project beware of these rules.  I&#8217;d like to hear if you do any of those things in your code base.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.klocwork.com/blog/2010/05/misra-rules-that-dont-make-sense/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.230 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-08-31 16:18:50 -->
