Open JaCoCo report in Intellij IDEA

后端 未结 2 682
故里飘歌
故里飘歌 2020-12-30 20:32

I am trying to find dead code on our application by using a code coverage tool (rather a static code analysis tool). I have chosen JaCoCo and am able to get a report thanks

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-30 20:51

    Found the solution. I have installed the coverage plugin and the EclEmma plugin (not sure if this one is really necessary...). Then "Analyse -> Show Coverage Data..." and pick your Jacoco output file. This file HAS to have the .exec extension, otherwise you can't select it. That was my problem...

    Thanks

提交回复
热议问题