newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
202 stars 143 forks source link

AIM: Cleanup and bug fix #1899

Closed jasonjkeller closed 5 months ago

jasonjkeller commented 5 months ago

Mostly just formatting but also one potential bug fix related to using the correct message index when calculating token usage.

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.66%. Comparing base (2e42bc8) to head (e68d4d6). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1899 +/- ## ============================================ - Coverage 70.68% 70.66% -0.03% + Complexity 9878 9857 -21 ============================================ Files 828 826 -2 Lines 39850 39804 -46 Branches 6065 6062 -3 ============================================ - Hits 28169 28126 -43 + Misses 8952 8951 -1 + Partials 2729 2727 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.