<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
<br>
Ahh I have some questions:<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1) I see there is one test that checks the &quot;length&quot; of a method. I like to document and put all the necessary comments in my tests. So, in many tests, I get &quot;long method&quot; but actually most of those methods are comments with &quot;&quot;. So, the questions is, can be comments ignored in this test?<br>

</blockquote>
<br></div>
In fact, we included comments intentionally. Albeit, </blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I do not understand the &quot;&quot; command idea (please help me there).<br>

</blockquote><div><br>Sorry. What&#39;s what you don&#39;t understand ? I dont&#39; understand what you didn&#39;t understand hahaaha. I give you an exampple (the firstone I found):<br><br>&lt;code&gt;<br>executeDDLScript: aDDLScript <br>
&quot;Its very common you need to execute a complete DDL script: create, drop or alter tables. In these cases, you don&#39;t have any interesting results from each query. In such a case, you should use this method. Remember SqueakDBX doesn&#39;t do any translation so your statement delimiter must be understood by the backend. In order to know which delimiter we use, you can see the message queryDelimiter of the current platform backend, for example DBXPostgresPlatform.<br>
This message doesn&#39;t use the multistatements option of openDBX, it is all done by SqueakDBX so you don&#39;t have to care about it&#39;&#39;&quot;<br><br>    | ddlStatements |<br>    ddlStatements := aDDLScript findTokens: self platform queryDelimiter.<br>
    ddlStatements<br>        do: [:ddlStatement | self execute: ddlStatement]<br> &lt;/code&gt;<br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Our reasoning was, commets normally serve the purpose of clarifying code, thus, if they were ommited, the code would not be easily understandable.<br>
Therefore, we treat comments as code. IIRC, we assumed an &quot;averagne&quot; of 7 LOC per method in the beginning. </blockquote><div><br>I am not totaly agree, bt doesn&#39;t matter. Very clear your answer, <br> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
2) I think when you have take care of the results and analyse them to fix them, the common way doing this is going test for test. So, It would be fantastic being able to browse a test. And when you do this, this browse, takes all the classes that has occurrences. Example: &quot;long methods&quot; , right button, &quot;browse all&quot;. And this opens the browser with all the classes that has the long method occurrences.<br>

</blockquote>
<br></div>
Ok, this might be useful. Did I got this right there? You&#39;d like to right click on the test group and browse all of them?</blockquote><div><br>EXACTLY. I don&#39;t know if was just me, but actually that was my way of resolving the issues. Go test after test, and browsing for each one all the classes. Perhaps, I am the only one, so, It just doesn&#39;t worth it.  <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Currenetly, you can select multiple (or one, depending on your personal settings) &quot;occurences&quot; of test results and<br>
right-click -&gt; browse them all.</blockquote><div><br>Exactly. For all of test I did that. I don&#39;t know it was the esasiest way. So, because of this, I imagine 2)   :)<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
By the way, you can sort the results pane by class, too. Then you can have a look at what classes are most affected by<br>
the tests selected.<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
3) What does &quot;Data class&quot; mean ? are all the test detailed deeply somewhere ? like a webpage, wiki, or just SwaLint browser ?<br>
</blockquote>
<br></div>
This notion has been taken from Michele Lanza&#39;s and Radu Marinescu&#39;s nice book &quot;Object-Oriented Metrics in Practice&quot;.<br>
If you like to see the underlying metrics used to &quot;calculate&quot; the Data class, just enable them in the Preferences. You will<br>
notice, that they are named after the ones described in the book.<br>
Our mechanism of reusing results allows for simple creation of new Test Plugins. Just play around with them.<br>
There has been plans to cover all Metrics described in the book, however, time is short and I&#39;ll be able to Implement them not before summer, I presume.<br>
</blockquote><div><br>Ok, perfect. Thanks!<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
As you mention the Wiki, I&#39;m looking forward to bring it up aroung mid March, again, or late March, depending on how my new server is running.</blockquote><div><br>Excellent news! <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
4) What does &quot;Dot after return consistency&quot; mean ? I don&#39;t understand the % and when it is average, low or high.<br>
</blockquote>
<br></div>
Oh that&#39;s a nice one :)<br>
This is a Style tests. It simply tests, how many returns are written<br>
<br>
^ anObject aMessage<br>
<br>
and how many are written<br>
<br>
^ anObject aMessage.<br>
<br>
Where 100% is &quot;all with&quot; and 0% &quot;all without&quot; dot after return.<br>
Thus, 50% is the worst value you can get in this test, as it implies, that every second return statement<br>
is written in the opposing style.<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
</blockquote></blockquote><div><br><br>and are there some differences between both ways? I mean, a real difference ? or just to do it the same way in all the code ?<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Thanks a lot.<br>
</blockquote>
<br>
You&#39;re welcome.<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
</blockquote>
<br>
Have a nice day<br><font color="#888888">
        -Tobias<br>
</font><br><br>
<br></blockquote></div><br>