[squeak-dev] [ANN] SwaLint

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
34 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Re: [ANN] SwaLint

stephane ducasse
Hi nico

Thanks, finally some information...
What is a test configuration.

>> It was a student project which aimed at "improving Smalllint" or  
>> providing a
> tool which integrates Smalllints capabilities.
>
> The main goals of the project were to produce a software which has
> - An intuitive UI

indeed this is needed for SmallLint.

> - Support for metrics
> - Support for test configurations
> - The above mentioned Smalllint integration
>
> We spent a lot of time in analysing Smalllint and its architecture  
> in order
> to find out whether it is feasible to extend it. We found out, that  
> it would
> lead to a major architectural change to make Smalllint capable of  
> reusing
> results from other tests (which is a definitive must if you want to  
> provide
> metrics support). As well it has no support for test configurations  
> and an
> unintuitive UI (that is just my opinion). Therefore we created our  
> own tool.
>
>
>
> Smalllint is a great tool for the sophisticated developer. Our tool  
> however
> is also intended to be usable for the normal programmer. "Select your
> classes and tests on one screen, click, and here is a very good  
> structured
> overview over the problems in your application. (Maybe do some
> configuration)."
>
> That is why we will definitely not support scoping in such a way as
> Smalllint allows it. Also, we will not support refactorings. However  
> it
> takes about 5 minutes to integrate new Smalllint-Tests in our  
> program (the
> tests written by Lukas for Seaside-applications are already in the
> development build of SwaLint).
>
> Those are then - "easy to use" - integrated into a cool UI.  
> Accessible for
> everybody even the guy who does not care about AST, scoped environment
> browser and so on.
>
> Maybe usability is the kind of "selling arg" even if it does not  
> appeal to
> everybody.

it appeals to me.

>
>
> Have a nice week,
> Nico
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: [ANN] SwaLint

Michael Haupt-3
In reply to this post by stephane ducasse
Hi Stéphane,

On Fri, May 30, 2008 at 5:26 PM, stephane ducasse
<[hidden email]> wrote:
> I do not have an internet connection so I cannot check on the web.

??!!

Baffled,

Michael ;-)

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: [ANN] SwaLint

Simon Kirk
I suppose Stephane must be using an email client utilising RFC 1149 ;)

On 2 Jun 2008, at 07:54, Michael Haupt wrote:

> Hi Stéphane,
>
> On Fri, May 30, 2008 at 5:26 PM, stephane ducasse
> <[hidden email]> wrote:
>> I do not have an internet connection so I cannot check on the web.
>
> ??!!
>
> Baffled,
>
> Michael ;-)
>
>
>
>



******************************************************************************************************************************************
This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************


Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Re: [ANN] SwaLint

Tobias Pape
In reply to this post by stephane ducasse
Hello —,

Am 2008-05-30 um 17:26 schrieb stephane ducasse:

Hi nico

Thanks, finally some information...

I’m sorry, that I seemed to be unable to give any valuable information be-
fore.

What is a test configuration.

I’m afraid, ”What” is no test configuration ;).
   Actually, with the need for metric based tests, the need for average thres-
holds came up. Thus, we provided the possibility to have some preferences 
for your tests permanently stored. 
  We sometimes refer to these preferences as “test configuration”.


[…]

Maybe usability is the kind of "selling arg" even if it does not appeal to
everybody.

it appeals to me.

Glad to hear.

Have a nice week and
so long,
-Tobias



