You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jdaugherty (via GitHub)" <gi...@apache.org> on 2026/09/01 18:06:24 UTC

[I] #Groovy: code coverage ignores code in closure [grails-intellij-plugin]

jdaugherty opened a new issue, #130:
URL: https://github.com/apache/grails-intellij-plugin/issues/130

   Using Groovy in Grails framework.
   
   When I have a code inside a closure, that code is not covered in results of the code coverage. The number of these lines of code is missing in the final percentage and also, these lines are marked red in the column with line numbers, as it were not tested.
   ```
   1. myClosure(myParam) {
   2. callMyFunction()
   3. }
   ```
   Line 2 will not be counted.
   
   ---
   
   *Imported from [IDEA-109085](https://youtrack.jetbrains.com/issue/IDEA-109085) · Type: Bug · Votes: 1*
   *Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@grails.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org