Conversation
PR Review: Add new players chart routeCode Quality and Best Practices🟡 Duplicated logic —
// event/common.ts (existing, unchanged)
function calculateChange(count: number, lastEvent: EventData | undefined): number {
const previousCount = lastEvent?.count ?? 0
if (previousCount === 0) return count
return (count - previousCount) / previousCount
}The extracted utility is never used to replace this existing duplicate. Either update 🟡
Potential Bugs or Issues🔵 When Performance, Security, Test CoverageNo issues found. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #834 +/- ##
===========================================
+ Coverage 95.69% 95.73% +0.03%
===========================================
Files 379 382 +3
Lines 5919 5950 +31
Branches 766 770 +4
===========================================
+ Hits 5664 5696 +32
Misses 149 149
+ Partials 106 105 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
84b4e5f to
b8e5458
Compare
b8e5458 to
50de8a6
Compare
No description provided.