PGP.sig (193 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: Re: [ANN] SwaLint

Mariano Martinez Peck
Hi!

http://swalint.netshed.de/  is down. I would like to see the documentation.

any suggestion ?

Thanks,

Mariano

On Tue, Jun 3, 2008 at 5:16 AM, Tobias Pape <[hidden email]> wrote:
Hello —,

Am 2008-05-30 um 17:26 schrieb stephane ducasse:

Hi nico

Thanks, finally some information...

I'm sorry, that I seemed to be unable to give any valuable information be-
fore.

What is a test configuration.

I'm afraid, "What" is no test configuration ;).
   Actually, with the need for metric based tests, the need for average thres-
holds came up. Thus, we provided the possibility to have some preferences 
for your tests permanently stored. 
  We sometimes refer to these preferences as "test configuration".


[…]


Maybe usability is the kind of "selling arg" even if it does not appeal to
everybody.

it appeals to me.

Glad to hear.

Have a nice week and
so long,
-Tobias






Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: SwaLint

Tobias Pape-2
Hello Mariano,

Am 2009-01-27 um 04:27 schrieb Mariano Martinez Peck:

> Hi!
>
> http://swalint.netshed.de/  is down. I would like to see the  
> documentation.
>
> any suggestion ?

I‘m afraid, the SwaLint Wiki is down for migration. I‘d like to  
apologize for
the inconveniences. I hope to have it up and running again in the mid of
february.

Have a nice evening
        -Tobias



PGP.sig (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: SwaLint

Mariano Martinez Peck
Ok. Thanks. Let me know when It is up. I would like to do a revision with SwaLint before the first stable release of SqueakDBX and I don't know how to install and use it.

Cheers,

Mariano



On Tue, Jan 27, 2009 at 3:14 PM, Tobias Pape <[hidden email]> wrote:
Hello Mariano,

Am 2009-01-27 um 04:27 schrieb Mariano Martinez Peck:


Hi!

http://swalint.netshed.de/  is down. I would like to see the documentation.

any suggestion ?

I'm afraid, the SwaLint Wiki is down for migration. I'd like to apologize for
the inconveniences. I hope to have it up and running again in the mid of
february.

Have a nice evening
       -Tobias






Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: SwaLint

Tobias Pape
Hello, Mariano

Am 2009-01-28 um 02:00 schrieb Mariano Martinez Peck:

> Ok. Thanks. Let me know when It is up.

I will do.

> I would like to do a revision with SwaLint before the first stable  
> release of SqueakDBX and I don't know how to install and use it.

here, a short synopsis.
You need
        - a Squeak Image >= 3.9
        - AST from SqueakMap
        - Refactoring Engine from SqueakMap (provides SmallLint, btw).
        - SwaLint form SqueakMap

Then, you should be able to find SwaLint in the open
Menu. (Or, do 'SwaLint open')

Usage as follows:
        - Select the categories to test in the leftmost pane
        (right-click gives you more advanced selection possibilities)
        - Select the classes to test in the right next pane
        (again, right-click gives you more advanced selection possibilities)
        - Select the test categories in the upper right pane
        - Select the actual tests to carry out in the lower right pane
        (again, right-click gives you more advanced selection possibilities)

        -Click “Configure” to set some preferences for the test
        (e.g., which SmallLint test shall show up)
        -Click “Run Tests“ to run the tests

Then, a window should appear, presenting the test results.
- In the lower pane, right clicking will give you advanced sorting and  
selecting options
        You can browse the targets of the tests there, too
- Selecting in the upper panes selects, with tests/classes results  
will be shown


I hope this provides enough information to start using SwaLint.
Don‘t hesitate to ask further questions.

So long,
        -Tobias




PGP.sig (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: SwaLint

Mariano Martinez Peck
Ok. Thanks a lot. I will then try it.

Cheers,

Mariano

On Wed, Jan 28, 2009 at 8:41 AM, Tobias Pape <[hidden email]> wrote:
Hello, Mariano

Am 2009-01-28 um 02:00 schrieb Mariano Martinez Peck:


Ok. Thanks. Let me know when It is up.

I will do.


I would like to do a revision with SwaLint before the first stable release of SqueakDBX and I don't know how to install and use it.

here, a short synopsis.
You need
       - a Squeak Image >= 3.9
       - AST from SqueakMap
       - Refactoring Engine from SqueakMap (provides SmallLint, btw).
       - SwaLint form SqueakMap

Then, you should be able to find SwaLint in the open
Menu. (Or, do 'SwaLint open')

Usage as follows:
       - Select the categories to test in the leftmost pane
       (right-click gives you more advanced selection possibilities)
       - Select the classes to test in the right next pane
       (again, right-click gives you more advanced selection possibilities)
       - Select the test categories in the upper right pane
       - Select the actual tests to carry out in the lower right pane
       (again, right-click gives you more advanced selection possibilities)

       -Click "Configure" to set some preferences for the test
       (e.g., which SmallLint test shall show up)
       -Click "Run Tests" to run the tests

Then, a window should appear, presenting the test results.
- In the lower pane, right clicking will give you advanced sorting and selecting options
       You can browse the targets of the tests there, too
- Selecting in the upper panes selects, with tests/classes results will be shown


I hope this provides enough information to start using SwaLint.
Don't hesitate to ask further questions.

So long,
       -Tobias







Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: SwaLint

Mariano Martinez Peck
Tobias: I make get some time to try SwaLint. The truth is that for me, this is very user friendly, intuitive and easy to use. In addition, It is very customizable as you can modify your preferences with the tests. In fact, I was very surprised and glad with it.

Ahh I have some questions:

1) I see there is one test that checks the "length" of a method. I like to document and put all the necessary comments in my tests. So, in many tests, I get "long method" but actually most of those methods are comments with "". So, the questions is, can be comments ignored in this test?

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: "long methods" , right button, "browse all". And this opens the browser with all the classes that has the long method occurrences.

3) What does "Data class" mean ? are all the test detailed deeply somewhere ? like a webpage, wiki, or just SwaLint browser ?

4) What does "Dot after return consistency" mean ? I don't understand the % and when it is average, low or high.

