|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[ANN] Sonar SIG Maintainability Model Plugin 0.1 is availableThe Sonar team is pleased to announce the release 0.1 of the SIGMM plugin. This plugin is an implementation of the Software Improvement Group (SIG) Maintainability Model. The SIGMM objective is to evaluate the maintainability of a project.
A big thank to Roland Schmaderer for his important contribution to the plugin. The documentation, changes log and jar file are available on the plugin page [1]. Enjoy ! - The Sonar Team [1] http://docs.codehaus.org/display/SONAR/SIG+MM+Plugin |
|
|
Checkstyle issues JUnitTestCase and suppression filtersHi,
i have some Checkstyle issues. In all cases I imported a checkstyle config in Sonar and exported it. In Sonar configuration and in the export the following was missing: 1. rule JUnitTestCase is missing (defined since Checkstyle 3.2) -> maybe related to / to fix with http://jira.codehaus.org/browse/SONAR-1193 ? shall I add a comment there or create a new issue? 2. SuppressionCommentFilter does not use parameters (e.g. offCommentFormat) 3. SuppressWithNearbyCommentFilter is missing -> will this both be treated in http://jira.codehaus.org/browse/SONAR-738 ? if yes, with which release could it come? shall I add a comment there? Harald --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
AW: Checkstyle issues JUnitTestCase and suppression filtersAnd one more issue: In an exported Checkstyle file the <module name="FileLength"/> is under the <module name="TreeWalker">. This leads to an exception if trying to run with Checkstyle. FileLength has to be directly in the root module <module name="Checker">. No direct problem of Sonar, but interesting if you want to align the configuration in your developer's IDEs and in Sonar. All tested with eclipse Ganymede and eclipse-cs 5.0.1 Harald -----Ursprüngliche Nachricht----- Von: Goettlicher Harald (AA-DGP/ESI2) [mailto:Harald.Goettlicher@...] Gesendet: Mittwoch, 14. Oktober 2009 16:27 An: user@... Betreff: [sonar-user] Checkstyle issues JUnitTestCase and suppression filters Hi, i have some Checkstyle issues. In all cases I imported a checkstyle config in Sonar and exported it. In Sonar configuration and in the export the following was missing: 1. rule JUnitTestCase is missing (defined since Checkstyle 3.2) -> maybe related to / to fix with http://jira.codehaus.org/browse/SONAR-1193 ? shall I add a comment there or create a new issue? 2. SuppressionCommentFilter does not use parameters (e.g. offCommentFormat) 3. SuppressWithNearbyCommentFilter is missing -> will this both be treated in http://jira.codehaus.org/browse/SONAR-738 ? if yes, with which release could it come? shall I add a comment there? Harald --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: Checkstyle issues JUnitTestCase and suppression filtersHi Harald,
On Wed, Oct 14, 2009 at 4:26 PM, Goettlicher Harald (AA-DGP/ESI2) <Harald.Goettlicher@...> wrote: 1. rule JUnitTestCase is missing (defined since Checkstyle 3.2) You can create a new feature ticket. In fact, all PMD (SONAR-1076) and Checkstyle rules which analyze unit test source code are not yet available. 2. SuppressionCommentFilter does not use parameters (e.g. offCommentFormat) You mean that you want to personalize the tags used to ignore Checkstyle violations ? I'm not big fan of such personalisation which are used by only 5% of users but potentially impact all the users. But perhaps I've missed a point ? 3. SuppressWithNearbyCommentFilter is missing Indeed, feel free to comment SONAR-738 and vote for it. regards, Freddy |
|
|
AW: Checkstyle issues JUnitTestCase and suppression filtersHi Freddy,
thanks for your comments 1. rule JUnitTestCase is missing (defined since Checkstyle 3.2) -> maybe related to / to fix with http://jira.codehaus.org/browse/SONAR-1193 ? shall I add a comment there or create a new issue? > You can create a new feature ticket. In fact, all PMD (SONAR-1076) and Checkstyle rules > which analyze unit test source code are not yet available. OK, ticket created... http://jira.codehaus.org/browse/SONAR-1208 2. SuppressionCommentFilter does not use parameters (e.g. offCommentFormat) > You mean that you want to personalize the tags used to ignore Checkstyle > violations ? I'm not big fan of such personalisation which are used by only > 5% of users but potentially impact all the users. But perhaps I've missed a point ? You are right, generally I'm also no friend of such customziations. But in this case, I had the idea to check for e.g. "CHECKSTYLE\:OFF.{10,}", that means I use the default tag, but it is mandatory to write something behind it, i. e. why you suppressed the check. But for now I can do without ;-) 3. SuppressWithNearbyCommentFilter is missing -> will this both be treated in http://jira.codehaus.org/browse/SONAR-738 ? if yes, with which release could it come? shall I add a comment there? > Indeed, feel free to comment SONAR-738 and vote for it. Done. 4. In an exported Checkstyle file the <module name="FileLength"/> is under the <module name="TreeWalker">. This leads to an exception if trying to run with Checkstyle. FileLength has to be directly in the root module <module name="Checker">. In fact this seems to be a new issue with CS 5.0, don't know why they changed it. Could be done in http://jira.codehaus.org/browse/SONAR-403 I added a comment there... Regards, Harald --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |