grails-code-coverage icon indicating copy to clipboard operation
grails-code-coverage copied to clipboard

Plugin is not working for 2.5.4

Open lthur opened this issue 9 years ago • 1 comments

Hi, hope you are well!

I think I'm facing an issue, I'm using grails 2.5.4, code-coverage:2.0.3-3 for measuring coverage but I'm not seeing the report generated correctly.

I have a Controller that has 100% of lines covered, but 20% of branch coverage. I do not have any conditionals in the Controller, and the report shows me that I'm NOT covering a return of a Map

I've attached an image to be more clear.

captura de pantalla 2016-12-23 a las 16 42 52

Note: I have disabled the AST-Tranformation.

Any ideas on this? Thank you

lthur avatar Dec 23 '16 19:12 lthur

That is just a limitation of groovy with the current coverage tools. There isn't anything I know you can do to fix this. If you find a solution that works for groovy and a coverage tool we could apply it here.

beckje01 avatar Dec 31 '16 02:12 beckje01