Thanks a lot.

Cheers,

Mariano

On Wed, Jan 28, 2009 at 10:50 AM, Mariano Martinez Peck <[hidden email]> wrote:
Ok. Thanks a lot. I will then try it.

Cheers,

Mariano


On Wed, Jan 28, 2009 at 8:41 AM, Tobias Pape <[hidden email]> wrote:
Hello, Mariano

Am 2009-01-28 um 02:00 schrieb Mariano Martinez Peck:


Ok. Thanks. Let me know when It is up.

I will do.


I would like to do a revision with SwaLint before the first stable release of SqueakDBX and I don't know how to install and use it.

here, a short synopsis.
You need
       - a Squeak Image >= 3.9
       - AST from SqueakMap
       - Refactoring Engine from SqueakMap (provides SmallLint, btw).
       - SwaLint form SqueakMap

Then, you should be able to find SwaLint in the open
Menu. (Or, do 'SwaLint open')

Usage as follows:
       - Select the categories to test in the leftmost pane
       (right-click gives you more advanced selection possibilities)
       - Select the classes to test in the right next pane
       (again, right-click gives you more advanced selection possibilities)
       - Select the test categories in the upper right pane
       - Select the actual tests to carry out in the lower right pane
       (again, right-click gives you more advanced selection possibilities)

       -Click "Configure" to set some preferences for the test
       (e.g., which SmallLint test shall show up)
       -Click "Run Tests" to run the tests

Then, a window should appear, presenting the test results.
- In the lower pane, right clicking will give you advanced sorting and selecting options
       You can browse the targets of the tests there, too
- Selecting in the upper panes selects, with tests/classes results will be shown


I hope this provides enough information to start using SwaLint.
Don't hesitate to ask further questions.

So long,
       -Tobias








Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: SwaLint

Tobias Pape
Hello Mariano,

Am 2009-03-01 um 19:12 schrieb Mariano Martinez Peck:

> Tobias: I make get some time to try SwaLint. The truth is that for  
> me, this is very user friendly, intuitive and easy to use. In  
> addition, It is very customizable as you can modify your preferences  
> with the tests. In fact, I was very surprised and glad with it.

Thank you, in the name of my Team members. In fact, we are glad to  
here, that what we intended to accomplish actually works.
>
>
> Ahh I have some questions:

