Skip to main content



      Home
Home » Archived » Hudson » Test Coverage with Sonar
Test Coverage with Sonar [message #1033496] Thu, 04 April 2013 05:32 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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: Thu Jul 03 19:22:18 EDT 2025

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

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

Back to the top