zhz shi
2015-08-14 05:16:28 UTC
Hi,
We're using AspectJ in our project and also Jacoco for test coverage
report, currently we're facing an issue that due to AspectJ changed the
byte code during compiling phase, which makes the code coverage report not
correct. One example is due to AspectJ adds extra if-else statement, then
the branch coverage shows something like 1/4 but actually there's no
condition branch in the source code. Is there some good way to tell Jacoco
to ignore all code generated by AspectJ?
I also created an issues 335 <https://github.com/jacoco/jacoco/issues/335> on
Github and posted an question on SO
<http://stackoverflow.com/questions/32001843/jacoco-code-coverage-is-affected-by-aspectj>
.
Thanks a lot.
We're using AspectJ in our project and also Jacoco for test coverage
report, currently we're facing an issue that due to AspectJ changed the
byte code during compiling phase, which makes the code coverage report not
correct. One example is due to AspectJ adds extra if-else statement, then
the branch coverage shows something like 1/4 but actually there's no
condition branch in the source code. Is there some good way to tell Jacoco
to ignore all code generated by AspectJ?
I also created an issues 335 <https://github.com/jacoco/jacoco/issues/335> on
Github and posted an question on SO
<http://stackoverflow.com/questions/32001843/jacoco-code-coverage-is-affected-by-aspectj>
.
Thanks a lot.
--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/e96a08b4-8c44-469a-b32b-52f013e57bbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/e96a08b4-8c44-469a-b32b-52f013e57bbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.