[ 
https://issues.apache.org/jira/browse/GROOVY-12095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097176#comment-18097176
 ] 

ASF GitHub Bot commented on GROOVY-12095:
-----------------------------------------

codecov-commenter commented on PR #2716:
URL: https://github.com/apache/groovy/pull/2716#issuecomment-5006241916

   ## 
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/2716?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 Report
   :x: Patch coverage is `86.88525%` with `8 lines` in your changes missing 
coverage. Please review.
   :white_check_mark: Project coverage is 69.1530%. Comparing base 
([`b9a3822`](https://app.codecov.io/gh/apache/groovy/commit/b9a3822a2b24ec8a87101cd7b3c04b68683db504?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache))
 to head 
([`c58f7c0`](https://app.codecov.io/gh/apache/groovy/commit/c58f7c0e908b099e4c77383d75577f55408225c8?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
   
   | [Files with missing 
lines](https://app.codecov.io/gh/apache/groovy/pull/2716?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 | Patch % | Lines |
   |---|---|---|
   | 
[...g/codehaus/groovy/tools/groovydoc/TagRenderer.java](https://app.codecov.io/gh/apache/groovy/pull/2716?src=pr&el=tree&filepath=subprojects%2Fgroovy-groovydoc%2Fsrc%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftools%2Fgroovydoc%2FTagRenderer.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LWdyb292eWRvYy9zcmMvbWFpbi9qYXZhL29yZy9jb2RlaGF1cy9ncm9vdnkvdG9vbHMvZ3Jvb3Z5ZG9jL1RhZ1JlbmRlcmVyLmphdmE=)
 | 86.4407% | [3 Missing and 5 partials :warning: 
](https://app.codecov.io/gh/apache/groovy/pull/2716?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 |
   
   <details><summary>Additional details and impacted files</summary>
   
   
   
   [![Impacted file tree 
graph](https://app.codecov.io/gh/apache/groovy/pull/2716/graphs/tree.svg?width=650&height=150&src=pr&token=1r45138NfQ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/groovy/pull/2716?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   
   ```diff
   @@                Coverage Diff                 @@
   ##               master      #2716        +/-   ##
   ==================================================
   + Coverage     69.1438%   69.1530%   +0.0092%     
   - Complexity      34327      34346        +19     
   ==================================================
     Files            1538       1538                
     Lines          129611     129656        +45     
     Branches        23580      23591        +11     
   ==================================================
   + Hits            89618      89661        +43     
   - Misses          31950      31955         +5     
   + Partials         8043       8040         -3     
   ```
   
   | [Files with missing 
lines](https://app.codecov.io/gh/apache/groovy/pull/2716?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
 | Coverage Δ | |
   |---|---|---|
   | 
[...us/groovy/tools/groovydoc/PreLanguageRewriter.java](https://app.codecov.io/gh/apache/groovy/pull/2716?src=pr&el=tree&filepath=subprojects%2Fgroovy-groovydoc%2Fsrc%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftools%2Fgroovydoc%2FPreLanguageRewriter.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LWdyb292eWRvYy9zcmMvbWFpbi9qYXZhL29yZy9jb2RlaGF1cy9ncm9vdnkvdG9vbHMvZ3Jvb3Z5ZG9jL1ByZUxhbmd1YWdlUmV3cml0ZXIuamF2YQ==)
 | `58.8235% <100.0000%> (+1.2478%)` | :arrow_up: |
   | 
[...s/groovy/tools/groovydoc/SimpleGroovyClassDoc.java](https://app.codecov.io/gh/apache/groovy/pull/2716?src=pr&el=tree&filepath=subprojects%2Fgroovy-groovydoc%2Fsrc%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftools%2Fgroovydoc%2FSimpleGroovyClassDoc.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LWdyb292eWRvYy9zcmMvbWFpbi9qYXZhL29yZy9jb2RlaGF1cy9ncm9vdnkvdG9vbHMvZ3Jvb3Z5ZG9jL1NpbXBsZUdyb292eUNsYXNzRG9jLmphdmE=)
 | `83.3984% <ø> (ø)` | |
   | 
[...g/codehaus/groovy/tools/groovydoc/TagRenderer.java](https://app.codecov.io/gh/apache/groovy/pull/2716?src=pr&el=tree&filepath=subprojects%2Fgroovy-groovydoc%2Fsrc%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftools%2Fgroovydoc%2FTagRenderer.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3VicHJvamVjdHMvZ3Jvb3Z5LWdyb292eWRvYy9zcmMvbWFpbi9qYXZhL29yZy9jb2RlaGF1cy9ncm9vdnkvdG9vbHMvZ3Jvb3Z5ZG9jL1RhZ1JlbmRlcmVyLmphdmE=)
 | `71.0490% <86.4407%> (+1.1533%)` | :arrow_up: |
   
   ... and [6 files with indirect coverage 
changes](https://app.codecov.io/gh/apache/groovy/pull/2716/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
   </details>
   <details><summary> :rocket: New features to boost your workflow: </summary>
   
   - :snowflake: [Test 
Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, 
report on failures, and find test suite problems.
   - :package: [JS Bundle 
Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save 
yourself from yourself by tracking and limiting bundle sizes in JS merges.
   </details>




> Code in groovydoc does not display correctly
> --------------------------------------------
>
>                 Key: GROOVY-12095
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12095
>             Project: Groovy
>          Issue Type: Bug
>          Components: groovy-groovydoc
>    Affects Versions: 6.0.0-alpha-1
>            Reporter: Daniel Sun
>            Priority: Major
>         Attachments: image-2026-06-22-00-29-39-966.png
>
>
> Let's take a look at javadoc of {{groovy.concurrent.AsyncScope}} first:
> {code:java}
> /**
>  *
>  * <pre>{@code
>  * def results = AsyncScope.withScope { scope ->
>  *     def userTask  = scope.async { fetchUser(id) }
>  *     def orderTask = scope.async { fetchOrders(id) }
>  *     return [user: await(userTask), orders: await(orderTask)]
>  * }
>  * // Both tasks guaranteed complete here
>  * }</pre> 
>  *
>  */
> {code}
> As we can see, groovydoc generates {{</CODE>}} at the wrong place shown as 
> follows:
> {code:html}
>  <pre class="language-groovy"><code><CODE>def results = AsyncScope.withScope 
> { scope -&gt;
>      def userTask  = scope.async { fetchUser(id) </CODE>
>      def orderTask = scope.async { fetchOrders(id) }
>      return [user: await(userTask), orders: await(orderTask)]
>  }
>  // Both tasks guaranteed complete here
>  }</code></pre>
> {code}
>  
> Also, {{<code>...</code>}} and {{<CODE>...</CODE>}} are redundant too.
> Here is the result rendered in chrome:
> !image-2026-06-22-00-29-39-966.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to