<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Dennis "D.C." Dietrich : Quality Assurance</title><link>http://blogs.msdn.com/ddietric/archive/tags/Quality+Assurance/default.aspx</link><description>Tags: Quality Assurance</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Happy Usability Day!</title><link>http://blogs.msdn.com/ddietric/archive/2007/11/08/happy-usability-day.aspx</link><pubDate>Thu, 08 Nov 2007 21:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5991777</guid><dc:creator>ddietric</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/ddietric/comments/5991777.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ddietric/commentrss.aspx?PostID=5991777</wfw:commentRss><description>&lt;P&gt;Today is the &lt;A class="" href="http://www.worldusabilityday.org/" target=_blank mce_href="http://www.worldusabilityday.org/"&gt;World Usability Day 2007&lt;/A&gt; and I'd like to encourage everyone to look into it especially of course the &lt;A class="" href="http://www.worldusabilityday.org/event/show/274" target=_blank mce_href="http://www.worldusabilityday.org/event/show/274"&gt;presentations given in the MS Conference Center&lt;/A&gt; throughout the day which are available online. So, why do I think this is important and why did I tag this post as a QA post? Because if you are serious about shipping high quality software you have to care about the user experience (UX). You can ship a virtually bug-free product which is mostly worthless at the same time&amp;nbsp;because of poor usability.&amp;nbsp;I don't suggest&amp;nbsp;that QA&amp;nbsp;should take over UX. But I firmly believe that one of the responsibilities of QA is to promote the idea of&amp;nbsp;and need for UX activities throughout the&amp;nbsp;product development cycle.&lt;/P&gt;
&lt;HR align=center width="90%" SIZE=2&gt;

&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal; TEXT-ALIGN: center; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" align=center&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;This posting is provided "AS IS" with no warranties, and confers no rights.&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5991777" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ddietric/archive/tags/Quality+Assurance/default.aspx">Quality Assurance</category><category domain="http://blogs.msdn.com/ddietric/archive/tags/User+Experience/default.aspx">User Experience</category><category domain="http://blogs.msdn.com/ddietric/archive/tags/Usability/default.aspx">Usability</category></item><item><title>About the art of predicting defect density (and not abusing absolute defect counts)</title><link>http://blogs.msdn.com/ddietric/archive/2007/11/06/about-the-art-of-predicting-defect-density-and-not-abusing-absolute-defect-counts.aspx</link><pubDate>Wed, 07 Nov 2007 10:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5953135</guid><dc:creator>ddietric</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/ddietric/comments/5953135.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ddietric/commentrss.aspx?PostID=5953135</wfw:commentRss><description>&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Everyone who has worked on a&amp;nbsp;software project knows the problem: Code gets written, code gets tested and before you know it bug reports start hitting the bug tracking system. Still, life is good, bugs get fixed and ultimately the software is ready to be shipped (if this were a commercial I'd probably mention that this is a "dramatization" at this point). The interesting part is what happens after the software has shipped and the project team is starting work on the next version.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;When planning for the new version (and I'll just keep on dramatizing things a little bit) and trying to figure out the cost for bug fixing people are still sometimes tempted to say: "Hey, we found &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'"&gt;n&lt;/SPAN&gt;&lt;/EM&gt; bugs in the last version. So, we'll probably have about&amp;nbsp;&lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'"&gt;n&lt;/SPAN&gt;&lt;/EM&gt; bugs again this time." Or will they? The first problem here is&amp;nbsp;that differences in scope between the two versions are completely ignored. Does the new version contain as many new features as the last one? Will existing features be changed/extended? Are the new features as complex as last time?&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;These questions are related to the defect density of a software system which is usual defined as:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Defect Density = Number of Defects / Thousand Lines of Code (KLOC)&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;Now we are looking at the number of defects in relation to the size of the codebase which may give us an idea of what to expect for the next version. We still won't know how much code will get written but we have some guidance on how many defects per KLOC to expect. But even this should be taken with a grain of salt as several things can impact the defect density like engineering practices (e.g. investing more in &lt;A class="" href="http://www.microsoft.com/MSPress/books/9198.aspx" target=_blank mce_href="http://www.microsoft.com/MSPress/books/9198.aspx"&gt;defect prevention&lt;/A&gt;) or (again) the new code being much more/less complex than before.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;With that said, it would be very useful if one could actually make predictions about the&amp;nbsp;defect density of a system under development and in case of a large system which parts of it are likely to be broken. To what extent this is actually possible is&amp;nbsp;an often&amp;nbsp;controversially discussed topic&amp;nbsp;and there are certainly approaches to this problem which&amp;nbsp;are more&amp;nbsp;suitable than others. However, there is one in particular which motivated me to write this post and also in my opinion doesn't get as much attention as it deserves:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"&gt;It is a model for predicting defect density based on the changes made to the codebase of a system and incorporates actual code changes (LOC added, changed and removed), the amount of time spent on the changes and the source files affected. The paper &lt;EM&gt;&lt;SPAN style="FONT-FAMILY: 'Arial','sans-serif'"&gt;&lt;A class="" href="http://research.microsoft.com/research/pubs/view.aspx?type=Publication&amp;amp;id=1359" target=_blank mce_href="http://research.microsoft.com/research/pubs/view.aspx?type=Publication&amp;amp;id=1359"&gt;Use of Relative Code Churn Measures to Predict System Defect Density&lt;/A&gt;&lt;/SPAN&gt;&lt;/EM&gt; describes the model in detail using real-world data from the Windows Server 2003 codebase. It was written by&amp;nbsp;&lt;A class="" href="http://research.microsoft.com/users/nachin/default.htm" target=_blank mce_href="http://research.microsoft.com/users/nachin/default.htm"&gt;Nachiappan Nagappan&lt;/A&gt; and &lt;A class="" href="http://research.microsoft.com/~tball/" target=_blank mce_href="http://research.microsoft.com/~tball/"&gt;Thomas Ball&lt;/A&gt; who now both work at &lt;A class="" href="http://research.microsoft.com/" target=_blank mce_href="http://research.microsoft.com/"&gt;MSR&lt;/A&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR align=center width="90%" SIZE=2&gt;

&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 10pt; LINE-HEIGHT: normal; TEXT-ALIGN: center; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" align=center&gt;&lt;SPAN lang=EN-US style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'; mso-ansi-language: EN-US; mso-fareast-font-family: 'Times New Roman'; mso-fareast-language: DE"&gt;This posting is provided "AS IS" with no warranties, and confers no rights.&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5953135" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ddietric/archive/tags/Quality+Assurance/default.aspx">Quality Assurance</category></item></channel></rss>