[ https://issues.apache.org/jira/browse/GROOVY-11604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17941430#comment-17941430 ]
ASF GitHub Bot commented on GROOVY-11604: ----------------------------------------- codecov-commenter commented on PR #2180: URL: https://github.com/apache/groovy/pull/2180#issuecomment-2781835701 ## [Codecov](https://app.codecov.io/gh/apache/groovy/pull/2180?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 68.8731%. Comparing base [(`f78a7f5`)](https://app.codecov.io/gh/apache/groovy/commit/f78a7f5ce2c4ece31d5ce121debaeb388b3ba43f?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to head [(`68b98c9`)](https://app.codecov.io/gh/apache/groovy/commit/68b98c9c8e9f065b55a6b36e30f3c17c90bd0eb3?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache). <details><summary>Additional details and impacted files</summary> [](https://app.codecov.io/gh/apache/groovy/pull/2180?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## master #2180 +/- ## ================================================== + Coverage 68.8723% 68.8731% +0.0008% - Complexity 29566 29573 +7 ================================================== Files 1421 1421 Lines 113725 113728 +3 Branches 19717 19716 -1 ================================================== + Hits 78325 78328 +3 + Misses 28789 28788 -1 - Partials 6611 6612 +1 ``` | [Files with missing lines](https://app.codecov.io/gh/apache/groovy/pull/2180?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | |---|---|---| | [.../codehaus/groovy/runtime/DefaultGroovyMethods.java](https://app.codecov.io/gh/apache/groovy/pull/2180?src=pr&el=tree&filepath=src%2Fmain%2Fjava%2Forg%2Fcodehaus%2Fgroovy%2Fruntime%2FDefaultGroovyMethods.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-c3JjL21haW4vamF2YS9vcmcvY29kZWhhdXMvZ3Jvb3Z5L3J1bnRpbWUvRGVmYXVsdEdyb292eU1ldGhvZHMuamF2YQ==) | `74.1058% <100.0000%> (+0.0238%)` | :arrow_up: | ... and [5 files with indirect coverage changes](https://app.codecov.io/gh/apache/groovy/pull/2180/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> > Add returnEarly boolean variant for DGM#chop > -------------------------------------------- > > Key: GROOVY-11604 > URL: https://issues.apache.org/jira/browse/GROOVY-11604 > Project: Groovy > Issue Type: Improvement > Reporter: Paul King > Priority: Major > Labels: breaking > > To support these two differing behaviors: > {code:groovy} > assert ['a', 'b', 'c', 'd', 'e'].chop(false, 1, 2, 3, 3, 3) == [['a'], ['b', > 'c'], ['d', 'e'], [], []] > assert ['a', 'b', 'c', 'd', 'e'].chop(true, 1, 2, 3, 3, 3) == [['a'], ['b', > 'c'], ['d', 'e']] > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)