> 1) I see there is one test that checks the "length" of a method. I  
> like to document and put all the necessary comments in my tests. So,  
> in many tests, I get "long method" but actually most of those  
> methods are comments with "". So, the questions is, can be comments  
> ignored in this test?

In fact, we included comments intentionally. Albeit, I do not  
understand the "" command idea (please help me there).
Our reasoning was, commets normally serve the purpose of clarifying  
code, thus, if they were ommited, the code would not be easily  
understandable.
Therefore, we treat comments as code. IIRC, we assumed an "averagne"  
of 7 LOC per method in the beginning.
Yet, you might set your desired averange LOC in the Preferences.
>
> 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: "long methods" , right button, "browse all". And this opens  
> the browser with all the classes that has the long method occurrences.

Ok, this might be useful. Did I got this right there? You'd like to  
right click on the test group and browse all of them?
Currenetly, you can select multiple (or one, depending on your  
personal settings) "occurences" of test results and
right-click -> browse them all.
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
the tests selected.
>
>
> 3) What does "Data class" mean ? are all the test detailed deeply  
> somewhere ? like a webpage, wiki, or just SwaLint browser ?

This notion has been taken from Michele Lanza's and Radu Marinescu's  
nice book "Object-Oriented Metrics in Practice".
If you like to see the underlying metrics used to "calculate" the Data  
class, just enable them in the Preferences. You will
notice, that they are named after the ones described in the book.
Our mechanism of reusing results allows for simple creation of new  
Test Plugins. Just play around with them.
There has been plans to cover all Metrics described in the book,  
however, time is short and I'll be able to Implement them not before  
summer, I presume.

As you mention the Wiki, I'm looking forward to bring it up aroung mid  
March, again, or late March, depending on how my new server is running.
>
>
> 4) What does "Dot after return consistency" mean ? I don't  
> understand the % and when it is average, low or high.

Oh that's a nice one :)
This is a Style tests. It simply tests, how many returns are written

^ anObject aMessage

and how many are written

^ anObject aMessage.

Where 100% is "all with" and 0% "all without" dot after return.
Thus, 50% is the worst value you can get in this test, as it implies,  
that every second return statement
is written in the opposing style.
>
>
> Thanks a lot.

You're welcome.
>

Have a nice day
        -Tobias



PGP.sig (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: SwaLint

Mariano Martinez Peck


Ahh I have some questions:

1) I see there is one test that checks the "length" of a method. I like to document and put all the necessary comments in my tests. So, in many tests, I get "long method" but actually most of those methods are comments with "". So, the questions is, can be comments ignored in this test?

In fact, we included comments intentionally. Albeit,
 
I do not understand the "" command idea (please help me there).

Sorry. What's what you don't understand ? I dont' understand what you didn't understand hahaaha. I give you an exampple (the firstone I found):

<code>
executeDDLScript: aDDLScript
"Its very common you need to execute a complete DDL script: create, drop or alter tables. In these cases, you don't have any interesting results from each query. In such a case, you should use this method. Remember SqueakDBX doesn'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.
This message doesn't use the multistatements option of openDBX, it is all done by SqueakDBX so you don't have to care about it''"

    | ddlStatements |
    ddlStatements := aDDLScript findTokens: self platform queryDelimiter.
    ddlStatements
        do: [:ddlStatement | self execute: ddlStatement]
 </code>


 
Our reasoning was, commets normally serve the purpose of clarifying code, thus, if they were ommited, the code would not be easily understandable.
Therefore, we treat comments as code. IIRC, we assumed an "averagne" of 7 LOC per method in the beginning. 

I am not totaly agree, bt doesn't matter. Very clear your answer,
 


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: "long methods" , right button, "browse all". And this opens the browser with all the classes that has the long method occurrences.

Ok, this might be useful. Did I got this right there? You'd like to right click on the test group and browse all of them?

EXACTLY. I don'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't worth it. 

