Does JaCoCo support velocity

138 views
Skip to first unread message

djy...@gmail.com

unread,
Nov 1, 2016, 3:54:01 PM11/1/16
to JaCoCo and EclEmma Users
Does JaCoCo support velocity so I can check what branch coverage in code I changed?

Marc R. Hoffmann

unread,
Nov 1, 2016, 5:29:43 PM11/1/16
to jac...@googlegroups.com
Hi,

sorry for my stupid question: What do you mean by "velocity"?

Coverage on changed code is supported in combination with SonarQube.

Regards,
-marc

djy...@gmail.com

unread,
Nov 1, 2016, 5:34:46 PM11/1/16
to JaCoCo and EclEmma Users
Let me provide with example:

You have code with 4 branches and 3 or them is covered so branch coverage is 3/4 = 75%. Then you make a change and added 2 branches with just 1 branch covered. So velocity coverage is 1/2 = 50% and my question is if JaCoCo supports that metric?
It's kind of diff coverage.

Marc R. Hoffmann

unread,
Nov 1, 2016, 5:43:10 PM11/1/16
to jac...@googlegroups.com
Hi,

JaCoCo does not support any coverage comparison between different
versions of source code.

As mentioned before SonarQube supports code coverage on changed code
(with JaCoCo). You might ask them whether this specific feature is
available: http://www.sonarqube.org/get-support/

Regards,
-marc
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages