CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Oct 2, 2024 in 54s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Code Health of new files: 9.89
- Declining Code Health: 1 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Complex Method iasi_ng_l2_nc.py: IASINGL2NCFileHandler.register_available_datasets
Annotations
Check warning on line 232 in satpy/readers/iasi_ng_l2_nc.py
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Complex Method
IASINGL2NCFileHandler.register_available_datasets has a cyclomatic complexity of 10, threshold = 9. 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