Currenetly, you can select multiple (or one, depending on your personal settings) "occurences" of test results and
right-click -> browse them all.

Exactly. For all of test I did that. I don't know it was the esasiest way. So, because of this, I imagine 2)   :)

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
the tests selected.



3) What does "Data class" mean ? are all the test detailed deeply somewhere ? like a webpage, wiki, or just SwaLint browser ?

This notion has been taken from Michele Lanza's and Radu Marinescu's nice book "Object-Oriented Metrics in Practice".
If you like to see the underlying metrics used to "calculate" the Data class, just enable them in the Preferences. You will
notice, that they are named after the ones described in the book.
Our mechanism of reusing results allows for simple creation of new Test Plugins. Just play around with them.
There has been plans to cover all Metrics described in the book, however, time is short and I'll be able to Implement them not before summer, I presume.

Ok, perfect. Thanks!
 

As you mention the Wiki, I'm looking forward to bring it up aroung mid March, again, or late March, depending on how my new server is running.

Excellent news!



4) What does "Dot after return consistency" mean ? I don't understand the % and when it is average, low or high.

Oh that's a nice one :)
This is a Style tests. It simply tests, how many returns are written

^ anObject aMessage

and how many are written

^ anObject aMessage.

Where 100% is "all with" and 0% "all without" dot after return.
Thus, 50% is the worst value you can get in this test, as it implies, that every second return statement
is written in the opposing style.


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 ?
 


Thanks a lot.

You're welcome.


Have a nice day
       -Tobias






Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: SwaLint

Tobias Pape
Hello Mariano,

sorry for the late reply, I have been busy  the last weeks.

Am 2009-03-03 um 23:08 schrieb Mariano Martinez Peck:
>
[…]

>
> Sorry. What's what you don't understand ? I dont' understand what  
> you didn't understand hahaaha. I give you an exampple (the firstone  
> I found):
>
> <code>
> executeDDLScript: aDDLScript
> "Its very common you need to execute a complete DDL script: create,  
> drop or alter tables. In these cases, you don't have any interesting  
> results from each query. In such a case, you should use this method.  
> Remember SqueakDBX doesn'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.
> This message doesn't use the multistatements option of openDBX, it  
> is all done by SqueakDBX so you don't have to care about it''"
>
>     | ddlStatements |
>     ddlStatements := aDDLScript findTokens: self platform  
> queryDelimiter.
>     ddlStatements
>         do: [:ddlStatement | self execute: ddlStatement]
>  </code>
So, now I get it. In fact, I understood your question the way, that  
you put empty comments
into your code, as in:

aMessage
        ""

        self anotherMessage; aThirdMessage: true.


Which would not make sense to me.
   Regarding your example method, in my humble opinion, this is a  
large methos even though
it is long only due its comment. I (or wie in that case) as SwaLint  
developers thought that
7 lines average in a class would fit smalltalk style and should cope  
with small getter/setters
and rather lagre initializer.
   Well, I presume this average wouldnt fit for you, so simply change  
it in the preferences. In
fact, it is merely a matter of taste and/or style, so don't hesitate  
to change if it don't fit for you.

[…]
> > Ok, this might be useful. Did I got this right there? You'd like  
> to right click on the test group and browse all of them?
>
> EXACTLY. I don'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't  
> worth it.

I consider it a useful feature. Yet, currently my time to work on  
SwaLint is fairly limitied,
so please dont expect it before summer.

>
> > Currenetly, you can select multiple (or one, depending on your  
> personal settings) "occurences" of test results and
> > right-click -> browse them all.
>
> Exactly. For all of test I did that. I don't know it was the  
> esasiest way. So, because of this, I imagine 2)   :)

Point taken.

[…]

