javadoc in getters and setters

View: New views
4 Messages — Rating Filter:   Alert me  

javadoc in getters and setters

by Alvim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi!

 

Is there an easy way to avoid getters and setters in javadoc/comment statistics?

 

Paulo Alvim

Powerlogic AS - Brazil

55 (31) 3555-0050

 


Re: javadoc in getters and setters

by Freddy Mallet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Paulo,

Getters and setters are not considered as public documented API and should not impact javadoc/comment statistics.

Could you provide a simple example ?

regards,
Freddy


On Sat, Oct 31, 2009 at 7:33 AM, Paulo Alvim <alvim@...> wrote:

Hi!

 

Is there an easy way to avoid getters and setters in javadoc/comment statistics?

 

Paulo Alvim

Powerlogic AS - Brazil

55 (31) 3555-0050

 



RES: javadoc in getters and setters

by Alvim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Thanks Freddy,

 

Do you mean that I can just use the “public documented API” instead of “Comments”? What else the “public documented API” excludes?

 

My first statistics are bellow:

 

 

De: Freddy Mallet [mailto:freddy.mallet@...]
Enviada em: sábado, 31 de outubro de 2009 11:17
Para: user@...
Assunto: Re: [sonar-user] javadoc in getters and setters

 

Hi Paulo,

Getters and setters are not considered as public documented API and should not impact javadoc/comment statistics.

Could you provide a simple example ?

regards,
Freddy

On Sat, Oct 31, 2009 at 7:33 AM, Paulo Alvim <alvim@...> wrote:

Hi!

 

Is there an easy way to avoid getters and setters in javadoc/comment statistics?

 

Paulo Alvim

Powerlogic AS - Brazil

55 (31) 3555-0050

 

 



Re: javadoc in getters and setters

by Olivier Gaudin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Paulo,

Here is a pointer to the metrics definition : http://docs.codehaus.org/display/SONAR/Metric+definitions

In your case : Number of public classes, public methods (without accessors) and public properties (without public final static ones)

Olivier



On Sat, Oct 31, 2009 at 10:08 AM, Paulo Alvim <alvim@...> wrote:

Thanks Freddy,

 

Do you mean that I can just use the “public documented API” instead of “Comments”? What else the “public documented API” excludes?

 

My first statistics are bellow:

 

 

De: Freddy Mallet [mailto:freddy.mallet@...]
Enviada em: sábado, 31 de outubro de 2009 11:17
Para: user@...
Assunto: Re: [sonar-user] javadoc in getters and setters

 

Hi Paulo,

Getters and setters are not considered as public documented API and should not impact javadoc/comment statistics.

Could you provide a simple example ?

regards,
Freddy

On Sat, Oct 31, 2009 at 7:33 AM, Paulo Alvim <alvim@...> wrote:

Hi!

 

Is there an easy way to avoid getters and setters in javadoc/comment statistics?

 

Paulo Alvim

Powerlogic AS - Brazil

55 (31) 3555-0050