G. Ann Campbell (JIRA | 2 Sep 22:59 2014

[jira] (SONARFLEX-12) Rule: "Use variable in for loop condition"

G. Ann Campbell commented on an issue
SonarQube Flex / SONARFLEX-12
Rule: "Use variable in for loop condition"
The stop condition of a for loop should be invariant (predefined local variable) and should not be the result of a function call.

{quote}
The for loop condition should only depend on fixed variables, not object size of method calls
{quote}

{code}
for(var i : Number = 0 ; i < array.length ; i++) // ISSUE : should store the value
  { ...
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

G. Ann Campbell (JIRA | 2 Sep 21:38 2014

[jira] (SONARJAVA-637) Improve documentation of S00119/BadTypeParamenter Name

G. Ann Campbell commented on an issue
SonarQube Java / SONARJAVA-637
Improve documentation of S00119/BadTypeParamenter Name
Documentation is unprecise about the why of such a rule.
The idea is that in a case like :

{code}
class A<DOC> {
   void method(DOC doc){
     //some logic...
   }
}
{code}

You are not really sure if DOC is a type parameter or a type with poor naming.
Moreover, java developers are used to see type parameters with only one letter.
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Alix Lourme (JIRA | 2 Sep 20:43 2014

[jira] (SONARJAVA-70) Rule "UndocumentedAPI": public methods should not be considered as undocumented when inherited and/or when the annotation <at> override is not used

Alix Lourme edited a comment on an issue
SonarQube Java / SONARJAVA-70
Rule "UndocumentedAPI": public methods should not be considered as undocumented when inherited and/or when the annotation <at> override is not used
When I override a public method, I am not expecting that I should comment it.
When a public method is deprecated, I am not expecting that I should comment it
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Nicolas Peru (JIRA | 2 Sep 18:06 2014

[jira] (SONARGROOV-15) Support full analysis of a mavenized Grails project

Nicolas Peru moved an issue
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Nicolas Peru (JIRA | 2 Sep 18:06 2014

[jira] (SONARGROOV-16) Run FindBugs against Groovy compiled code

Nicolas Peru moved an issue
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Nicolas Peru (JIRA | 2 Sep 18:06 2014

[jira] (SONARGROOV-14) Sonar doesn't show source for JUnit tests written in Groovy (Spock)

Nicolas Peru moved an issue
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Nicolas Peru (JIRA | 2 Sep 18:06 2014

[jira] (SONARGROOV-13) Associate rules with suitable "constant/issue", "linear" and "linear with offset" remediation cost functions

Nicolas Peru moved an issue
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Nicolas Peru (JIRA | 2 Sep 18:06 2014

[jira] (SONARGROOV-10) Detect Groovy dead commented code

Nicolas Peru moved an issue
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Nicolas Peru (JIRA | 2 Sep 18:06 2014

[jira] (SONARGROOV-12) Cobertura report parser should log a message if a file is not found

Nicolas Peru moved an issue
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Nicolas Peru (JIRA | 2 Sep 18:06 2014

[jira] (SONARGROOV-11) Change key of CodeNarc rules repository

Nicolas Peru moved an issue
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Nicolas Peru (JIRA | 2 Sep 18:06 2014

[jira] (SONARGROOV-8) Cobertura Report Parser is not using the correct resource key

Nicolas Peru moved an issue
This message was sent by Atlassian JIRA (v6.1.6#6162-sha1:7af547c)

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email


Gmane