[
https://issues.apache.org/jira/browse/ARTEMIS-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16070385#comment-16070385
]
ASF GitHub Bot commented on ARTEMIS-1265:
-----------------------------------------
Github user dudaerich commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/1380#discussion_r125081553
--- Diff: docs/hacking-guide/en/code-coverage-report.md ---
@@ -0,0 +1,37 @@
+# Code coverage report
+
+## Getting JaCoCo exec files
+
+Before you can generate code coverage report by JaCoCo tool,
+you need to get data about what lines of code were executed
--- End diff --
No, coverage reports are not generated always. Later in the paragraph it is
written that you have to run tests with `jacoco` maven profile to generate the
data. The profile is also used in the example command below the text.
> JaCoCo profile for getting code coverage report
> -----------------------------------------------
>
> Key: ARTEMIS-1265
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1265
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Affects Versions: 1.5.5, 2.1.0
> Reporter: Erich Duda
>
> JaCoCo \[1\] is a free code coverage library for Java. Code coverage is
> useful metric for revealing untested areas of code.
> \[1\] www.jacoco.org/jacoco/
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)