[
https://issues.apache.org/jira/browse/GROOVY-11814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18042065#comment-18042065
]
ASF GitHub Bot commented on GROOVY-11814:
-----------------------------------------
codecov-commenter commented on PR #2350:
URL: https://github.com/apache/groovy/pull/2350#issuecomment-3599986216
##
[Codecov](https://app.codecov.io/gh/apache/groovy/pull/2350?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 67.0011%. Comparing base
([`bf8b837`](https://app.codecov.io/gh/apache/groovy/commit/bf8b83772aa842b00d3e6f43ea189a6753cdb08a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache))
to head
([`d5e7372`](https://app.codecov.io/gh/apache/groovy/commit/d5e73725b44b947a7745aa7fffacf44adef22a96?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 3 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
[](https://app.codecov.io/gh/apache/groovy/pull/2350?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ Coverage Diff @@
## master #2350 +/- ##
==================================================
- Coverage 67.0039% 67.0011% -0.0028%
+ Complexity 29351 29350 -1
==================================================
Files 1382 1382
Lines 116629 116619 -10
Branches 20444 20444
==================================================
- Hits 78146 78136 -10
Misses 32046 32046
Partials 6437 6437
```
| [Files with missing
lines](https://app.codecov.io/gh/apache/groovy/pull/2350?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/transform/ToStringASTTransformation.java](https://app.codecov.io/gh/apache/groovy/pull/2350?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Ftransform%2FToStringASTTransformation.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3RyYW5zZm9ybS9Ub1N0cmluZ0FTVFRyYW5zZm9ybWF0aW9uLmphdmE=)
| `84.6154% <100.0000%> (+0.3297%)` | :arrow_up: |
... and [4 files with indirect coverage
changes](https://app.codecov.io/gh/apache/groovy/pull/2350/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>
> ToString transform should be enum aware
> ---------------------------------------
>
> Key: GROOVY-11814
> URL: https://issues.apache.org/jira/browse/GROOVY-11814
> Project: Groovy
> Issue Type: Bug
> Reporter: Paul King
> Priority: Major
>
> Although it may not be common to use @ToString for an enum, it is supported:
> {code:groovy}
> @ToString(includeNames = true)
> enum Foo {
> Bar(prop: 'val1'), Baz(prop: 'val2')
> final String prop
> }
> {code}
> The current behavior has the classname hard-coded and produces:
> {code:groovy}
> println Foo.Bar // Foo(prop:val1)
> println Foo.Baz // Foo(prop:val2)
> {code}
> The suggested behavior is:
> {code:groovy}
> println Foo.Bar // Bar(prop:val1)
> println Foo.Baz // Baz(prop:val2)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)