CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Jan 29, 2025 in 45s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: -0.42 (10.00 -> 9.58)
- Declining Code Health: 1 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Complex Method ChatConversation.tsx: ChatConversation
Annotations
Check warning on line 85 in web/src/components/ChatConversation.tsx
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Complex Method
ChatConversation has a cyclomatic complexity of 15, threshold = 10. This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring.
Loading