Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Test Coverage with Sonar
Test Coverage with Sonar [message #1033496] Thu, 04 April 2013 09:32 Go to next message
Morten Jenssen is currently offline Morten JenssenFriend
Messages: 1
Registered: April 2013
Junior Member
Hello,

Not sure if this would be the right place, but here goes.

We are using Hudson Ci with Sonar for reporting test coverage, amongst other things.
My question is why does Sonar report lack of test coverage on lines containing only brackets, blank lines, annotations and so on...?

Might be a problem outside of Hudson, but maybe someone here knows.


Thanks in advance

Morten
Re: Test Coverage with Sonar [message #1034719 is a reply to message #1033496] Fri, 05 April 2013 20:24 Go to previous messageGo to next message
Bob Foster is currently offline Bob FosterFriend
Messages: 74
Registered: January 2013
Member
It's supposed to use NCSS (non-comment source statements) which do not include blank lines, brackets. E.g., the example in http://pmd.sourceforge.net/pmd-4.3/rules/codesize.html

If it doesn't, it would be a problem outside of Hudson, but I'm interested, too, if anyone else has this experience?
Re: Test Coverage with Sonar [message #1037344 is a reply to message #1034719] Tue, 09 April 2013 12:49 Go to previous message
Christian Schulz is currently offline Christian SchulzFriend
Messages: 25
Registered: March 2013
Junior Member
I suggest you to write a mail to the sonar user mailing list.
There you can reach the author of the hudson plugin.
Previous Topic:Hudson build all SVN revision since last build
Next Topic:Aborting SVN checkout locks workspace
Goto Forum:
  


Current Time: Sun Nov 23 09:54:17 GMT 2014

Powered by FUDForum. Page generated in 0.02019 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software