>
> >> 3) What does "Data class" mean ? are all the test detailed deeply  
> somewhere ? like a webpage, wiki, or just SwaLint browser ?
> >
> > This notion has been taken from Michele Lanza's and Radu  
> Marinescu's nice book "Object-Oriented Metrics in Practice".
> > If you like to see the underlying metrics used to "calculate" the  
> Data class, just enable them in the Preferences. You will
> > notice, that they are named after the ones described in the book.
> > Our mechanism of reusing results allows for simple creation of new  
> Test Plugins. Just play around with them.
> > There has been plans to cover all Metrics described in the book,  
> however, time is short and I'll be able to Implement them not before  
> summer, I presume.
>
> Ok, perfect. Thanks!
You're welcome.

> > As you mention the Wiki, I'm looking forward to bring it up aroung  
> mid March, again, or late March, depending on how my new server is  
> running.
>
> Excellent news!

It depends. It actually depends, on some frineds of mine in this case,  
because theyre
don't get settled buying the server *getting_nervous* ;)

>
> >> 4) What does "Dot after return consistency" mean ? I don't  
> understand the % and when it is average, low or high.
> >
> > Oh that's a nice one :)
> > This is a Style tests. It simply tests, how many returns are written
> >
> >  ^ anObject aMessage
> >
> > and how many are written
> >
> > ^ anObject aMessage.

> > Where 100% is "all with" and 0% "all without" dot after return.
> > Thus, 50% is the worst value you can get in this test, as it  
> implies, that every second return statement
> > is written in the opposing style.
>

> 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 ?

The latter. Its "just" about style consistency.

Have a nice weekend,
        -Tobias




PGP.sig (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Re: SwaLint

Mariano Martinez Peck


On Fri, Mar 13, 2009 at 10:04 AM, Tobias Pape <[hidden email]> wrote:
Hello Mariano,

sorry for the late reply, I have been busy  the last weeks.

better late than never ;)
 

Am 2009-03-03 um 23:08 schrieb Mariano Martinez Peck:

[…]


Sorry. What's what you don't understand ? I dont' understand what you didn't understand hahaaha. I give you an exampple (the firstone I found):

<code>
executeDDLScript: aDDLScript
"Its very common you need to execute a complete DDL script: create, drop or alter tables. In these cases, you don't have any interesting results from each query. In such a case, you should use this method. Remember SqueakDBX doesn'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.
This message doesn't use the multistatements option of openDBX, it is all done by SqueakDBX so you don't have to care about it''"

   | ddlStatements |
   ddlStatements := aDDLScript findTokens: self platform queryDelimiter.
   ddlStatements
       do: [:ddlStatement | self execute: ddlStatement]
 </code>

So, now I get it. In fact, I understood your question the way, that you put empty comments
into your code, as in:

aMessage
       ""

       self anotherMessage; aThirdMessage: true.


Which would not make sense to me.
 Regarding your example method, in my humble opinion, this is a large methos even though
it is long only due its comment. I (or wie in that case) as SwaLint developers thought that
7 lines average in a class would fit smalltalk style and should cope with small getter/setters
and rather lagre initializer.
 Well, I presume this average wouldnt fit for you, so simply change it in the preferences. In
fact, it is merely a matter of taste and/or style, so don't hesitate to change if it don't fit for you.

Ok. I will do that.
 

[…]

> Ok, this might be useful. Did I got this right there? You'd like to right click on the test group and browse all of them?

EXACTLY. I don'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't worth it.

I consider it a useful feature. Yet, currently my time to work on SwaLint is fairly limitied,
so please dont expect it before summer.


I am not hurry at all :)
 


>> 4) What does "Dot after return consistency" mean ? I don't understand the % and when it is average, low or high.
>
> Oh that's a nice one :)
> This is a Style tests. It simply tests, how many returns are written
>
>  ^ anObject aMessage
>
> and how many are written
>
> ^ anObject aMessage.

> Where 100% is "all with" and 0% "all without" dot after return.
> Thus, 50% is the worst value you can get in this test, as it implies, that every second return statement
> is written in the opposing style.


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 ?

The latter. Its "just" about style consistency.


Ok, excellent.


Have a nice weekend,
       -Tobias

The same to you, thanks



12