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 05:32 Go to next message
Morten Jenssen is currently offline Morten Jenssen
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 16:24 Go to previous messageGo to next message
Bob Foster is currently offline Bob Foster
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 08:49 Go to previous message
Christian Schulz is currently offline Christian Schulz
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: Sat Aug 30 18:41:14 EDT 2014

Powered by FUDForum. Page generated in 0.01796 seconds